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

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 mydomain.com
  • 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

 
discard

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

Browse other questions tagged or ask your own question.