On Tue, Oct 12, 1999 at 06:44:34AM -0700, Rich Aldridge wrote:
> mailtraq package to send mail via our outgoing server, he gets a 553
> status code from the server. He has requested that we return a 471 or
> 571 code instead. I reckon that "toying" with these codes may not be a
> good idea as other packages may depend on them. What does anyone else
> think, and are there any other solutions ?
553 is the return code used by qmail-smtpd to indicate:
- sorry, your envelope sender is in my badmailfrom list
- sorry, that domain isn't in my list of allowed rcpthosts
I don't see any problems in changing this to a 451 which is defined in
RFC821 as "Requested action aborted: error in processing" which is
considered as a temporary failure.
This gives you the chance to check for configuration errors (missing
host/domain in rcpthosts file or wrong entry in badmailfrom). This
implies that you log and periodically check for this kind of errors
in your logfiles.
It has the disadvantage that even if the failure is correct and wanted
the remote mail server will retry the message for some time (usually 7
to 14 days) and put some more load on your smtp server.
I didn't find any reference to 471 in RFC821 (but I haven't the update
RFC to 821 at hand). Same for 571, but that wouldn't really make any
difference to 553 as 5xy are defined as "Permanent Negative Completion reply".
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | Yeah, yo mama dresses
Research & Development | mailto:[EMAIL PROTECTED] | you funny and you need
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | a mouse to delete files
D-80807 Muenchen | Fax: +49 (89) 32356-299 |