Re: OpenSMTPd actual development and integration

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Gilles Chehade
Date: Friday, January 15, 2010 - 1:55 am

On Thu, Jan 14, 2010 at 05:09:03PM -0500, nixlists wrote:

smtp ensures reliability by working on a temporary queue during writes,
then commiting messages (all of them, including bounces) to the real
queue using an atomic rename. after a successful rename, smtpd tells
the client it accepted the message.

with this ordering, you can never have smtpd in a state where it has
lost a message after accepting it or where a message is incomplete and
corrupt in the queue because of a power shortage happening at a wrong
timing. either the message is in queue or it's not, and if it's not
then client/mua was not told message is accepted.

Gilles

-- 
Gilles Chehade
freelance developer/sysadmin/consultant

		   http://www.poolp.org
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
OpenSMTPd actual development and integration, Jean-Francois, (Thu Jan 14, 10:50 am)
Re: OpenSMTPd actual development and integration, Iñigo Ortiz de Urbina, (Thu Jan 14, 11:06 am)
Re: OpenSMTPd actual development and integration, nixlists, (Thu Jan 14, 11:41 am)
Re: OpenSMTPd actual development and integration, Marco Peereboom, (Thu Jan 14, 12:06 pm)
Re: OpenSMTPd actual development and integration, Denis Doroshenko, (Thu Jan 14, 2:26 pm)
Re: OpenSMTPd actual development and integration, nixlists, (Thu Jan 14, 3:09 pm)
Re: OpenSMTPd actual development and integration, Ted Unangst, (Thu Jan 14, 3:34 pm)
Re: OpenSMTPd actual development and integration, Marco Peereboom, (Thu Jan 14, 4:11 pm)
Re: OpenSMTPd actual development and integration, Ben Calvert, (Thu Jan 14, 4:24 pm)
Re: OpenSMTPd actual development and integration, nixlists, (Thu Jan 14, 4:42 pm)
Re: OpenSMTPd actual development and integration, Marco Peereboom, (Thu Jan 14, 5:33 pm)
Re: OpenSMTPd actual development and integration, nixlists, (Thu Jan 14, 5:55 pm)
Re: OpenSMTPd actual development and integration, Marco Peereboom, (Thu Jan 14, 7:16 pm)
Re: OpenSMTPd actual development and integration, nixlists, (Thu Jan 14, 10:05 pm)
Re: OpenSMTPd actual development and integration, Ted Unangst, (Thu Jan 14, 10:39 pm)
Re: OpenSMTPd actual development and integration, Tomas Bodzar, (Fri Jan 15, 12:30 am)
Re: OpenSMTPd actual development and integration, nixlists, (Fri Jan 15, 1:19 am)
Re: OpenSMTPd actual development and integration, Philip Guenther, (Fri Jan 15, 1:36 am)
Re: OpenSMTPd actual development and integration, Gilles Chehade, (Fri Jan 15, 1:41 am)
Re: OpenSMTPd actual development and integration, Tomas Bodzar, (Fri Jan 15, 1:51 am)
Re: OpenSMTPd actual development and integration, Gilles Chehade, (Fri Jan 15, 1:55 am)
Re: OpenSMTPd actual development and integration, Gregory Edigarov, (Fri Jan 15, 2:07 am)
Re: OpenSMTPd actual development and integration, Jean-Francois, (Fri Jan 15, 4:57 am)
Re: OpenSMTPd actual development and integration, Jacek Masiulaniec, (Fri Jan 15, 7:03 am)
Re: OpenSMTPd actual development and integration, Marco Peereboom, (Fri Jan 15, 7:22 am)
Re: OpenSMTPd actual development and integration, Gilles Chehade, (Fri Jan 15, 8:55 am)
Re: OpenSMTPd actual development and integration, nixlists, (Fri Jan 15, 3:24 pm)
Re: OpenSMTPd actual development and integration, nixlists, (Fri Jan 15, 3:27 pm)
Re: OpenSMTPd actual development and integration, nixlists, (Fri Jan 15, 4:12 pm)
Re: OpenSMTPd actual development and integration, Marco Peereboom, (Fri Jan 15, 6:50 pm)
Re: OpenSMTPd actual development and integration, Ted Unangst, (Fri Jan 15, 6:54 pm)
Re: OpenSMTPd actual development and integration, Matthew Dempsky, (Fri Jan 15, 9:05 pm)
Re: OpenSMTPd actual development and integration, Ted Unangst, (Fri Jan 15, 10:06 pm)