Hi! I've encountered problems concerning mails DISCARDed by amavis. Some mailers (e.g. SurfControl RiskFilter) will interpret the SMTP status code 254 used by amavis as a temporary error.
I suppose that the reason for this is that status code 254 is not defined by RFC2821. While 2yz states a "Positive Completion reply" and x5z correctly corresponds to the category "Mail system", the actually used code of 254 is not mentioned explicitly. [1] Concerning new status codes, the RFC suggests: -------------------- 8< -------------------- On the other hand, the reply codes must strictly follow the specifications in this section. Receiver implementations should not invent new codes for slightly different situations from the ones described here, but rather adapt codes already defined. -------------------- 8< -------------------- Although section 4.2.5 suggests that any 2yz code in reply to a DATA command transfers responsibility for mail-delivery to the receiver, maybe using the existing code 250 and thus sending "250 2.7.0 Ok, discarded ..." whould be a safer way of signalling that the mail will be accepted but discarded. Cheers, --leo [1] RFC2821: http://tools.ietf.org/html/rfc2821#section-4.2 -- e-mail ::: Alexander.Bergolth (at) wu-wien.ac.at fax ::: +43-1-31336-906050 location ::: Computer Center | Vienna University of Economics | Austria ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
