Change default Lock Type for sendmail ?
Pentland G.
G.Pentland at soton.ac.uk
Mon Jan 23 15:54:11 GMT 2006
>From sendmail 8.12.5 release notes...
<snip>
NOTE: Linux appears to have broken flock() again. Unless
the bug is fixed before sendmail 8.13 is
shipped,
8.13 will change the default locking method to
fcntl() for Linux kernel 2.4 and later. You may
want to do this in 8.12 by compiling with
-DHASFLOCK=0. Be sure to update other sendmail
related programs to match locking techniques.
</snip>
So from sendmail 8.12.5 it was set-able easily in site.config.m4.
Trouble is that sendmail on BSD/Solaris will quite possibly be using
flock still. I don't think there is an easy way to detect it.
I think it may be easier for newbies to change it but theres still a lot
of sendmail 8.12.x out there.
just my thoughts,
Gary
mailscanner-bounces at lists.mailscanner.info wrote:
> Julian,
>
> Is there any sane way to autodetect it and just do the right thing?
>
> Cheers,
>
> Phil
>
> ----
> Phil Randal
> Network Engineer
> Herefordshire Council
> Hereford, UK
>
>> -----Original Message-----
>> From: mailscanner-bounces at lists.mailscanner.info
>> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of
>> Julian Field Sent: 23 January 2006 15:31
>> To: MailScanner mailing list
>> Subject: Change default Lock Type for sendmail ?
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>>
>> Is it about time I changed the default setting for "Lock
>> Type" to "posix" for sendmail users?
>>
>> It applies to most sendmail 8.13 (and upwards) users. Other
>> people would have to change it to "flock" if required.
>> It's just that most newbie users will be using whatever their
>> Linux distro ships with, which is now likely to be 8.13 these days,
>> isn't it?
>>
>> Opinions, please?
>> - --
>> Julian Field
>> www.MailScanner.info
>> Buy the MailScanner book at www.MailScanner.info/store PGP
>> footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: PGP Desktop 9.0.4 (Build 4042)
>>
>> iQEVAwUBQ9T2zPw32o+k+q+hAQHlkAf+OMTEJIAZhpR8FWKA/t/yEKC0652zv8sY
>> 0j2btJdpdVSKzDRKFOHgf+Y8ZaTJJiLfJRfovR1BISrxPR/tniEsI5FmcqL5Mdhr
>> ZB+Ns+kOd5a6FPIoC8u30HFA1uv2H5mrtTRkgY5nyHBoSzmlfosrP0L8RjBN1LUm
>> Jy/kaddAl0eIimzJqYrd7zF5vXjlcmMHxLLPAtsfSSw+giD9hYIARvrRlxxmnVbc
>> nU4t8ryA/VKMA5qPPmMbIcXxy2ZbnhHewxYttHcMl847ImCU9zbKZzGgBpM3K4IC
>> 9f1vOhkk2f8neUSo62hsSZDAj5xQsb6JlyHnV4rt2GiNbGTqsUoOkQ== =Q0nE
>> -----END PGP SIGNATURE-----
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>> --
>> MailScanner mailing list
>> MailScanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list