Viktor Dukhovni via Postfix-users wrote in <z9jzkjneeomw5...@chardros.imrryr.org>: ... |When a queue file is initially created its permissions are 0600, with |the "execute" bit set (and fsync() called) once the message is fully ...
That sounding of "and fsync called" made me look, and postfix supports darwin, and uses fsync(2) there, too. Now i read * [.] Some people believe that this code has a * problem if the system crashes before fsync() returns; fchmod() could * take effect before all the data blocks are written. Wietse claims that * this is not a problem. Postfix rejects incomplete queue files, [.] * [.] Every Postfix queue file * must end with an explicit END record. Postfix queue files without END * record are discarded. in src/global/mail_stream.c, but still wanted to point to what you surely already know, and that is Darwin saying For applications that require tighter guarantees about the integrity of their data, Mac OS X provides the F_FULLFSYNC fcntl. The F_FULLFSYNC fcntl asks the drive to flush all buffered data to permanent storage. Applications, such as databases, that require a strict ordering of writes should use F_FULLFSYNC to ensure that their data is written in the order they expect. Please see fcntl(2) for more detail. I remember postfix was installed on the two Macs i ever owned, Snow Leopard and .. i have forgotten the MacBook Air one, it was the one thereafter, so surely there has been a lot of feedback and personal and monetary appreciation. I was only wondering. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org