Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] milter-greylist stopped writing log file

2016-02-19 by Bob Friesenhahn

On Wed, 17 Feb 2016, Jim Klimov jimklimov@... [milter-greylist] wrote:
>>
>> Are there any known issues with milter-greylist writing its log file?

Today I noticed this in syslog after having just updated 
greylist.conf:

Feb 18 20:40:34 smtp milter-greylist: [ID 594051 mail.info] reloading config file "/etc/mail/greylist.conf"
Feb 18 20:40:34 smtp milter-greylist: [ID 133745 mail.error] fopen_ext: failed and descriptor 72 lost!
Feb 18 20:40:34 smtp milter-greylist: [ID 975932 mail.warning] cannot open ">>/var/milter-greylist/greylist.log" at line 15: out of stdio streams
Feb 18 20:40:34 smtp milter-greylist: [ID 994696 mail.info] reloaded config file "/etc/mail/greylist.conf" in 0.011320s

I am using version 4.5.16 on an OmniOS system (Solaris-based, 32-bit 
build), configured with the --enable-stdio-hack option.

It seems that not writing the log file is due to an actual bug. 
Perhaps it needs to reserve a spare file descriptor or there is a more 
severe problem.

There are only a couple of mail accounts here and it seems 
unreasonable that milter-greylist would be so busy to have exhausted 
all file descriptors (it did not look terribly busy at the time).

Bob
-- 
Bob Friesenhahn
bfriesen@..., http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

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.