Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2003 22:36:45 -0700
From:      Gregory Neil Shapiro <gshapiro@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: post last sendmail upgrade
Message-ID:  <20030417053645.GD590@horsey.gshapiro.net>
In-Reply-To: <200304170312.h3H3C7M2032490@drugs.dv.isc.org>
References:  <200304170312.h3H3C7M2032490@drugs.dv.isc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 17, 2003 at 01:12:07PM +1000, Mark.Andrews@isc.org wrote:
> 
> 	I've noticed email corruption post the last upgrade to sendmail
> 	committed to stable.  Is anyone else experiencing this?

I just read through the diff between 8.12.6 (4.7-RELEASE) and 8.12.9 and
didn't see anything in sendmail itself that would cause message corruption.
I did however spot one oddity in mail.local but older versions would have
suffered from the same race condition.  Basically, if the close() on
the mailbox fails (due to disk full, user over quota, or a write error
only caught after the fsync() (which shouldn't happen)), the mailbox
is truncated back to the pre-message size without re-locking the mailbox.
It's doubtful this is happening to you since the chances of close() failing
and the previous fsync() not are pretty low.  You would also see temporary
delivery failures of the form "450 4.2.0 <strerrror(errno) output>" in
syslog.

Are you using mail.local or some other local delivery agent?  How
are you reading your mail from your mailbox; could that pop/imap/MUA
be responsible?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030417053645.GD590>