Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 =
virtual_alias_maps = hash:/etc/postfix/virtual

/etc/postfix/virtual is as follows:

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, 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

share|improve this question
Of course you can do it without mysql, but I've never ever known postfix to crash silently.. – NickW Jul 26 '13 at 10:46
try to run with debug enabled. You can get more info at – ALex_hha Jul 26 '13 at 11:09
@ALex_hha strace postfix start gives me a big bunch of text. I'll update that to the OP once I get my putty logs. – 3ventic Jul 26 '13 at 11:39
What about /etc/init.d/postfix check and sh -x /etc/init.d/postfix start? Also would be interesting to see output of the postconf -n. One more thing, could you repost output of the strace, but now add -f flag – ALex_hha Jul 26 '13 at 13:17
@ALex_hha check returns nothing at all. I'll add the others to the OP in a minute. – 3ventic Jul 26 '13 at 13:47
up vote 1 down vote accepted

As I see from the last output

bind(11, {sa_family=AF_INET, sin_port=htons(25), sin_addr=inet_addr("")}, 16) = -1 EADDRINUSE (Address already in use)

It seems that some process already have been listening port 25. You can check it with

# netstat -lanp | grep 25
# lsof -i tcp:25
share|improve this answer
Yes, indeed. Sendmail is running but.. apt-get removed it before installing postfix (?) – 3ventic Jul 26 '13 at 14:11
Yes, uninstall sendmail.… – Fox Jul 26 '13 at 15:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.