OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: corrupt messages

From: Ben Rosengart (br+postfixpanix.com)
Date: Mon May 03 2004 - 16:41:24 CDT


On Mon, May 03, 2004 at 05:31:22PM -0400, Wietse Venema wrote:
> Ben Rosengart:
> > After a crash:
> >
> > postfix-mailspool/postfix-script: warning: damaged message: corrupt/533871B7E4E
> >
> > I am particularly interested to know whether or not
> > we have lost any mail.
>
> Postfix does not acknowledge receipt of mail before the fsync()
> system call has returned success.

In other words, unless the OS or the underlying storage is lying to
Postfix with the return of fsync(), I have nothing to worry about,
is that what you're saying?

  DESCRIPTION
       fsync() causes all modified data and attributes of fd to be
       moved to a permanent storage device.

My understanding is that NFS preserves this guarantee. So, good.

--
Ben Rosengart (212) 741-4400 x215
 To accuse others for one's own misfortunes is a sign of want of education.
 To accuse oneself shows that one's education has begun. To accuse neither
  oneself nor others shows that one's education is complete. -- Epictetus