Matt Kettler said:

> Someone may correct me if I'm wrong, but as far as I know, SpamAssassin 
> does not have any access to the delivery envelope itself, thus does not 
> know who the mail is really being delivered to, it only has access to what 
> is stated in the mail headers. Any filtering based on the the envelope 
> would have to be done by the MTA itself, prior to calling SpamAssassin.

It can pick up *some* of them: here's the list we use (from the code):

         $self->get ('Resent-To') .             # std, rfc822
         $self->get ('Resent-Cc'));             # std, rfc822

         $self->get ('To') .                    # std
         $self->get ('Apparently-To') .         # sendmail, from envelope
         $self->get ('Delivered-To') .          # Postfix, I think
         $self->get ('Envelope-Recipients') .   # qmail: new-inject(1)
         $self->get ('Apparently-Resent-To') .  # procmailrc manpage
         $self->get ('X-Envelope-To') .         # procmailrc manpage
         $self->get ('Cc'));                    # std

If anyone can suggest others added by other MTAs, it'd be much appreciated.

--j.


-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now!  Before the Holidays pass you by.
T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to