[milters] Archive

Lists Index Date Thread Search

Article: 261
From: Marcus Schopen
Date: 2004-11-28 15:59:37 -0500
Subject: spam-c socket problem -H option

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

Hi,

I was thinking about to talk to spamassin via unix socket instead of using 
Port 783. My spamassassin options:

OPTIONS="--socketpath=/var/spool/spamd/spamd.sock --username=spamd 
--max-children 10 --helper-home-dir=/var/spool/spamd"

My milter-spamc options:
OPTIONS="-a spambox -f /etc/mail/sendmail.cf -H /var/spool/spamd/spamd.sock 
unix:/var/lib/milter-spamc/socket"

I got the following error.

Cheers,
M.

Nov 28 21:51:09 walter milter-spamc[14784]: 00003 iASKp9mw014783: 
SocketWrite() error: Transport endpoint is already connected (106)
Nov 28 21:51:09 walter spamd[14115]: got connection 
over /var/spool/spamd/spamd.sock
Nov 28 21:51:09 walter spamd[13483]: server hit by SIGCHLD
Nov 28 21:51:09 walter spamd[13483]: handled cleanup of child pid 14115
Nov 28 21:51:09 walter spamd[13483]: server successfully spawned child 
process, pid 14786
Nov 28 21:51:09 walter milter-spamc[14784]: 00003 iASKp9mw014783: 
SocketWrite() error: Transport endpoint is already connected (106)
Nov 28 21:51:09 walter spamd[14129]: got connection 
over /var/spool/spamd/spamd.sock
Nov 28 21:51:09 walter spamd[13483]: server hit by SIGCHLDdrwxrwxrwx    4 

walter:/var/spool/spamd# ls -al
spamd    spamd        4096 Nov 28 21:34 .
drwxr-xr-x    9 root     root         4096 Nov 26 18:57 ..
drwxr-xr-x    2 spamd    spamd        4096 Nov 27 10:11 .razor
drwx------    2 spamd    spamd        4096 Nov 28 21:32 .spamassassin
-rw-------    1 spamd    spamd       20480 Nov 28 21:24 bayes_seen
-rw-------    1 spamd    spamd      335872 Nov 28 21:24 bayes_toks
-rw-r--r--    1 spamd    spamd           6 Nov 28 21:34 spamd.pid
srw-rw-rw-    1 spamd    root            0 Nov 28 21:34 spamd.sock

Lists Index Date Thread Search