[Mimedefang] When do added headers become visible?

Nels Lindquist nlindq at maei.ca
Fri Jun 18 18:46:35 EDT 2004


On 18 Jun 2004 at 16:57, David F. Skoll wrote:

> On Fri, 18 Jun 2004, Mike Batchelor wrote:
> 
> > I'm trying to add a X-Is-A-Bounce: 1 header to emails with a null sender,
> > so that a custom SpamAssassin rule can use that header to help decide
> > whether the message is a bounce or not.

<snip>
 
> If you want SpamAssassin to actually see the header, you need to re-write
> INPUTMSG, something like this but with error checking:

<snip>

> and then call SpamAssassin.  As you can imagine, this is rather expensive.

I know it's kind of an ugly kluge, but why not insert the desired 
header in spam_assassin_mail (in mimedefang.pl), where there are 
already several headers being added prior to the SA check?  It 
wouldn't be significantly *more* expensive, would it?

----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.



More information about the MIMEDefang mailing list