Linode Forum
https://forum.linode.com/

Dovecot not working, no instructions for Ubuntu 12.04 LTS
https://forum.linode.com/viewtopic.php?f=11&t=9902
Page 1 of 1

Author:  MDesigner [ Sat Mar 23, 2013 4:27 am ]
Post subject:  Dovecot not working, no instructions for Ubuntu 12.04 LTS

Hey guys,

I followed these instructions to the letter:
http://library.linode.com/email/postfix ... 0.04-lucid

Dovecot is not working. It says it's starting, but it's really not:

Code:
$ sudo service dovecot start
dovecot start/running, process 3180
$ ps ax|grep dovecot
 3185 pts/0    S+     0:00 grep --color=auto dovecot


Telnetting to localhost pop3 or imap confirms this. Any help would be appreciated.

Author:  MDesigner [ Sat Mar 23, 2013 5:13 am ]
Post subject:  Re: Dovecot not working, no instructions for Ubuntu 12.04 LT

Well, that was silly of me. The files are now dovecot-sql.conf.ext. But the code you paste into dovecot.conf still reference the old name, dovecot-sql.conf. I fixed that, now all is well.

Also IMPORTANT: these lines must be removed from the "protocol lda" block:

Code:
    mail_plugins = sieve
    global_script_path = /home/vmail/globalsieverc

Author:  sunnyjassal [ Mon Mar 25, 2013 4:34 pm ]
Post subject:  Re: Dovecot not working, no instructions for Ubuntu 12.04 LT

Hi! I ran into the same problem and have been researching this issue. Apparently the problem is the version for Dovecot. From what I have read these instructions are for the previous version. However, I am curious as to how you got this to work. I followed your solution by pointed the conf file to .ext and also removed the lines you mentioned. At this point I got some success in running service dovecot restart. However something is still wrong I get the results below:

/var/log/mail.log and /var/log/mail.err are both empty

dovecot-deliver.log file under /home/vmail produces:
2013-03-25 13:05:25 lda: Fatal: Internal error occurred. Refer to server log for more information.
2013-03-25 13:15:25 lda: Error: userdb lookup(myusername@mydomainname.com): Disconnected unexpectedly


telnet localhost pop3 results:

Connected to localhost.domainname.com.
Escape character is '^]'.
Connection closed by foreign host.

Any help in this matter would be greatly appreciated.

Author:  sunnyjassal [ Thu Mar 28, 2013 5:45 pm ]
Post subject:  Re: Dovecot not working, no instructions for Ubuntu 12.04 LT

Just for anyone searching for this issue. This issue is because the instructions are for Dovecot 1.x. Current version is 2.x. I uninstalled everything and then followed instructions on viewtopic.php?f=11&t=9047 and I got it to work. Good luck!

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/