Talk:Complete Virtual Mail Server/Postfix to Database
| Talk status |
| |
This discussion is still ongoing. |
|---|
Actually 'testuser' was not used during this howto, I used it on my own production database, so some copy/paste/modify cycle may have gone wrong.
When I wrote this bit, I used an existing mail storage. As such, quota files where in each userdir and thus postfix vda may have gotten confused by this. Since at this stage, quota support isn't configured yet, e.g. postfix doesn't know how or where to check for them, things may get messed up. Enabling quota's as described later, it works as expected. Obviously disabling quota's all together will work just as well, as postfix won't care about quota's.
postfix/main.cf
$myhostname is needed for sending mail to gmx users, otherweise gmx bounces with: Sorry, your helo has been denied. 550 5.7.1 (http://portal.gmx.net/serverrules ) (in reply to RCPT TO command)
but, $myhhostname needs to be excluded from $mydestination, postfix bounced everything and gave the following error: postfix/trivial-rewrite[15109]: warning: do not list domain [DOMAIN] in BOTH mydestination and virtual_mailbox_domains