I have installed the AVG virus scanner daemon on Redhat Linux 9, hooked up Dazuko, and also (I think) configured amavisd-new so that it uses the AVG scanner (when I run the amavisd-new daemon in debug mode it apparently starts up fine and conencts it to the avg scanner).
However, I'm now having trouble hooking amavisd-new up to sendmail. amavisd. I added the following lines to sendmail.mc and regenerated sendmail.cf
dnl
dnl Change Mlocal to use AMaViS-Perl
define(`AMAVIS_LOCAL_MAILE
R_ARGS', `-d $u')
define(`LOCAL_MAILER_ARGS'
,`amavis $f $u' LOCAL_MAILER_PATH AMAVIS_LOCAL_MAILER_ARGS)d
nl
define(`LOCAL_MAILER_PATH'
, `/usr/sbin/amavis')dnl
dnl please set the path to your procmail accordingly!
dnl the following works only with sendmail 8.10.x or above
MODIFY_MAILER_FLAGS(`LOCAL
', `-m-f-r')dnl
I then restarted sendmail, and sent myself a test message. This got bounced with an error 255. The error log shows the following
Mar 27 10:59:36 garcia sendmail[4995]: starting daemon (8.12.8): SMTP+queueing@01:00:00
Mar 27 10:59:36 garcia sm-msp-queue[5004]: starting daemon (8.12.8): queueing@01:00:00
Mar 27 11:00:43 garcia sendmail[5017]: i2RB0fDD005017: from=<drjohnbrooke@hotmail
.com>, size=830, class=0, nrcpts=1, msgid=<Sea2-F41iCMI2q5Knp5
0002bd4e@h
otmail.com
>, proto=ESMTP, daemon=MTA, relay=sea2-f41.sea2.hotmai
l.com [207.68.165.41]
Mar 27 11:00:43 garcia amavisd[5019]: starting. amavis 0.3.12 Tue Jan 27 18:30:14 GMT 2004
Mar 27 11:00:44 garcia amavisd[5022]: mail forwarding failed, retry: Insecure dependency in exec while running with -T switch at /usr/sbin/amavis line 581, <GEN0> line 26. (message-id=<Sea2-F41iCMI2
q5Knp50002
bd4e@hotma
il.com>)
Mar 27 11:00:44 garcia amavisd[5022]: do_exit:481 - ending execution with 75
Mar 27 11:00:44 garcia amavisd[5019]: do_exit:594 - ending execution with 255
Mar 27 11:00:44 garcia sendmail[5018]: i2RB0fDD005017: to=<drjohn@contingent-solu
tions.com>
, delay=00:00:02, xdelay=00:00:01, mailer=local, pri=31044, dsn=5.3.0, stat=unknown mailer error 255
Mar 27 11:00:44 garcia sendmail[5018]: i2RB0fDD005017: i2RB0iDD005018: DSN: unknown mailer error 255
Mar 27 11:00:45 garcia sendmail[5018]: i2RB0iDD005018: to=<drjohnbrooke@hotmail.c
om>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=32068, relay=mx4.hotmail.com. [65.54.167.230], dsn=2.0.0, stat=Sent ( <200403271100.i2RB0iDD0050
18@localho
st.localdo
main> Queued mail for delivery)
So what am I doing wrong here?
John
Start Free Trial