Floyd wrote:
> Hi,
> I added about 4,000 email addresses to bypass_spam_checks, and have it set
> up this way:
> @bypass_spam_checks_maps = (read_hash("/var/amavis/bypass_spam_checks") );
> @spam_lovers_maps = @bypass_spam_checks_maps;
> The email addresses belong to our associates; many of them use personal
> addresses and we have to be able to receive messages from them. Problem is
> that a lot of them appear to send spam, and spamassassin was rejecting
> legitimate messages from them.
> Our managers ok'd client side junk mail filtering so that we don't miss any
> important messages, but we do have a few people that we don't want this
> implemented for - we want all messages checked for spam for those addresses.
> Is there a way to do bypass_spam_checks for specific email addresses, rather
> than doing it for all users?
> Thanks and regards,
> Floyd Arguello
I have to ask. Do you realize that you would not simply put email
addresses in your file? You would put RECIPIENT email addresses in
your file. You would include RECIPIENTS who do not want their mail
checked for spam. If this is not what you are trying to do then you
are using the wrong mechanism. Typically you would want to whitelist
senders.
In @score_sender_maps there is a line:
# read_hash("/var/amavis/sender_scores_sitewide"),
You could uncomment and configure this to read your
existing file, but the file would have to be modified to
include a negative score for each sender, e.g.:
[EMAIL PROTECTED] -10
[EMAIL PROTECTED] -10
Alternately (but not as nice as soft whitelisting) is hard
whitelisting (that would not require adding scores):
@whitelist_sender_maps = read_hash("/var/amavis/whitelist_sender");
With the format of the whitelist_sender file:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
.example.org
Remember that senders can be forged. If you actually need to bypass
spam scanning, then you would need to use a policy bank.
This may help:
http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks
http://www200.pair.com/mecham/spam/bypassing.html
Gary V
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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/