Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-21-2006, 08:56 AM   #1
LQ Newbie
Registered: Dec 2005
Posts: 7

Rep: Reputation: 0
Problem with amavis-milter + sendmail + clamav

hello Everybody

i have problem in antivius amavis-new, amavis-new-milter, senbmail,clamav

my configureation file is


LogFile /var/log/clamav/clamd.log
LogFileMaxSize 0
PidFile /var/run/clamav/
TemporaryDirectory /var/tmp
DatabaseDirectory /var/clamav
LocalSocket /var/run/clamav/clamd.sock
MaxConnectionQueueLength 30
ReadTimeout 300
SelfCheck 3600
User amavis


$max_servers = 2; # number of pre-forked children (2..15 is common)
$daemon_user = "amavis"; # (no default; customary: vscan or amavis)
$daemon_group = "amavis"; # (no default; customary: vscan or amavis)

$mydomain = ''; # a convenient default for other settings

$MYHOME = "/var/amavis";
$TEMPBASE = "$MYHOME/tmp"; # working directory, needs to be created manually
$ENV{TMPDIR} = $TEMPBASE; # environment variable TMPDIR
$QUARANTINEDIR = "/var/virusmails";

$pid_file = "$MYHOME/var/";
$lock_file = "$MYHOME/var/amavisd.lock";
$inet_socket_port = 10024; # listen on this local TCP port(s) (see $protocol)
$unix_socketname = "$MYHOME/amavisd.sock"; # amavisd-release or amavis-milter
$final_virus_destiny = D_DISCARD;
$final_banned_destiny = D_BOUNCE;
$final_spam_destiny = D_BOUNCE;
$final_bad_header_destiny = D_PASS;
\&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock"],
qr/\bOK$/, qr/\bFOUND$/,
qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],


dnl DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')dnl
define(`MILTER', `1')dnl
INPUT_MAIL_FILTER(`milter-amavis', `S=local:/var/amavis/amavis-milter.sock, F=T, T=S:10m;R:10m;E:10m')dnl

make -C /etc/mail

and i give command
service clamd start
it's start successfully
service amavisd start
it's start suceesfully
service sendmail start
it's start successfully

but when i m sending mail that time amavis-milter is giving me error
in /var/log/maillog

Jun 21 18:22:01 baroda amavis[19685]: load: 100 %, total idle 0.000 s, busy 480.009 s
Jun 21 18:22:01 baroda amavis[19685]: child_finish_hook: invoking DESTROY methods
Jun 21 18:22:01 baroda amavis[19685]: Amavis::Cache DESTROY called
Jun 21 18:22:01 baroda amavis-milter[19584]: k5LCK1ve019649: (mlfi_eom) failed to send() Sender: Broken pipe
Jun 21 18:22:01 baroda amavis-milter[19584]: k5LCK1ve019649: (mlfi_eom) communication failure
Jun 21 18:22:01 baroda sendmail[19649]: k5LCK1ve019649: Milter: data, reject=451 4.3.2 Please try again later
Jun 21 18:22:01 baroda sendmail[19649]: k5LCK1ve019649: to=<>, delay=00:08:00, pri=37156, stat=Please try again later
Jun 21 18:22:01 baroda sm-msp-queue[19648]: k5KMW47g017926: to=root, ctladdr=root (0/0), delay=14:19:57, xdelay=00:08:00, mailer=relay, pri=1476870, relay=[] [], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later

how to solve this problem....


Bhavesh Vadaliya

Last edited by bhaveshvv109; 02-02-2007 at 12:33 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix suspending mail delivery(configured with clamav and amavis) myguest Red Hat 0 08-02-2005 02:17 AM
sendmail+milter roopunix Linux - Networking 1 07-29-2005 02:08 PM
Amavisd-new: Interface to Sendmail milter + ClamAV cyberjames Slackware 0 02-07-2005 02:41 AM
Controlling mail using Sendmail Milter ronferns Linux - Software 0 11-29-2004 02:12 AM
procmail before milter filters in sendmail mussons Linux - Software 0 12-15-2003 09:25 AM

All times are GMT -5. The time now is 08:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration