Hi,

I'm trying to get clamav-milter working under FreeBSD 5.1 with sendmail 
8.12.9 and have it configured with spamass-milter (using the M4 constructs).

It appears first in the milters list but when I try to send mail through it, 
nothing ever happens.  I tried sending the test files as attachments and 
nothing happened (mail delivered normally).

Spamass-milter is working fine, so I know that mail is getting filtered, but 
not through clamav-milter.

I did a truss on the clamav-milter process while sending mail to try to see 
if it was ever even getting anything, and it is, but I see an error in the 
truss (Input/Output error) that does not appear anywhere (its being written 
to stderr, which I guess is not going anywhere).  I've included the truss 
output below, with the interesting bits annotated to make it easier to 
locate them.  Basically, an accept() call is made, fd 6 is returned, some 
reading a writing to fd 6 happens, then the error, a little more reading and 
writing to fd6, then the fd is closed.

I'm new to this list, so I hope its OK to post this level of detail here.  
If not, please let me know.  If anyone knows how to get more/better debug 
info, please also let me know.

Thanks in advance,

rgr

***** truss output from clamav-milter when a normal message is sent ****

gettimeofday(0x28093178,0x0)                     = 0 (0x0)
poll(0x8051c00,0x1,0x0)                          = 0 (0x0)
poll(0x805d000,0x1,0x0)                          = 0 (0x0)
poll(0x805d000,0x2,0x1388)                       = 1 (0x1)
gettimeofday(0x28093178,0x0)                     = 0 (0x0)
>>>accept(0x5,{ AF_UNIX "" },0xbfbff8f4)            = 6 (0x6)
>>>fcntl(0x6,0x3,0x0)                               = 6 (0x6)
>>>fcntl(0x6,0x4,0x6)                               = 0 (0x0)
>>>setsockopt(0x6,0xffff,0x8,0xbfbff8f0,0x4)        = 0 (0x0)
poll(0x8051c00,0x1,0x0)                          = 0 (0x0)
poll(0x806a400,0x1,0x0)                          = 0 (0x0)
poll(0x805d000,0x2,0x0)                          = 0 (0x0)
poll(0x805d000,0x3,0xdba)                        = 1 (0x1)
gettimeofday(0x28093178,0x0)                     = 0 (0x0)
>>>read(0x6,0xbfadcdf0,0x5)                         = 5 (0x5)
poll(0x806a400,0x1,0x0)                          = 1 (0x1)
>>>read(0x6,0x8056100,0xc)                          = 12 (0xc)
poll(0x806a400,0x1,0x0)                          = 1 (0x1)
>>>write(6,0xbfadce10,5)                            = 5 (0x5)
poll(0x806a400,0x1,0x0)                          = 1 (0x1)
>>>write(6,0xbfadcef0,12)                           = 12 (0xc)
poll(0x806a400,0x1,0x0)                          = 0 (0x0)
poll(0x805d000,0x2,0x0)                          = 0 (0x0)
poll(0x805d000,0x3,0xda0)                        = 1 (0x1)
gettimeofday(0x28093178,0x0)                     = 0 (0x0)
>>>read(0x6,0xbfadcdf0,0x5)                         = 5 (0x5)
poll(0x806a400,0x1,0x0)                          = 1 (0x1)
>>>read(0x6,0x806b000,0x88)                         = 136 (0x88)
poll(0x806a400,0x1,0x0)                          = 1 (0x1)
>>>read(0x6,0xbfadcdf0,0x5)                         = 5 (0x5)
poll(0x806a400,0x1,0x0)                          = 1 (0x1)
>>>read(0x6,0x8069180,0x25)                         = 37 (0x25)
***write(1,0x806c000,68)                            ERR#5 'Input/output 
error'
poll(0x806a400,0x1,0x0)                          = 1 (0x1)
>>>write(6,0xbfadce10,5)                            = 5 (0x5)
poll(0x806a400,0x1,0x0)                          = 1 (0x1)
>>>read(0x6,0xbfadcdf0,0x5)                         = 5 (0x5)
>>>fstat(6,0xbfadcf20)                              = 0 (0x0)
>>>close(6)                                         = 0 (0x0)
clock_gettime(0x0,0xbfaedfa8)                    = 0 (0x0)
poll(0x805d000,0x1,0x0)                          = 0 (0x0)
poll(0x805d000,0x2,0x134b)                       = 0 (0x0)


-- 
Richard G. Roberto
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to