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

AMAVIS/POSTFIX



POSTFIX is a pretty good smtp server.
Nowadays, you cannot manage a good smtp service without running centralized
anti-virus and anti-spam associated services.
I manage a debian woody server. I expected that installing AMAVIS with
Sophos antivirus would be a rather simple operation.. But it appeared to be
really tedious.

Postfix (Version: 1.1.11-0.woody3) has been working well for months.
Sophos has been installed without problems.
Amavis-postfix has been installed without problems too, excepted the man
pages (?).
So, what is wrong ? 

has somebody succeeded to make all that stuff working together or does it
need to find amavis elsewhere (amavis-new, instable packages,
www.amavis.org..), that is, inhomogeneous debian procedures ? Is there a bug
? better knowing at first !


-----------------------------

What I did:
apt-get install amavis-postfix  
Package: amavis-postfix Version: 0.3.12pre5.20020310-5. (syslog says:
amavisd snapshot-2002022)

created user vscan  (group vscan, shell:/bin/false)

the README-postfix file suggested to add some lines to main.cf
...
mynetworks = 139.124.176.0/24, 127.0.0.0/8, localhost, localhost.localdomain
...
content_filter = vscan:
soft_bounce = yes

idem to master.cf
...
vscan	  unix	-	n	n	-	10	pipe user=vscan argv=/usr/sbin/amavis ${sender}
${recipient}
localhost:10025 inet n	-	n	-	-	smtpd -o content_filter=

link between /usr/sbin/sendmail à /usr/lib/sendmail verified OK
vscan owner 770 of /var/virusmails
amavis owner of /var/lib/amavis

run /etc/init.d/postfix reload
run /etc/init.d/amavis-postfix start
run /usr/sbin/amavisd

testing telnet localhost 10025 : it works !!
nothing obviously abnormal in /etc/amavis.conf nor /usr/sbin/amavisd .. 

BUT mails are blocked somewhere : tail /var/log/syslog ... postfix/pipe :
temporary failure .. (postfix/pipe)
cat fichier-with-virus-signature | /usr/sbin/amavis user-send user-recp gave
nothing.. (maybe nothing to do with previous)
--------------------------------------------------------------------------
>>>>>>>>>>>>>>>>>>>>ATTENTION !! Mon adresse de messagerie a changé :
Elle est desormais lacharme@ehess.univ-mrs.fr <<<<<<<<<<<<<<<<<<<<<<<<<<<
--------------------------------------------------------------------------
Jean-Paul LACHARME. Administrateur Reseau. 
GREQAM (UMR6579 CNRS, EHESS, Universites d'Aix-Marseille II et III)
Centre de la Vieille Charite. 2, rue de la Charite. 13002 MARSEILLE. 
Tel.: 04.91.14.07.68. Fax : 04.91.90.02.27. (collectif labo)
http://www.vcharite.univ-mrs.fr/PP/lacharme/index.html    
--------------------------------------------------------------------------



Reply to: