Sendmail et Lock Type

Julian Field MailScanner at ecs.soton.ac.uk
Wed Sep 28 15:31:01 IST 2005


On 28 Sep 2005, at 15:13, Denis Beauchemin wrote:

> Scott Silva wrote:
>
>
>> Denis Beauchemin spake the following on 9/27/2005 1:09 PM:
>>
>>
>>> Hello all,
>>>
>>> I just discovered that one of my servers running sendmail 8.13.1  
>>> has a
>>> blank "Lock Type" in MailScanner.conf (running version 4.44.6).  I
>>> sometimes see lines line the following in the log:
>>> Sep 27 14:20:01 smtpe2 sendmail[9072]: j8RGeDXL003186: SYSERR(root):
>>> readqf: cannot open ./dfj8RGeDXL003186: No such file or directory
>>>
>>> I guess they are related.  I tried to remember how to get  
>>> confirmation
>>> that my sendmail was indeed using posix locks but couldn't find  
>>> anything...
>>>
>>> I tried "sendmail -d0.1</dev/null" but there is nothing in the  
>>> output
>>> about locks...  can someone help me out?
>>>
>>> Thanks!
>>>
>>> Denis
>>>
>>>
>>>
>> Try "sendmail -bt -d0.10 < /dev/null | grep HASFLOCK"
>>
>>
>>
> Scott,
>
> It prints nothing.  So I guess it doesn't use FLOCK but uses LOCKF  
> (or Posix) locks?

Correct. You need to set "Lock Type = posix".

-- 
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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list