Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-13 23:57 UTC

Message

lost rsyslog messages with milter-greylist

2016-04-12 by Christian Pélissier

Under RHEL 6.7 I have  a lot of messages like that
in /var/log/messages :

...
Apr 12 11:02:32 emix2 rsyslogd-2177: imuxsock begins to drop messages
from pid 6929 due to rate-limiting
Apr 12 11:02:34 emix2 rsyslogd-2177: imuxsock lost 407 messages from pid
6929 due to rate-limiting
Apr 12 11:16:16 emix2 rsyslogd-2177: imuxsock begins to drop messages
from pid 6929 due to rate-limiting
Apr 12 11:16:17 emix2 rsyslogd-2177: imuxsock lost 66 messages from pid
6929 due to rate-limiting
Apr 12 11:23:54 emix2 rsyslogd-2177: imuxsock begins to drop messages
from pid 6929 due to rate-limiting
Apr 12 11:23:55 emix2 rsyslogd-2177: imuxsock lost 47 messages from pid
6929 due to rate-limiting
...

PID 6929 is milter-greylist one

# ps -ef | grep 6929
smmsp     6929     1  0 Apr07 ?
00:10:56 /usr/local/bin/milter-greylist -v

I do the following changes to /etc/rsyslog.conf and restart service.
 
# default RateLimitInterval=5 et RateLimitBurst=200
$SystemLogRateLimitInterval 2
$SystemLogRateLimitBurst 500

without results ... on imuxsock log messages.

I found no milter-greylist log related to a lot of dropped messages
in /var/log/maillog excepted the few regular ones like :

...
...milter-greylist: u3C9NlWQ031863: skipping greylist because address ...
...milter-greylist: u3C9NnSN031876: skipping greylist because sender is SPF-compliant
...milter-greylist: u3C9O3Is032038: addr  ... delayed for 00:06:25 (ACL 907)
...

I had the same rsyslogd problem with DNS/named and I found at the same
moment in /var/log/bindlog a lot of named log messages before the
message saying dropped messages appering in /var/log/messages.

Why milter-greylist do not log a lot of lines just before  the imuxsock
message ? Is it related to the log level ?

I have the folowing rsyslog line :

mail.info                             -/var/log/maillog

I have no logfac directive in my greylist.conf so default is LOG_MAIL
with different level LOG_WARNING, LOG_INFO, LOG_ERR, LOG_DEBUG.







-- 
Christian P�lissier / 34419
ONERA DRI/RSC
BP72 92322 Chatillon CEDEX

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.