How to change location of Maildir/ in postfix mail system
Posted
by
adesh
on Server Fault
See other posts from Server Fault
or by adesh
Published on 2013-10-19T09:11:41Z
Indexed on
2013/10/19
9:56 UTC
Read the original article
Hit count: 411
I'm using Postfix with imap and pop servers running on ubuntu linux. I want to change the the location of Maildir folder from user's home directory to some other shared folder so that all mail is in one place.
I also have problem sending local mails to users who does not have a home directory (e.g. www-data), the system users created by default. I'm getting the following error.
postfix/local[32123]: DCE1D221BBD: to=<www-data@********>, orig_to=<www-data>, relay=local, delay=33, delays=33/0/0/0.12, dsn=5.2.0, status=bounced (maildir delivery failed: create maildir file /var/www/Maildir/tmp/1382169296.P32123.********: Permission denied)
I'd like to have a folder structure similar to this: /all-mail/<user-name>/<mail-goes-here>
© Server Fault or respective owner