Mailinglist Archive: opensuse-security (220 mails)

< Previous Next >
Re: [suse-security] sendmail and amavisd on 9.0
  • From: Dirk Borchers <dirk.borchers@xxxxxx>
  • Date: Fri, 7 Nov 2003 11:33:38 +0100
  • Message-id: <D973CFFE-110D-11D8-B310-000A27AFE056@xxxxxx>
It seems to be supported, because of
AMAVISD_BIN=/usr/sbin/amavisd
AMAVIS_MILTER_BIN=/usr/sbin/amavis-milter

and

if [ "$AMAVIS_SENDMAIL_MILTER" == "yes" ]; then ...

in /etc/init.d/amavis. There is the process
3317 ? S 0:00 /usr/sbin/amavis-milter -p
local:/var/run/amavis/amavis-milter.sock

Fine. Please check /etc/sendmail.cf and grep for
"amavis" - there should be a reference to /var/run/amavis/amavis-milter.sock

There should be an entry - but unfortunately there is no reference like this...

Moreover, please keep in mind, amavisd must be started before sendmail! Otherwise,
the amavis-milter.sock can not be found by sendmail.

Yepp.

I found the mistake. In /sbin/conf.d/SuSEconfig.sendmail is:
if rpm -q amavis-new &> /dev/null ; then ...
I changed it to
if rpm -q amavisd-new &> /dev/null ; then
(the package name is "amavisd-new") and generated the new file. Now it works.


So for the SuSE team: please update the script "/sbin/conf.d/SuSEconfig.sendmail".


Thanks for all your comments,
Dirk



< Previous Next >
References