[Dovecot] Migrating UW-POP3 mbox storage to Dovecot POP3 mbox storage

Rickard Svorén rickard at xpress.se
Thu Aug 11 16:05:16 EEST 2005


Hi 
 
We have an mailserver running RedHat Linux 9.0 with UW-IMAP (imap-2001a-
18.progeny.1.src.rpm), we have user mailboxes in /var/spool/mail/username 
using the default mbox storage method. 

Some users have home directories and some dont. They only connect through the 
POP3 server, not IMAP. 

We are now migrating both hardware and software to an new server running RHEL 
4, i have copied all user mbox files from the old RH9 server to the new RHEL 4 
server (/var/spool/mail) but when the users are trying to get their mail they 
can login but Dovecot is complaining about some IMAP dirs missing, see attached 
docs. I would like to still use POP3 and mbox with Dovecot, is this possible ? 
I would rather not have to change the user files.

Errors from /var/log/maillog:
Aug 11 13:25:15 newmail pop3-login: Login: user0001 [::ffff:82.237.232.61]
Aug 11 13:25:15 newmail pop3(user0001): mbox: Can't create root IMAP 
folder /local/home/user0001/mail: Permission denied
Aug 11 13:25:15 newmail pop3(user0001): Failed to create storage with data: 
mbox:/var/spool/mail/user0001
Aug 11 13:25:15 newmail dovecot: child 9371 (pop3) returned error 89

>From dovecot.conf:
#protocols = imap imaps
protocols = pop3

#default_mail_env =
default_mail_env = mbox:/var/spool/mail/%u


Best Regards, Rickard



More information about the dovecot mailing list