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

Help with amavis-postfix



I've tried to make amavis work many different ways but no use.

I installed amavis-postfix, enabled my antivirus (Antivir) in 
/etc/amavisd.conf like this:

# H+BEDV AntiVir
$antivir = "antivir";

Then added this to /etc/postfix/main.cf:

content_filter = smtp-amavis:[127.0.0.1]:10024

Then added this to /etc/postfix/master.cf

127.0.0.1:10025 inet n - y - - smtpd
 -o content_filter=
 -o local_recipient_maps=
 -o smtpd_helo_restrictions=
 -o smtpd_client_restrictions=
 -o smtpd_sender_restrictions=
 -o smtpd_recipient_restrictions=permit_mynetworks,reject
 -o mynetworks=127.0.0.0/8

smtp-amavis unix - - y - 2 smtp
 -o smtp_data_done_timeout=1200
 -o disable_dns_lookups=yes

Then I did sudo postfix reload and sudo amavisd reload. But when I try to send 
the EICAR test "string" using telnet, it let's it go through, and gives me 
this message:

250 2.6.0 Ok, id=09917-01, from MTA: 250 Ok: queued as EA5721C41A

However, I have that string saved and Antivir recognices it w/o any problem, 
like this:

Mon Jun 16 10:46:48 2003: AntiVir ALERT: [Eicar-Test-Signatur virus] 
/home/Marino/eicar.com <<< Contains code of the Eicar-Test-Signatur virus

Any ideas!!!, thank you.




Reply to: