Qmail
[Top] [All Lists]

Re: Question about Qmail relating to MX retry processing

To: qmail@list.cr.yp.to
Subject: Re: Question about Qmail relating to MX retry processing
From: Marc Perkel <marc@perkel.com>
Date: Fri, 24 Nov 2006 21:57:43 -0800
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <20061125041044.GA19046@discworld.dyndns.org>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <45676987.2050808@perkel.com> <456789E5.3000508@gatworks.com> <45678E43.5030508@perkel.com> <45679170.1040203@gatworks.com> <45679726.9080600@perkel.com> <20061125041044.GA19046@discworld.dyndns.org>
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)


Charles Cazabon wrote:
Marc Perkel <marc@perkel.com> wrote:
  
But Qmail won't send the email to the backup MX?
    

Not if it is able to make a tcp connection to a higher-priority/lower-distance
one.

  
There's a spec - everyone else follows the spec - except qmail.
    

Your assertion is incorrect.  Re-read RFC 974:

  If the list of MX RRs is not empty, the mailer should try to deliver the
  message to the MXs in order (lowest preference value tried first).  The
  mailer is required to attempt delivery to the lowest valued MX.
  Implementors are encouraged to write mailers so that they try the MXs in
  order until one of the MXs accepts the message, or all the MXs have been
  tried.

Only trying the lowest-distance MX is permitted.  If you think otherwise,
you're discarding mail, and you've got no noe to blame but yourself.

If you want to make your hare-brained scheme work, don't accept the connection
in the first place, rather than accepting it and not accepting the message.

Charles
  

What that is saying is if your app is so braindead that it can only tru one IP then ise the lowest but if you want to do it right you try them all. Every other MTA other than qmail does it right.

So - why not have a configuration option allowing you to CHOOSE what way you want to do it. That way people who want their qmail to act like all the other MTAs can SELECT that is they want it?

<Prev in Thread] Current Thread [Next in Thread>