[maildropl] Re: [courier-users] Re: OpenBSD 3.2 breaks Courier, Qmail.
Brought to you by:
mrsam
From: Johan L. <jo...@li...> - 2003-01-16 06:16:10
|
>I actually had another brainstorm today. Add the file's inode, when >moving the message from tmp to new: > >tmp/timestamp.unique_pid.hostname -> >new/timestamp.inode.unique_pid.hostname Well, if the goal is to eliminate race conditions, this still won't do the= trick. Remember one of my early mails about this, Sam? Before we took it to the list. I suggested making one of the always-present daemons a central point of message names. Have courierd (for example) simply hand out unique file names on a TCP port. Simple to do, and completely, absolutely, eliminates all race= conditions and conflicts. You no longer need PID's, inodes or whatever. Just a counter. /J |