I'm using Debian 6, Postfix 2.9.6 and I want to avoid using MySQL for this, if possible. Here is the appropriate part from main.cf
virtual_alias_domains = example1.com example2.com
virtual_alias_maps = hash:/etc/postfix/virtual
/etc/postfix/virtual is as follows:
example@example1.com example@example3.com
@example2.com example@example3.com
If I remove the second line, there is no problem but the desired functionality is gone. If it's there, postfix silently crashes as soon as it starts up. Using example@example1.com,@example2.com example@example3.com
has the same result. Here's what I mean:
# postfix start
postfix/postfix-script: starting the Postfix mail system
# postfix status
postfix/postfix-script: the Postfix mail system is not running
# /etc/init.d/postfix start
[ ok ] Starting Postfix Mail Transport Agent: postfix.
# /etc/init.d/postfix status
[ ok ] postfix is not running.
Last error in /var/log/mail.log is from July 4th so that's not helpful either.
Is this even possible without MySQL?
EDIT: strace postfix start
prints out the text in this paste
EDIT 2: postfix check
, sh -x postfix start
and strace -f postfix start
results are here