Snipping from EvalTests.pm's subroutine all_from_addrs, which is used in check_from_in_whitelist:
return $self->{main}->find_all_addrs_in_line ($self->get ('From') . # std $self->get ('Sender') . # rfc822 $self->get ('Envelope-Sender') . # qmail: new-inject(1) $self->get ('Resent-Sender') . # procmailrc manpage $self->get ('X-Envelope-From') . # procmailrc manpage $self->get ('Return-Path') . # Postfix, sendmail; rfc821 $self->get ('Resent-From')); # http://www.cs.tut.fi/~jkorpela/headers.html is useful here
So SA will whitelist if any of the above headers match a static whitelist_from entry
At 11:21 PM 1/21/2003 +0100, Martin Schroeder wrote:
On 2003-01-20 11:42:20 -0500, Matt Kettler wrote:
> SpamAssassin never sees the envelope for any email, thus it's the From:
> header, and can not be the envelope sender. I think the AWL will also look
> at reply-to headers as well... you'd have to check the code or have someone
> more familiar with that code make a more educated statement on it.
OK. Does it look at the Sender:? I'm asking because I forward mails from work to home via procmail, and SA flags all this mails as USER_IN_WHITELIST, which is irritating.
Best regards Martin -- http://www.tm.oneiros.de/calendar/2003/
------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk