Talk:Complete Virtual Mail Server/Postfix to Database

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

MySQL
I'm adding the MySQL configuration to the wikki. I would like your opinion of something. 1. Add MySQL after PostgreSQL subparagraphs or; 2. Add MySQL paragraph and PostgreSQL paragraph and then cover the whole configuration? There are two way of doing this. The first is what I'm doing now. elmar283 08-06-2014