[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [HS] SA + scan virus + amavis-new



Le lundi 27 janvier 2003, MAILLARD Xavier (Net Log) a écrit...
	bonjour,


> Je cherche à faire fonctionner SA (spamassassin) avec amavis-new. Je
> voudrais qu'avec un seul content_filter dans postfix je puisse à la fois
> faire un scan des virus et à la fois faire un scan anti-spam.
Il faut installer le paquet amavis-postfix et suivre la doc...

Voici ce que j'ai rajouté dans mon master.cf, comme indiqué dans la doc.

# config amavis-postfix
smtp-amavis     unix    -       -       n       -       2       smtp
        -o smtp_data_timeout=1200s
	-o smtp_never_send_ehlo=yes
	-o defer_transports=
127.0.0.1:10025 inet    n       -       n    -       -       smtpd
        -o content_filter=
	-o local_recipients_maps=
	-o smtpd_sender_restrictions=
	-o smtpd_recipient_restrictions=permit_mynetworks,reject
	-o smtpd_client_restrictions=
	-o myhostname=espinasse
	-o mynetworks=127.0.0.0/8
	-o mydestination=$myhostname
					
Le truc ensuite c'est de faire comprendre à Postfix que ton adresse
courriel est locale en fait.

> P.S: et puis si je pouvais un bon exemple de local.cf de SA pour un filtrage
> basique mais efficace.

Je t'en fais un et je t'envoie ça. Ça marche très bien chez moi, je
jette à partir de 7 * dans le X-Spam-Level
--
jean-michel



Reply to: