At 01:12 PM 7/30/2003 -0600, Alan Fullmer wrote:
I have a question for someone.

What does Whitelist_from actually look at? all headers? or a single one?

Is there a way to whitelist this line: From: "Alan Fullmer" <<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]>


any ideas? thanks in advance.


whitelist_from looks at a wide variety of headers that can indicate the sender. But in short you can use this whitelist statement:

whitelist_from <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]

to do what you want.. be aware however that any spam that forges itself as being "From: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]" will be whitelisted.

As for the details of what headers are checked, the code is in the subroutine "all_from_addrs" in EvalTests.pm.

In summary of the code, if there's a "Resent-From" header present.. that header takes priority, and is the only header examined.

Otherwise _all_ of the following headers are checked:

       'From'
       'Envelope-Sender'
       'Resent-Sender'
       'X-Envelope-From'
       'Return-Path'
       'Resent-From'





-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to