Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] milter-greylist-2.0.2 crash

2006-01-27 by Eugene Filatov

On Thu, 26 Jan 2006 manu@... wrote:

> > What about  using "open, malloc+snprintf+write+free" in milter-greylist?
> > It should be the best solution.
> I'm not sure it's easy to do in a clean way. Do you want to give it a
> try?

Unfortunally, I'm not proficient in C and I will be not able to implement
it :( I'll offer it to my friend, but I'm not sure that he will agree to
make it for us, because he is quite busy person.

Another idea - we can just skip dumping and report it to log if can't get
usable file descriptor on solaris. Now, in last patch we're just exit from
milter-greylist in this case.

As we found before, "usleep" is thread unsafe on solaris 8.
what about using "poll" instead of "usleep"?

Something like:

poll(NULL, NULL, 1000);

Best Regards, 					mailto:eugenef@...
	Eugene.

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.