On 26 Apr 2008 at 22:46, Davide Libenzi wrote:

> On Thu, 24 Apr 2008, Oliver Stöneberg wrote:
> > > On Tue, 22 Apr 2008, CLEMENT Francis wrote:
> > > 
> > > > Seems there was some post about this.
> > > > 
> > > > The BIG figure is when the final domain have multiple mx servers.
> > > > Suppose the final domain have two mx and one is misconfigured and return
> > > > a 5xx.
> > > > So if xmail tries first the 'bad' server, what to do next ?
> > > > 
> > > > On a atomic try/retry cycle, you have two choices :
> > > > 1 - don't try others mx and send back an NDR to the sender
> > > > 2 - Try the others reminding MX for this try/retry cycle, and send back
> > > > an NDR ONLY AND ONLY IF all mx return a 5xx, else schedule a normal
> > > > retry cycle (that will retry on each mx).
> > > > 
> > > > I think option 2 is better :)
> > > > 
> > > > Could Davide tell us how xmail handles the 5xx with multiple mx ?
> > > 
> > > As far as smtprelay goes, a failure (of whatever type), means try the 
> > > next 
> > > server in the list.
> > 
> > That's why I wrote a mail, because it makes no sense to continue in 
> > the case of a permanent error.
> > 
> > Is there a way to configure XMail with multiple domains and stop when 
> > you get a permanent error?
> 
> I remember there was a discussion or something, time ago. But now I can't 
> remember. It seems sane to me that a 5xx error stops the processing, and 
> I'll schedule this for change.
> Speak now or forever hold your peace, in case you rely on XMail re-trying 
> even upon 5xx ...

Looking at RFC2821 I can't really make out what is intended to happen 
in this situation. It seems ok to stop and send an NDR, or that the 
server that gave the 5xx response should not be retried but other 
servers MAY be tried. So I'd say go for option (2) as most robust 
method.

 
David

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to