List Info

Thread: How to use Spam exclusion file with amavisd-new




How to use Spam exclusion file with amavisd-new
user name
2006-09-26 09:53:21
Dear all,

I'm configuring amavisd-new (version 2.4.1) with postfix to
filter messages 
against spamassassin and clamav.

I succeed to configure amavisd-new to filter all messages
going on my server.

Now I'd like to use a exclusion list to prevent amavisd-new
filter messages 
that are sent to the subscribe/unsubscribe addressess of my
mailing list 
system.

As I have a lot of mailing list, I've decided to create the
exclusion list by 
using a file containing emails extracted from my alias file.

Indeed my file (/var/amavis/spam_lovers) looks like:
list1-subscribe
list1-unsubscribe
list2-subscribe
list2-unsubscribe

I've added in my amavisd-new configuration file, this line :
bypass_spam_checks_maps = (
[read_array("/var/amavis/spam_lovers")] );

However that doesn't work. It still scan my messages sent to
that previous 
email.

I've also added the domain name after the email address, but
it doesn't affect 
the result.
I've too test read_hash insted of read_array.

I don't know why it doesn't work.

I wonder if someone has succeeded to configure amavisd-new
to use a file as a 
spam exclusion list.

Thanks a lot for your precious help !

-- 
Xavier MOGHRABI - Consortium ObjectWeb
Jabber: moghrabijabber.objectweb.org
Phone: +33 4 76 61 52 35

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys
-- and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
How to use Spam exclusion file with amavisd-new
user name
2006-09-26 14:02:21
Xavier wrote:

> Dear all,

> I'm configuring amavisd-new (version 2.4.1) with
postfix to filter messages 
> against spamassassin and clamav.

> I succeed to configure amavisd-new to filter all
messages going on my server.

> Now I'd like to use a exclusion list to prevent
amavisd-new filter messages 
> that are sent to the subscribe/unsubscribe addressess
of my mailing list 
> system.

> As I have a lot of mailing list, I've decided to create
the exclusion list by 
> using a file containing emails extracted from my alias
file.

> Indeed my file (/var/amavis/spam_lovers) looks like:
> list1-subscribe
> list1-unsubscribe
> list2-subscribe
> list2-unsubscribe

> I've added in my amavisd-new configuration file, this
line :
> bypass_spam_checks_maps = (
[read_array("/var/amavis/spam_lovers")] );

> However that doesn't work. It still scan my messages
sent to that previous 
> email.

> I've also added the domain name after the email
address, but it doesn't affect 
> the result.
> I've too test read_hash insted of read_array.

> I don't know why it doesn't work.

> I wonder if someone has succeeded to configure
amavisd-new to use a file as a 
> spam exclusion list.

> Thanks a lot for your precious help !


You want to use the envelope sender in a whitelist. This
list gets
mail from
amavis-user-bounceslists.sourceforge.net
or
amavis-user-adminlists.sourceforge.net

You will notice that the score_sender_maps setting
already has
examples of a number of mailing lists. You could add more
there and
adjust the scores downward to suit your needs.

I see this in the header of this message:
Sender: amavis-user-bounceslists.sourceforge.net

Gary V


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys
-- and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )