Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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