I'm doing some tests with a brand new Ubuntu Server 11.10 installation.
I installed postfix and courier-pop for pop3 and, from what I could gather, it looks like courier doesn't support mbox filetype but only Maildir format.
So I've created a user with his home in /home/username
, with maildirmake.courier I created the directory structure in /var/mail/username
and set the correct rights and owner.
I sent some test mail to the new account and all works like a charm. Postfix created the new email in /var/mail/username/new
The problem is that I can't download the email via pop3 without creating a symbolic link from /home/username/Maildir
to /var/mail/username/
.
Now, the problem is that not all users have their own home folder, so the symlink thing won't obviously work.
This is the directory set in /etc/postfix/main.cf
:
mail_spool_directory = /var/mail/
and this is for the courier's conf file:
MAILDIRPATH=Maildir
I tried to change to something like /var/mail/
or /var/mail/$USER
but didn't work either.
I'm probably missing something in courier-pop's configuration.
Any ideas?