Thus spake Sam Varshavchik on Fri, Feb 03, 2006 at 04:40:02PM CST > Dave Platt writes: > > >Unless I'm missing something, a 45x temporary-error reply at the > >completion of the DATA phase is both reasonable and acceptable under > >RFC 2821. If that is indeed the case, then I would appeal to Sam > >to roll a change into the next version of Courier to actually permit > >smtpfilter scripts to echo back a 45x error code, just as the > >rcptfilter scripts can already do. > > And one of the two recipients of the same message will now be able to > prevent the other guy from getting his mail.
This is only true if per-recipient content filtering is in place, since the SMTP dialog can only return _one_ response after the DATA phase of an SMTP session. A 45x error makes sense after the DATA phase for a local condition such as drive full, as noted, but no error, neither a 4xx or a 5xx, can be returned after the DATA phase based on any per-recipient condition. This is why courier emits its (rather obscure) errors about recipients whitelisted or not whitelisted after the MAIL TO phase. I've had to explain this whole issue a number of times to my customers, who are allowed to turn their content filtering on or off on a per-mailbox basis. -- Lindsay Haisley | "Fighting against human | PGP public key FMP Computer Services | creativity is like | available at 512-259-1190 | trying to eradicate | <http://pubkeys.fmp.com> http://www.fmp.com | dandelions" | | (Pamela Jones) | ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
