Now if we stop and think why are we doing this, it could possibly be handled by a few more simple TAB files, with either regex or wildcarding: badfrom.tab, badrecip.tab, badehlo.tab, badptr.tab. Make these just like spammers.tab or spam-address.tab. The only filter I can think of that would require to be called would be greylisting (http://projects.puremagic.com/greylisting/), which temp errors on unknown envelopes in attemp to discourage spammers. This too could be added as a function of Xmail.
I think the best use of envelope rejection are for things like greylisting or to reject tricks used by spammers but very infrequently by legit mailers. Too much envelope filtering and you end up denying legit mail rather than spam and content filtering is better suited to identify the difference (the more evidence the stronger the conviction). Thanks, Chuck Frolick ArgoLink.net P.S. If you really want to be able to handle all sorts of envelope rejection, I know Postfix can be made to do it, I've seen a couple of Postfix based gateway solutions. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harald Schneider Sent: Tuesday, February 03, 2004 12:17 PM To: [EMAIL PROTECTED] Subject: [xmail] AW: Re: AW: Re: AW: Re: AW: Re: SMTP Dialog Filter Hooks I see .. reading incoming DATA (including the header) and passing control to an extenal thread while buiffers are still receiving can be tricky. YOu're right. this one should be skipped and filtes should generally be implemented after each server reply, except data: EHLO --> AFTER_EHLO MAIL FROM: ... --> AFTER_MAIL_FROM RCPT TO: ... --> AFTER_RCPT_TO DATA From: ... To: ... ... ... ... Genrally, filters must not consume more time than a return from a subroutine, which checks if a filter is plugged in. Filters should also be able to overwrite XMail's resonses. Davide, what do you think about that ? --Harald - 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]