UNSUBSCRIBE

-----Original Message-----
From: Philip Prindeville [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 05, 2006 10:52 AM
To: users@spamassassin.apache.org
Subject: Re: Filtering based on the recipients

Philip Prindeville wrote:

>Matt Kettler wrote:
>
>  
>
>>[EMAIL PROTECTED] wrote:
>> 
>>
>>    
>>
>>>Matt Kettler wrote:
>>> 
>>>   
>>>
>>>      
>>>
>>>>[It] has no access to the message envelope, only the headers and
>>>>body, so this information isn't accessible to SA.
>>>>   
>>>>     
>>>>
>>>>        
>>>>
>>>Well, unless you add an Apparently-To header in the MTA prior to
calling SpamAssassin.  MIMEDefang has an $AddApparentlyToForSpamAssassin
variable you can set to 1 in mimedefang-filter for this.
>>>
>>>I assume SpamAssassin uses this header?
>>>
>>> 
>>>   
>>>
>>>      
>>>
>>Yes, but I've never seen an "Apparently-To" implementation that listed
>>all the recipients of a multi-recipient message...
>>
>>All the implementations I've seen add this after the message has been
>>split up and only the current recipient is added, which doesn't help.
We
>>are trying to detect one which has a BCC to another user.
>> 
>>
>>    
>>
>
>Exactly.
>
>I'm using Sendmail and Mimedefang 2.56 if that helps any.  Looking at
>spam_assassin_mail() in Mimedefang, I see:
>
>    if ($AddApparentlyToForSpamAssassin and
>        ($#Recipients >= 0)) {
>        push(@sahdrs, "Apparently-To: " .
>             join(", ", @Recipients) . "\n");
>    }
>
>Are you sure the value of @Recipients is fragmented at this point?
>
>-Philip
>
>  
>

Oh, never mind.  Hadn't yet caught up with all of the comments.

Regarding using the /etc/mail/access file... yeah, I could do that, but
I can
get much more powerful filtering in mimedefang or spamassassin, so I'm
gradually going through the process of moving all of that functionality
out of sendmail and into either SA or MdF.

-Philip

Reply via email to