Yahoo Groups archive

Milter-greylist

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

Message

Re: (greylist): timeout before data read and (greylist): to error state

2006-10-19 by randersson2

--- In milter-greylist@yahoogroups.com, "Brian J. Lewis"
<brianlewis@...> wrote:
>
> Milter-greylist is working:
> Oct 17 09:38:32 mailscanner6 milter-greylist: k9HGcLRM031656: addr 
> wmflb12na02.ezweb.ne.jp[222.15.69.197] from <> to 
> <xvafeyaoef@...> delayed for 00:04:14 (ACL 111)
> 
> Then all of a sudden:
> Oct 17 09:38:42 mailscanner6 sendmail[31656]: k9HGcLRM031656: Milter 
> (greylist): timeout before data read
> Oct 17 09:38:42 mailscanner6 sendmail[31624]: k9HGcL2F031624: Milter 
> (greylist): timeout before data read
> Oct 17 09:38:44 mailscanner6 sendmail[31679]: k9HGcOwh031679: Milter 
> (greylist): timeout before data read

FWIW I also had milter-greylist crash on me on FC3, FC5 and RHEL4
configured with --enable-dnsrbl.

If you just do --enable-dnsrbl, then you get linking errors during
make both on FC3, FC5 and RHEL4.

If you do --enable-dnsrbl --with-libbind=/usr then the make is OK, but
the resulting binary crashes as described by Brian above.

What does work is to:
configure --enable-dnsrbl            (Note, *no* --with-libbind)
Then edit the resulting Makefile and replace:
LIBS=            -lresolv -lnsl -lpthread -lmilter
with:
LIBS=            /usr/lib/libresolv.a -lnsl -lpthread -lmilter

After this the make works and the resulting binary works fine even
under heavy load.

Something is really strange here. Why is libresolv.a and libresolv.so
different? And why doesn't libbind.so appear to be threadsafe? Go
figure, the above workaround made things work for me.

Regards, Robert.

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.