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

We are moving some mailboxes and servers. I'm looking for a way to use remote delivery (with normal MX lookup) instead of local delivery ONLY for authenticated users, in Qmail.

  • connection to port 25 without auth => allow delivery to local Maildir for
  • connection to port 25 with auth => use remote delivery for all messages

I tried to play with smtproutes conf file, but this file is ignored by Qmail, when the domain is known as local because it exists in virtualdomains ...

Thanks for any idea ! Olivier

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.