I think that's what he was doing - exiting 99 when the spam value was > 99%.
My ponderance was if there could be a way to reinject this ALREADY processed message for delivery, and cancel the other message silently. That would avoid calling it twice. I see his idea having value, as it would be nice to not even accept certain "known" spams rather than accepting them, delivering them, and so on... I'd be REALLY interested if this could be done globally instead of singly, and as I was mentioning, I'll work on doing that by adding it to gordon's valid sender filter perhaps... What do you think? m/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mirko Zeibig Sent: Thursday, November 27, 2003 12:06 AM To: [EMAIL PROTECTED] Subject: Re: [courier-users] Spamassasin, maildropfilter, and courier-mta integration On Wed, Nov 26, 2003 at 07:52:17AM -0800, Mitch (WebCob) wrote: > Not meaning to answer for Troy, but I don't think anything is "Wrong" with > this, but it doesn't do what Troy is doing... > > He's using localmailfilter as a recpt filter on mail acceptance - he runs > spamassassin on acceptance (i.e. before delivery) and rejects the mail if it > scores over "X" - so he doesn't get a queue full of bounces to bad addresses > with "your message was detected as spam" messages... BUT his problem I think > was that he had to run spamassassin twice - once on recpt and once in > delivery mode. I think there is not way out for him, then. As I understand it, localmailfilter code *is to be* invoked twice: - firstly as recipientfilter (even before the DATA-Command, so spamassassin would be a no-go here as it would only be able to check the MAIL FROM and RCPT TO data), - secondly as smtpfilter, that's the way Troy does it, but without a recipientfilter invoked previously exiting with a value of 99 IMHO there is no difference between using ~/.mailfilters/smtpfilter and ~/.mailfilter directly. Best Regards Mirko ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
