I have noticed in my logs that Postfix cannot send emails to local accounts.
postfix/local[12775]: warning: maildir access problem for UID/GID=33/33: create maildir file /var/www/Maildir/tmp/1492097290.P12775.FQDN: Permission denied
postfix/local[12775]: warning: perhaps you need to create the maildirs in advance
postfix/local[12775]: 56ABC81A28: to=<www-data@FQDN>, relay=local, delay=0.02, delays=0/0.01/0/0.01, dsn=5.2.0, status=bounced (maildir delivery failed: create maildir file /var/www/Maildir/tmp/1492097290.P12775.FQDN: Permission denied)
postfix/qmgr[8037]: 56ABC81A28: removed
I have virtual domains configured, and they work correctly. I am able to successfully send emails from one account to another.
How to change the local delivery options of Postfix to another directory other than the /var/www/
?