[Maia-users] could not read from amavisd socket /var/amavis/amavisd.sock: Success ?
Andi Voss
andi at andis.mine.nu
Mon Sep 18 02:38:59 PDT 2006
Hi,
I've a problem using amavisd-maia.
I installed amavisd-new 2.4.1 with amavisd-milter 1.1.2 and sendmail 8.13.8
and Mail::SpamAssassin 3.001005 on my slackware 10.2 box.
Everything works fine.
Now I want to use maia, but at the moment I uncomment
@lookup_sql_dsn = ( ['DBI:mysql:maia:localhost', 'amavis', '****'] );
in /etc/amavisd.conf I get this error:
Sep 15 23:45:36 Homer amavisd-milter[19068]: k8FLjake019067: mlfi_eom: could
not read from amavisd socket /var/amavis/amavisd.sock: Success
Sep 15 23:45:36 Homer sm-mta[19067]: k8FLjake019067: to=<andi at localhost>,
delay=00:00:00, pri=30957, stat=Content scanner malfunction
Is amavisd-maia working in a milter setup?
I read about the two instance of sendmail setup - is it necessary to use maia?
------- If it is NOT necessary, here some details about my setup: ------------
I had to change/add some settings in amavisd.conf.dist shipped with maia src
to get it starting with amavisd-maia:
# only relevant with $unix_socketname
# Use with amavis-release over a socket or with Petr Rehor's amavis-milter.c
# (with amavis-milter.c from this package or old amavis.c client use 'AM.CL'):
$interface_policy{'SOCK'}='AM.PDP-SOCK';
$policy_bank{'AM.PDP-SOCK'} = { protocol=>'AM.PDP' };
$forward_method = undef; # set to undef with milter!
$notify_method = $forward_method;
root at Homer:/usr/local/src# ls -l /usr/local/sbin/amavisd
lrwxrwxrwx 1 root root 12 Sep 16
21:28 /usr/local/sbin/amavisd -> amavisd-maia
root at Homer:/usr/local/src# ps aux | grep amavisd
amavis 332 0.0 0.1 7672 732 ? S Sep16
0:00 /usr/local/sbin/amavisd-milter
amavis 334 0.0 0.1 7672 732 ? S Sep16
0:00 /usr/local/sbin/amavisd-milter
amavis 335 0.0 0.1 7672 732 ? S Sep16
0:00 /usr/local/sbin/amavisd-milter
amavis 25606 0.0 0.1 7672 732 ? S 10:15
0:00 /usr/local/sbin/amavisd-milter
amavis 25649 4.2 6.3 45708 42792 ? S 10:19 0:03 amavisd
(master)
amavis 25650 0.0 6.3 46212 42868 ? S 10:19 0:00 amavisd (virgin
child)
amavis 25651 1.3 6.4 46936 43696 ? S 10:19 0:01 amavisd
(ch1-avail)
root at Homer:/var/amavis# ls -l
total 36
-rw-r--r-- 1 amavis amavis 4 Sep 16 21:35 amavisd-milter.pid
srwxr-xr-x 1 amavis amavis 0 Sep 16 21:35 amavisd-milter.sock
-rw-r----- 1 amavis amavis 0 Sep 18 10:20 amavisd.lock
-rw-r----- 1 amavis amavis 6 Sep 18 10:19 amavisd.pid
srwxr-x--- 1 amavis amavis 0 Sep 18 10:19 amavisd.sock
drwxr-x--- 2 amavis amavis 4096 Sep 18 10:19 db
drwxr-x--- 2 amavis amavis 4096 Sep 14 15:08 home
drwxr-xr-x 4 amavis amavis 4096 Sep 15 20:39 maia
drwxr-x--- 2 amavis amavis 4096 Sep 16 00:22 tmp
drwxr-x--- 2 amavis amavis 4096 Sep 14 15:08 var
Need more info?
Thanks for help.
Regards Andi
More information about the Maia-users
mailing list