Scott,

> I have my whitelist file setup in /var/amavis/whitelist_sender
> In /etc/amavisd.conf I have the following line :
> read_hash("/var/amavis/whitelist_sender"),

To which variable (lookup table) are you reading the whitelist_sender file?

> When I receive an email from address of [EMAIL PROTECTED] - it seems to match
> the whitelist, yet still spam scans, and takes actions based on the
> scan.. so it doesn't seem to be listening to the whitelist ...  here is
> a copy from my log file in log level 5
>
> Jul 24 09:38:07 ns1 /usr/local/sbin/amavisd[3314]: (03314-10) wbl:
> soft-blacklisted (1) sender <[EMAIL PROTECTED]> => <[EMAIL PROTECTED]>, 
> recip_key="."

The sender was soft-whitelisted. Soft-w/b-listing does not prevent
SA from being called, it just adds score points to the SA result.

If you need hard white or blacklisting, you must use @whitelist_sender_maps,
not @score_sender_maps.

But, hard whitelisting is a bad idea, because sender address is usually
faked with spam. It is better to use soft-whitelisting as you did,
but don't assume it will avoid calling SA. Btw, you may explicitly assign
the number of score points to be added instead of the default of 1,
when reading a hash by read_hash() - just include a score boost
separated by whitespace from the address. E.g.:

@score_sender_maps = ({
  # site-wide opinions about senders (the '.' matches any recipient)
  '.' => [ read_hash("/var/amavis/sender_scores_sitewide") ],
});

.elsevier.com -7.0
.ebay.com -7.0
.pentapharm.com -5.0
.enterprise-ireland.com -7.0
[EMAIL PROTECTED] -2.0

Mark





-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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