Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Re: milter-greylist patch for DRAC

2005-11-28 by Emmanuel Dreyfus

On Mon, Nov 28, 2005 at 04:54:45PM -0000, Romain Kang wrote:
> Thanks for taking time to review my patch.  It sounds like your notes
> about EXF_SPF could be the basis of "So you want to add <blah> support
> to milter-greylist"...

No, that's not my point. It's just that milter-greylist attempts to 
add a header in each mail telling why it was greylisted. This is done
through these EXF_* flags. If you don't add one (and add the header
later by looking at the EXF_* flags), then the header will not be there.

> > 4) As I understand, milter-greylist is only a consumer of the DB 
> > database. Anotehr process will feed it. What happens if we read while
> > the other process is writing?
> 
> It looks like sendmail protects itself by using Berkeley style locking
> if available, fcntl locking otherwise.  That looks like another
> autotools check to do it in milter-greylist.  Not sure whether
> sendmail opens its DB files every time or just flips the lock on and
> off as needed.  

Bo basically we won't be able to open it if it's been written? Then we need
to loop until we can open it, don't we?

-- 
Emmanuel Dreyfus
manu@...

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.