On Sat, Apr 14, 2001 at 05:03:37PM +0000, Jim Breton wrote:
> If I have a process which writes to a mailbox which Mutt already has
> open, is there any reason for this to be considered unsafe?
Yes, both programs might write at the same time and you end up with crap in
the mailbox.
> Any obvious problems with that approach?
Locking! YOur program has to lock the mailbox it wants to append to, then
and only then it can write. Lazy persons can use "postlock" from the Postfix
MTA for locking in shell scripts. It does what you want.
--
[EMAIL PROTECTED] innominate AG
System Engineer Don't be afraid of what you see -
Diplom-Informatiker be afraid of what you don't see!
tel: +49.(0)7000.POSTFIX fax: +49.(0)30.308806-698
PGP signature