On 2006-11-23 01:43:36 +0100, Peter J. Holzer wrote: > 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 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.
I didn't think that through: While it's fairly simple for the plugin
which does the final delivery to queue a different message for each
recipient I don't see how this could be done in a modular way, i.e., a
plugin which uses the queue hook to modify the message for each
recipient and then still leaves queuing to queue/qmail, queue/postfix,
etc.
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
