Wednesday, January 30, 2013

replace uw-imapd with dovecot

Because of the problems with corrputed mailboxes or mails when accesing the debian mailserver with uw-imapd from the iPhone i decieded to switch to dovecot.

The installation was easy. After starting aptitude i chose dovecot-imapd and aptitude removed the old uw-imapd automatical.
For authentication the dovecot uses linux logins and passwords, so nothing must be changed.
The mails were stored from uw-imapd here:


So the mails were directly in the home directory.
I creat a subdirectory called "mail" and moved every directory and mbox file into it.
Now the mails were here:


Then i modified these two lines at /etc/dovecot/dovecot.conf:

mail_location = mbox:~/mail/:INBOX=/var/mail/%u
mail_full_filesystem_access = yes

After this the eMail Server works fine with dovecot.

1 comment:

  1. Problems with dovecot are not easy to fix. See here for mark email threads