On 2006-11-22 15:27:19 -0800, James W. Abendschan wrote: > On Wed, 22 Nov 2006, John Peacock wrote: > > > As Matt suggested, it is almost certainly easier to write a queue plugin > > than to embed that functionality in the core. > > Ok, so before I go off and write my own, has anyone else already > written a queue plugin to rewrite (or drop) spamassassin-tagged messages?
Not exactly. I have changed the spamassassin plugin to do per-recipient
checks and
* return a temporary failure if the recipients disagree whether they
should accept or reject the message (this needs the cf_wrapper plugin
to handle the retransmits correctly)
* reject the message if it exceeds the reject_threshold for all
recipients
* munge the subject if it exceeds the munge_subject_threshold for at
least one of the recipients
I think it should be possible to extend cf_wrapper to handle more
general "disagreements" than "accept/reject", but its a rather
fundamental change, and I'm not sure that's the best solution.
Like Matt and John, I think it is easiest to just add the necessary
changes to a transaction note and rewrite the message in a queue
handler.
hp
--
_ | Peter J. Holzer | I know I'd be respectful of a pirate
|_|_) | Sysadmin WSR | with an emu on his shoulder.
| | | [EMAIL PROTECTED] |
__/ | http://www.hjp.at/ | -- Sam in "Freefall"
signature.asc
Description: Digital signature
