manual whitelist modification: concurrent access issue

Marc Herbert <[email protected]> Sat, 28 Feb 2004 02:43:19 +0100 (CET)
Newsgroups gmane.mail.spam.active-spam-killer.general
Message-ID <Pine.LNX.4.58.0402271843520.20550@fcat>
Sometimes your definitely want to manually add someone in your
whitelist. I see (at least) two non-anectodical cases:

- you write to someone who may also use ASK, and want to avoid the
  deadlock.

- you write to someone overbusy/important, and you want to:
   - not bother him with the confirmation
   - receive his message as soon as possible

The issue is then obviously: what happens if ASK tries to edit the
whitelist file at the same time as you ?

The poor solution I use so far is to suspend the mail stream (that
translates into killing fetchmail for me), edit the whitelist, and
finally restart the mail stream.

Any better idea ?




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click