On 2/3/2010 5:16 AM, Mark Martinec wrote:
A basic problem with running SpamAssassin at a MTA level (like through a milter) is that a message may have multiple recipients, yet spam checking is typically done only once per message, not once per recipient. This rules out possibilities like having per-recipient scores, or score limit, or rules, etc - without special precautions, like handling per-recipient scoring outside of SpamAssassin, or calling SA once for each recipient, or splitting mail into single-recipient copies first. I'm not sure how mimedefang handles multi-recipient messages. You may be better asking your question on the mimedefang list.
Though not enabled in the example filter, MD has a stream_by_recipient() function to handle such setups.
/Jason