Sendmail locking patch not activated?
Julian Field
mailscanner at ecs.soton.ac.uk
Wed Jun 16 13:56:22 IST 2004
Yes, it caused immediate trouble. Many versions of sendmail which only
support flock() don't say HASFLOCK when passed -d0.10. I had to withdraw it
very quickly.
At 13:48 16/06/2004, you wrote:
>Hi,
>
>is there a reason that the sendmail lock detection patch is not
>active?
>
>Sendmail.pm:
>
> # Patch by Kevin Spicer to detect HASFLOCK
> $this->{LockType} = "flock";
> # Automatically detect locking type
> #my $cmd = MailScanner::Config::Value('sendmail') . " -bt -d0.10 <
> /dev/null";
> #if ( grep /HASFLOCK/, `$cmd` ) {
> # $this->{LockType} = "flock";
> #} else {
> # $this->{LockType} = "posix";
> #}
> # End patch
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-------------------------- MailScanner list ----------------------
To leave, send leave mailscanner to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/ and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html
More information about the MailScanner
mailing list