Matt Kettler wrote:
> [EMAIL PROTECTED] wrote:
>> Matt Kettler wrote:
>> Well, unless you add an Apparently-To header in the MTA prior to
>> calling SpamAssassin.
>> 
> Yes, but I've never seen an "Apparently-To" implementation that listed
> all the recipients of a multi-recipient message...

You have now. :) From mimedefang.pl:

    if ($AddApparentlyToForSpamAssassin and
        ($#Recipients >= 0)) {
        push(@sahdrs, "Apparently-To: " .
             join(", ", @Recipients) . "\n");
    }

(@Recipients stores the list of recipients)

Caveat... this only adds the recipients the MTA knows about. If something is 
BCC'd to an ungodly number of recipients, the MSA will usually send it in 
several MAIL FROM commands.  The MTA will only know about the recipients for 
the current MAIL FROM command.

-- 
Matthew.van.Eerde (at) hbinc.com               805.964.4554 x902
Hispanic Business Inc./HireDiversity.com       Software Engineer

Reply via email to