CVSROOT:        /cvs
Module name:    src
Changes by:     e...@cvs.openbsd.org    2012/01/12 10:00:56

Modified files:
        usr.sbin/smtpd : queue_fsqueue.c 

Log message:
Add a fsqueue_envelope_dump_atomic() function that writes an envelope
to incoming/envelope.tmp before moving it to its final destination.
This allows to make sure that envelopes created directly in the queue
(such as bounces) can't let the queue in an inconsistent state if
the program stops in the middle of an envelope dump.

This also allow to simplify qwalk, since we don't put any temporary
contents anywhere in "walkable" queue dirs.

ok gilles@

Reply via email to