Change default Lock Type for sendmail ?

Stephen Swaney steve.swaney at fsl.com
Mon Jan 23 16:22:54 GMT 2006


> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] On Behalf Of Matt Hampton
> Sent: Monday, January 23, 2006 11:04 AM
> To: MailScanner discussion
> Subject: Re: Change default Lock Type for sendmail ?
> 
> Wietse Muizelaar wrote:
> > Hi,
> >
> > On Monday, January 23, 2006 4:39 PM,
> > Randal, Phil <prandal at herefordshire.gov.uk> wrote:
> >
> >> Julian,
> >>
> >> Is there any sane way to autodetect it and just do the right thing?
> >
> > AFAIK there is not a failsafe way to autodetect this one; I remember
> > seeing something in the list-archive about this.
> > But I guess it's a good thing to put the posix-locktype to default; yes.
> >
> 
> Can't the output of  "sendmail -d0.13 -bt </dev/null | grep FLOCK" be
> used?
> 
> My 8.12 box returns a line, my 8.13 doesn't........
> 

sendmail -d0.13 -bt < /dev/null | grep Version | awk '{print $2}'

At least returns the correct version on the systems I've tested on.

Steve

Stephen Swaney
Fort Systems Ltd.
stephen.swaney at fsl.com
www.fsl.com



More information about the MailScanner mailing list