[Mimedefang] Pseudo-headers for calling SA

Philip Prindeville philipp_subx at redfish-solutions.com
Wed Apr 5 15:38:05 EDT 2006


Matthew.van.Eerde at hbinc.com wrote:

>Philip Prindeville wrote:
>  
>
>>When Mimedefang calls SA, what pseudo-headers does it generate
>>in the message and where in the code does it insert them?
>>    
>>
>
>See the spam_assassin_mail sub in mimedefang.pl
>
>  
>
>>I was wondering about the recipients being inserted...
>>    
>>
>
>They're inserted as
>	Apparently-To: foo at example, baz at example
>iff you set $AddApparentlyToForSpamAssassin = 1 in mimedefang-filter
>
>  
>
>>I see where the "Return-Path:" gets generated, but not the recipient
>>list...
>>    
>>
>
>Return-Path, Received, Apparently-To, and To are all added in spam_assassin_mail
>
>Return-Path and Received are always added
>Apparently-To is only added if you set $AddApparentlyToForSpamAssassin
>To is only added as
>	To: undisclosed-recipients:;
>iff there is no To header already
>
>  
>

A couple of suggestions...

First, could we name all of the SA related stuff to SA*?

Like "SAAddApparentlyTo" for instance instead?

And secondly, why isn't this on by default?  You lose the functionality
of the blacklist_to command in SA without it...

-Philip




More information about the MIMEDefang mailing list