Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] crashing during config reload when db dumps

2005-11-22 by Ken Serrine

Emmanuel Dreyfus wrote:

>On Mon, Nov 21, 2005 at 12:05:50PM -0600, Ken Serrine wrote:
>  
>
>>>UNIX or INET sockets? If UNIX, wrong permissions? Any error message in
>>>sendmaill logs?
>>>
>>>      
>>>
>>INET.
>>Here's the error I get, even though I can see the milter running in my 
>>process list.
>>
>>    
>>
>>>Nov 21 10:25:05 mail3 sendmail[2642]: jALGP5m2002642: Milter (greylist): error c
>>>onnecting to filter: Connection refused by localhost
>>>      
>>>
>
>Does netstat -na show an open port? 
>  
>
I tried running the milter under gdb using UNIX sockets, and at first it 
seems like it's going to work, but then it quickly goes into an error state:

Nov 22 15:46:22 mail3 sendmail[21377]: jAMLkME9021377: Milter 
(greylist): error connecting to filter: Connection refused by 
/var/milter-greylist/milter-greylist.sock
Nov 22 15:46:22 mail3 sendmail[21377]: jAMLkME9021377: Milter 
(greylist): to error state

If I run the milter under INET sockets first, and then attach gdb to it, 
the port shows open with netstat -na, but sendmail can no longer talk to 
the milter.
I get the following
Nov 22 15:28:57 mail3 sendmail[20361]: jAMLRv75020361: Milter 
(greylist): to error state
Nov 22 15:28:57 mail3 sendmail[20361]: jAMLRv75020361: Milter 
(greylist): init failed to open

I can't get it to crash under INET sockets anyway, so that seems to 
solve my problem, but I won't be able to provide a backtrace of the 
crash under UNIX sockets unless I can get the milter running under gdb 
and sendmail using it.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.