Re: [AMaViS-user] Best way to (soft) whitelist?

This is a discussion on Re: [AMaViS-user] Best way to (soft) whitelist? within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Martin wrote: > At the moment i use "whitelist_from" in the local.cf of spamassassin to > whitelist ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-11-2006
Gary V
 
Posts: n/a
Default Re: [AMaViS-user] Best way to (soft) whitelist?

Martin wrote:

> At the moment i use "whitelist_from" in the local.cf of spamassassin to
> whitelist senders/sender domains. I am not very lucky about that
> solution 'cause it will add a -100 to every mail that
> matches the listed senders. As many spam mails come with faked senders
> there is some spam passing that shouldn't.


> Reading a bit through amavisd.conf-default and this list, i got
> some ideas how this could be solved in amavisd.
> At the moment i am thinking of using @score_sender_maps
> for all incoming mail, if i understood it right it can
> be done with '.' =3D>[List of domains and scores]. As the List
> consist of about 30 entries and is growing i would put it into
> a file using the read_hash for score_sender_maps.


> Is this a good way or is there a better, more easy or more
> efficient way to do this?

=

> Regards / Mit freundlichen Gr=FC=DFen

=

> Martin B=E4rtl, CDP Bharat Forge GmbH


You can simply uncomment (and configure the path if needed)
# read_hash("/var/amavis/sender_scores_sitewide"),
and the entries will be added to the list along with all the existing
entries in amavisd.conf.

In the sender_scores_sitewide place entries in this manner:

goodguy@example.com -6
badguy@example.net 10
spamsamples@example.com -1200

Keep in mind SpamAssassin uses headers (like From:) to determine a
match for whitelist_from, and amavisd-new uses the envelope sender.
More often than not they are the same, but of course, not always.

IMHO using @score_sender_maps is simpler than using spamassassin's
wbl. To match the flexibility of amavisd-new's method, you would have
to create custom rules for each sender in spamassassin.

Also, in amavisd.conf it is possible to do per-recipient wbls if
needed, so this add even more flexibility.

# # per-recipient personal tables (NOTE: positive: black, negative: white)
# 'user1@example.com' =3D> [{'bla-mobile.press@example.com' =3D> 10.0}],
# 'user3@example.com' =3D> [{'.ebay.com' =3D> -3.0}],
# 'user4@example.com' =3D> [{'cleargreen@cleargreen.com' =3D> -7.0,
# '.cleargreen.com' =3D> -5.0}],

Gary V


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easi=
er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...63057&dat=3D1=
21642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:41 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0