[OpenAFS] Mail delivery into OpenAFS
Nathan Ward
nward@esphion.com
Mon, 07 Jul 2003 14:06:31 +1200
On Sun, 06 Jul 2003 18:55:26 -0700, Russ Allbery <rra@stanford.edu> wrote:
>
>> Maildir works for me because I patched qmail-local.c to rename if it
>> can't link. Perhaps I should check if the new filename exists, and if it
>> does temporarily defer delivery.
>
> Oh, if you don't *really* care about safe mail delivery, locking isn't
> nearly as much of a problem. :)
Well sure, at present its not safe. Defering the message for later delivery
however should be.
Or I could check to see the file exists as the name is generated, if it
does, regenerate..
In qmail, filenames are based on delivery time (AFAIK). Down to .00001 of a
second. I'd say its more or less "safe". How about I tack a process ID on
the end of that too. Happy? :P :)
Or have I missed something.. ?
--
Nathan Ward
Esphion Ltd.