[Dovecot] doesn't work at all

Stan Hoeppner stan at hardwarefreak.com
Thu Jul 19 08:53:17 EEST 2012


On 7/18/2012 5:21 PM, David Drexler wrote:
> Hi,
> 
> I can't seem to get dovecot to work.  When I connect with thunderbird,
> tbird complains that it can't find the settings for my email.  When I
> connect with evolution, it seems to go through all the motions but it
> doesn't pick up the waiting messages.  Those messages are marked Status: O
> s if it had read them.
> 
> The log file for tbird looks like this:
> 
> Jul 18 17:03:21 why dovecot: imap-login: Aborted login (no auth attempts):
> rip=68.12.110.134, lip=184.176.6.227

Tbird isn't attempting to authenticate.  Match your Tbrid settings to
those you've configured in Dovecot auth.

> Jul 17 19:46:17 why dovecot: imap(ddrex): Error: Next message unexpectedly
> corrupte
> d in mbox file /var/mail/ddrex at 1504

The user mbox file is corrupted.  Fix that and Ev may work.  Usually the
problem is that a single "F" has been prepended to "From", which is the
delimiter between emails in the file.  If that's the case you can fix it
with vi/vim etc, by deleting the leading "F".  Search for "FFrom",
delete leading F, save file.

If it's beyond this, and you're not concerned with the contents of the
file, simply delete the mbox file and let Dovecot create a new one.

> My conf file:
> 
> # 2.0.9: /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.32-220.23.1.el6.x86_64 x86_64 CentOS release 6.2 (Final)
> base_dir = /var/run/dovecot/
> imap_client_workarounds = "delay-newmail  "

Why are you using this workaround?  It's not needed for Tbird or
Evolution.

> listen = *
> mail_debug = yes
> mail_location = mbox:~/mail:INBOX=/var/mail/%u
> mail_privileged_group = mail
> mbox_very_dirty_syncs = yes
> mbox_write_locks = fcntl
> passdb {
>   driver = pam
> }
> pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
> protocols = imap pop3
> service imap-login {
>   vsz_limit = 64 M
> }
> service pop3-login {
>   vsz_limit = 64 M
> }
> ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
> ssl_key = </etc/pki/dovecot/private/dovecot.pem
> userdb {
>   driver = passwd
> }
> --------------------------------------------------------------------
> 
> Thanks for any clues.
> 
> dd
> 




More information about the dovecot mailing list