Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2002 22:41:23 +0200 (CEST)
From:      Gheorghe Ardelean <ardelean@ww.uni-erlangen.de>
To:        <freebsd-questions@freebsd.org>
Cc:        <gslin@ccca.nctu.edu.tw>
Subject:   problems gettig AMavis+sendmail to work
Message-ID:  <Pine.LNX.4.33.0207212212050.2307-100000@servww6.ww.uni-erlangen.de>

next in thread | raw e-mail | index | archive | help

Hi,

I can't get amavisd (/usr/ports/security/amavisd) to work with sendmail
on a FreeBSD 4.6-STABLE. amavis used for scanning ONLY incoming mail.

After creating the new sendmail.cf, when sending a mail I get the
following error message (in /var/log/maillog):

Jul 22 01:04:05 xyz amavis[71169]: starting.  amavisd snapshot-20020300 Mon Jul 22 00:28:59 EEST 2002
Jul 22 01:04:11 xyz sm-msp-queue[71181]: starting daemon (8.12.5): queueing@00:30:00
Jul 22 01:04:11 xyz sm-mta[71179]: starting daemon (8.12.5): SMTP+queueing@00:30:00
Jul 22 01:04:25 xyz sm-mta[71183]: NOQUEUE: Warning: mailer local: LMTP flag (F=z) turned off
Jul 22 01:04:25 xyz sm-mta[71183]: g6LLrRv5071116: to=<admin@xyz.x.y>, delay=00:10:44,
xdelay=00:00:00, mailer=local, pri=122912, dsn=4.0.0,
stat=Deferred: local mailer (/usr/local/sbin/amavis) exited with EX_TEMPFAIL

Any help/ideas?

on this sistem i have:
-FreeBSD 4.6-STABLE-20020629-JPSNAP #0: Sat Jul 13 02:26:04 EEST 2002
-virus scanner f-prot for Linux (WORKING)
-amavisd installed from ports
-additions to sendmail.mc :

dnl Change Mlocal to use AMaViS-Perl
define(`LOCAL_MAILER_PATH', `/usr/local/sbin/amavis')dnl
define(`LOCAL_MAILER_ARGS', CONCAT(`amavis $f $u -- /usr/libexec/',LOCAL_MAILER_ARGS))dnl
dnl the following works only with sendmail 8.10.x or above
MODIFY_MAILER_FLAGS(`LOCAL', `-m-f-r')dnl
dnl
dnl
MAILER(local)
MAILER(smtp)

BTW, we should patch or correct /usr/local/share/doc/amavisd/README.sendmail

--- README.sendmail.orig        Mon Jul 22 01:12:20 2002
+++ README.sendmail     Mon Jul 22 01:13:01 2002
@@ -35,7 +35,6 @@
 dnl
 dnl Change Mlocal to use AMaViS-Perl
 define(`LOCAL_MAILER_PATH', `/usr/sbin/amavis')dnl
-define(`LOCAL_MAILER_ARGS', CONCAT(`amavis $f $u -- ',
 define(`LOCAL_MAILER_ARGS', CONCAT(`amavis $f $u -- /usr/bin/',
 LOCAL_MAILER_ARGS))dnl
 dnl please set the path to your procmail accordingly!

(README.sendmail Revision 1.9.2.7.2.9 from amavis CVS is ok.)

Best Regards,

G. Ardelean,
Erlangen-Nuernberg University
WW6, Martenstr 7.
D-91058 Germany


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0207212212050.2307-100000>