[Mimedefang] Is there a way to change "To:" header?

Richard Cooper richard.cooper at dagroupplc.com
Mon Jun 21 07:17:42 EDT 2004


We use Outlook here (as you can tell by my top post:)) and we just add the X-Spam-Score header if the spam threshold is crossed. I'm sure this is the default behaviour in the sample filter and Outlook has not problems filtering on it.

		if ($hits >= $req) {
                action_change_header("X-Spam-Score", "$hits ($score) $names");
            }

Its true you can't match on arbitrary headers so the actual score in the header is just a nicety for reference, but if Mimedefang does the thresholding for you its not an issue.

cheers
Ric

> -----Original Message-----
> From: Jeff Rife [mailto:mimedefang at nabs.net]
> Sent: 18 June 2004 22:30
> To: mimedefang at lists.roaringpenguin.com
> Subject: [Mimedefang] Is there a way to change "To:" header?
> 
> 
> Our users have MS Outlook as the e-mail client, so they can't 
> match on 
> abitrary headers.  There are some political issues with changing the 
> subject on false positives, especially when it is then 
> replied to and the 
> original sender sees we think they are a SPAMmer.
> 
> So, my idea was to add an innocuous name to the "To:" header. 
>  Since this 
> is not used by sendmail to do any delivery (the envelope 
> recipients are 
> used instead), I think it is safe, and Outlook *can* filter on it.
> 
> The question is: how?
> 
> MIMEDefang exposes a global variable $Subject that makes 
> adding to the 
> subject easy, but I can't find anything similar for other 
> headers.  I'm 
> not a Perl guru, though, so I might have missed the setting in 
> mimedefang.pl.
> 
> 
> --
> Jeff Rife        |  Sam: How's life treatin' you, Norm? 
> SPAM bait:       |  
> AskDOJ at usdoj.gov | Norm: Well, Sammy, it's not...so I sure 
> uce at ftc.gov      |       hope you are. 
> 
> 
> _______________________________________________
> Visit http://www.mimedefang.org and http://www.canit.ca
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
> 

-- 
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.

If you have received this email in error please notify the
originator of the message. This footer also confirms that this
email message has been scanned for the presence of computer viruses.

Any views expressed in this message are those of the individual
sender, except where the sender specifies and with authority,
states them to be the views of DA Group.



More information about the MIMEDefang mailing list