Lindsay Haisley wrote:
> While I'm at it, Gordon, I extend my sincere thanks to you for your work
> on courier-pythonfilter and its modules.

You're quite welcome.

> On Mon, 2008-12-22 at 14:11 -0800, Gordon Messmer wrote:
>> Adding the SA headers in the filter doesn't prevent you 
>> from running SA again during local delivery and doesn't change the score 
>> you'll get from doing so.
> 
> Yes, it may well change the score since the per-mailbox Bayes filter may
> be more (or less) well educated than the global one...

I apologize if I was unclear.  I meant that adding the headers in the 
global filter won't change the score that you'll get when you run SA for 
each user.  The scores of the second scan should be the same regardless 
of whether or not you add the headers earlier on.

It seems reasonable to scan the message twice in order to provide 
per-user settings; I'm not suggesting that you drop that.

> I really don't
> know how SA behaves if one runs something through it twice, and it sees
> its own headers the 2nd time through.

Unless something has changed, it ignores spamassassin style headers in 
order to prevent senders from adding them and influencing the score.

> Blacklisting will still require SA to be run twice, of course, since
> there's no reliable (logically consistent) way to implement this at a
> global level per-mailbox.

Yep.  About your only option is to behave like Sophos' PureMessage, 
which scans the message once per recipient, with that recipient's 
preferences, and inject a new copy of the scanned message into the 
queue.  The original is discarded.  I believe it could be configured to 
report success or failure to the sender in the event that at least one 
recipient refused the message.  It's been a while since I used it, so I 
don't remember clearly.  A courier filter could do the same thing, but 
the implementation would be somewhat longer than the one I've included.

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to