Change default Lock Type for sendmail ?

Denis Beauchemin Denis.Beauchemin at USherbrooke.ca
Mon Jan 23 19:10:21 GMT 2006


Stephen Swaney wrote:

>>-----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}'
>  
>
Or with optimization on ;-)
sendmail -d0.13 -bt < /dev/null | awk '/Version/{print $2}'

Denis

-- 
   _
  °v°   Denis Beauchemin, analyste
 /(_)\  Université de Sherbrooke, S.T.I.
  ^ ^   T: 819.821.8000x2252 F: 819.821.8045




More information about the MailScanner mailing list