Teodor,

> I have a big setup with three MX servers with postfix and amavis and
> about 300.000 incoming mails daily. I noticed a problem about spams,
> that they pass if in the mail header in "Reply-to" field is an address
> or domain wich is in whitelist. How can I make the whitelist feature
> to look only at  "From:" field and not to all the fields in email
> header.
>
> To give an example:
> A spammer sends an email from [EMAIL PROTECTED] and the email would
> get many points from Spamassassin to be marked spam, BUT the email has
> in replay-to: [EMAIL PROTECTED] and hp.com is in my whitelist, so the email
> will pass unmarked.

What kind of whitelisting are you using? SpamAssassin whitelists (which?),
or amavisd whitelists? I don't think that any of these whitelists
care for a Reply-To header field. It could be that such address is
also used as an envelope sender address, or in some other header field
which is taken into account by a SpamAssassin's whitelist_from, if
that is in use.

If [EMAIL PROTECTED] is an envelope sender address, and you are using
amavisd whitelist to accept mail from hp.com, all I can say is that
it is a bad idea to whitelist any domain (and in particular your own
domain) solely based on envelope sender address or on From header field.

Use more strict whitelisting offered by SpamAssassin, such as
whitelist_from_dkim, whitelist_from_spf, whitelist_from_rcvd,
or whitelist_auth.

  Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to