Yahoo Groups archive

Milter-greylist

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

Message

sendmail Milter (greylist): to error state

2010-12-17 by Michael Mansour

Hi,

I've recently noticed I get a lot of these errors on mail servers:

Dec 17 17:00:14 server sendmail[29303]: oBH6011k029303: Milter (greylist):
timeout before data read
Dec 17 17:00:14 server sendmail[29303]: oBH6011k029303: Milter (greylist): to
error state

and later on:

Dec 17 17:00:17 server milter-greylist: oBH6011k029303: skipping greylist
because sender is SPF-compliant, (from=<blah@...>,
rcpt=<blah2@...>, addr=blah.somesevrer.com[xxx.xx.xxx.xx]) ACL 1414

I've tried trouble-shooting what the problem could be, spent some hours on it
but can't figure it out.

I'm running milter-greylist 4.3.5 and 4.3.8 on various mail servers. I'm
slowly upgrading to 4.3.8 as time permits.

This "to error state" error happens on all machines.

I run Scientific Linux 5.5 (RHEL 5.5 derivative) on these mail servers, so use:

sendmail-8.13.8-8.el5.i386

I compile the RPM's of milter-greylist from the SPEC file.

The user I use for milter-greylist is:

smmsp

with the process being:

10229 ?        Ssl    4:04 /usr/bin/milter-greylist -u smmsp -P
/var/milter-greylist/milter-greylist.pid -p
/var/milter-greylist/milter-greylist.sock

and the relevant directory being:

# pwd
/var/milter-greylist
# ll
total 456
-rw------- 1 smmsp smmsp 166130 Dec 17 16:51 greylist.db
-rw------- 1 smmsp smmsp  89089 Dec 17 16:54 greylist.log
-rw------- 1 smmsp smmsp 165152 Dec 12 05:44 greylist.log.1.gz
-rw------- 1 smmsp smmsp   6591 Dec  5 04:42 greylist.log.2.gz
-rw------- 1 smmsp smmsp   4898 Dec  4 04:46 greylist.log.3.gz
-rw------- 1 smmsp smmsp   7919 Nov  8 06:02 greylist.log.4.gz
-rw-r--r-- 1 smmsp smmsp      6 Dec  4 20:49 milter-greylist.pid
srwxr-xr-x 1 root  root       0 Dec  4 20:49 milter-greylist.sock

I've checked various items and can't find where it's failing.

I thought it had to do with the root:root permissions on the socket above,
maybe they had to be smmsp:smmsp ? but I can't seem to change that particular
permission when the milter starts up.

I've run it in verbose mode, but that doesn't help. I've run it in debug mode
(with -v) and that didn't show anything extra either.

The /etc/mail/greylist.conf file passes syntax.

Any ideas how I can trouble-shoot this problem?

Note I've been running milter-greylist for many years and it's always worked
flawlessly on these machines.

Thanks.

Michael.

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.