change in behaviour

Martin.Hepworth martinh at
Fri May 9 13:45:56 IST 2008


It selects the lock type based on the MTA itself not just the version.

Most people are on modern sendmails now so for sendmail it defaults to posix rather than flock.

Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

> -----Original Message-----
> From: mailscanner-bounces at [mailto:mailscanner-
> bounces at] On Behalf Of Greg Matthews
> Sent: 09 May 2008 13:03
> To: MailScanner discussion
> Subject: change in behaviour
> Installing MailScanner at a customer site on RHEL3 I noticed file
> locking problems. It seems the auto-detecting of required lock type
> (dependent on sendmail version) does not work in 4.68.8.
> When I manually set the lock type to flock, the locking problems
> disappeared.
> Waaay back on this list there was much discussion about lock type and
> then Julian made MailScanner autodetect the required locking... am I
> misremembering? Anyway, 4.68.8 defaulted to posix whereas the previous
> version (4.50.15) autodetected correctly and worked with a blank "Lock
> Type ="
> Not a major problem as I found and fixed it by setting "Lock Type =
> flock"  but thought it might be of interest.
> sendmail 8.12.x
> perl 5.8.0
> MailScanner 4.68.8
> --
> Greg Matthews           01491 692445
> Head of UNIX/Linux, iTSS Wallingford
> --
> This message (and any attachments) is for the recipient only. NERC
> is subject to the Freedom of Information Act 2000 and the contents
> of this email and any reply you make may be disclosed by NERC unless
> it is exempt from release under the Act. Any material supplied to
> NERC may be stored in an electronic records management system.
> --
> MailScanner mailing list
> mailscanner at
> Before posting, read
> Support MailScanner development - buy the book off the website!

Confidentiality : This e-mail and any attachments are intended for the 
addressee only and may be confidential. If they come to you in error 
you must take no action based on them, nor must you copy or show them 
to anyone. Please advise the sender by replying to this e-mail 
immediately and then delete the original from your computer.
Opinion : Any opinions expressed in this e-mail are entirely those of 
the author and unless specifically stated to the contrary, are not 
necessarily those of the author's employer.
Security Warning : Internet e-mail is not necessarily a secure 
communications medium and can be subject to data corruption. We advise 
that you consider this fact when e-mailing us. 
Viruses : We have taken steps to ensure that this e-mail and any 
attachments are free from known viruses but in keeping with good 
computing practice, you should ensure that they are virus free.

Red Lion 49 Ltd T/A Solid State Logic
Registered as a limited company in England and Wales 
(Company No:5362730)
Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU, 
United Kingdom

More information about the MailScanner mailing list