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 need to set-up an autoresponder domain-wide. I can not use .qmail-default because many of the accounts already have forwards in place. I am trying to determine if there might be a way to do this through simcontrol or some alternate method.

This is on a linux server running qmail.

Note: I am aware of how to set up autoresponders for single accounts.

share|improve this question

I'm making a couple guesses about what you're ultimately trying to do. It sounds like you want to catch messages that aren't addressed to legitimate users and respond to those with some canned response.

When qmail can not find an account to deliver to, it will deliver to the alias user whose home directory is typically /var/qmail/alias (if you followed Life With qmail). Within the alias directory, you can create .qmail-default to perform the auto response.

If instead, you're trying to provide an auto response when you're updating the server and want to catch both existing and non-existing users, then you could accomplish it with a two phase approach. Use the virtualdomains file to map your incoming domain to a particular user. This particular user would have a .qmail-default providing the auto response. When your ready to restore e-mail delivery, reset virtualdomains not to map to the user, send the signal to qmail and delivery will continue as normal.

Please let me know if you had another intent for the auto-response.

share|improve this answer

Your Answer


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