"Milter (greylist): timeout before data read" but milter does not die.
2006-12-08 by robert_schmidli
I've installed milter-greylist-3.0 on a debian sarge machine. It's
compiled with the following options:
./configure --with-libspf2=/usr/lib --with-user=smmsp --enable-dnsrbl
I am getting the following in my syslog repeatedly:
Dec 8 07:03:26 debian sm-mta[12720]: kB7K3A2j012720: Milter
(greylist): timeout before data read
Dec 8 07:03:26 debian sm-mta[12720]: kB7K3A2j012720: Milter
(greylist): to error state
This message appears before any other messages when an incoming
message comes through. As far as I can see, it occurs at the
following times:
1 When procmail picks up a message
2 When an incoming message comes from an SPF-compliant server
3 At other times when other messages arrive - seemingly randomly.
The problem is not consistent. The curious thing is that as far as I
can see, milter-greylist continues to function normally. It hasn't
crashed since I installed it about 6 days ago.
I only use milter-greylist to greylist messages from servers listed in
RBLs. My system isn't under heavy load. My "ulimit" is set as
"unlimited". I use the libspf2-0 debian package for libspf.
The relevant lines in sendmail.mc:
dnl ## milter-greylist
INPUT_MAIL_FILTER(`greylist',`S=local:/var/run/milter-greylist/greylist.sock')
define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')
define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')
define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')
define(`confMILTER_MACROS_ENVRCPT', `{greylist}')
I realise that there's a lot of previous correspondence about this
message, but it doesn't seem to cover this situation.
I might say that I've been very impressed with this package - with
sites listed in dnsbl.sorbs.net and bl.spamcop.net being greylisted
for 6 hours I've cut down on a lot of spam.
PS - with reference to my previous question about gentoo/amd64 - I've
fixed the problem by installing the masked
mail-filter/libspf2-1.2.5-r2 package. The -r1 package is not
thread-safe on amd64 and there is a patch in the -r2 version.