Antwort: Message size query

Nick Phillips nwp at LEMON-COMPUTING.COM
Wed Dec 12 13:42:46 GMT 2001

On Wed, Dec 12, 2001 at 02:40:09PM +0100, Stephan Effertz wrote:
> I've had the same problem with SuSE 6.4 running sendmail 8.9.x   (Not sure
> about the exact version).
> After installing the sendmail.rpm from SuSE 7.0  (sendmail 8.11.x -
> available as update for SuSE 7.0 - ) the error went away. Additionally
> I've added file locking to mailscanner.conf (flock). Looks like sendmail
> 8.9 releases file locks while receiving mails before they are completed.
> So mailscanner "grabs" these files and sendmail come's up with the file
> re-open error.

Mailscanner *always* tries to play friendly with locks. The locking
parameter in the conf file is there to tell mailscanner *which type* of
locking to use, if you have a weird build of sendmail or exim which does
not use the standard locking that we think that mailer uses (flock for
sendmail, posix for exim). As the comments in the conf file state,
*don't change* this parameter unless you are **sure** that you know what
you are doing (or unless you don't care about lost/corrupt/infected mail).

Without a combination of seeing logs/code/being a sendmail expert, I wouldn't
like to rush to judgement, but it does sound like you may be on the right

But you don't need to change/set mailscanner's locking.

Nick Phillips -- nwp at
Give him an evasive answer.

More information about the MailScanner mailing list