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
virtual_alias_domains = example1.com example2.com virtual_alias_maps = hash:/etc/postfix/virtual
/etc/postfix/virtual is as follows:
email@example.com firstname.lastname@example.org @example2.com email@example.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
firstname.lastname@example.org,@example2.com email@example.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?
strace postfix start prints out the text in this paste
sh -x postfix start and
strace -f postfix start results are here