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">http://library.linode.com/email/postfix/dovecot-mysql-ubuntu-10.04-lucid

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

$ 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.

3 Replies

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:

    mail_plugins = sieve
    global_script_path = /home/vmail/globalsieverc

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.

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 http://forum.linode.com/viewtopic.php?f=11&t=9047 and I got it to work. Good luck!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct