FreeBSD and MailScanner --lint

Julian Field MailScanner at ecs.soton.ac.uk
Wed Aug 8 14:36:51 IST 2007



Mikael Syska wrote:
> Glenn Steen wrote:
>> On 08/08/07, Glenn Steen <glenn.steen at gmail.com> wrote:
>>  
>>> On 08/08/07, Glenn Steen <glenn.steen at gmail.com> wrote:
>>>    
>>>> On 08/08/07, Mikael Syska <mikael at syska.dk> wrote:
>>>>      
>>>>> Hi,
>>>>>
>>>>> Dont knwo if this is intended to be so, but here goes ....
>>>>>
>>>>> root [/usr/local/etc/MailScanner]# /usr/local/etc/rc.d/mailscanner 
>>>>> restart
>>>>> Stopping mailscanner.
>>>>> Waiting for PIDS: 778, 778.
>>>>> Starting mailscanner.
>>>>>
>>>>> root [/usr/local/etc/MailScanner]# cat /var/run/MailScanner.pid
>>>>> 3229
>>>>>
>>>>> Then running running, with MailScanner still running:
>>>>> #MailScanner --lint
>>>>>
>>>>> Its overwriting:
>>>>> root [/usr/local/etc/MailScanner]# cat /var/run/MailScanner.pid ( 
>>>>> yes,
>>>>> it writes MailScanner in the pid file )
>>>>> MailScanner
>>>>>
>>>>> Is this the way its supposed to be or ? I just noticed this today ...
>>>>>
>>>>>         
>>>> Very likely not.
>>>>
>>>> I just verified that it does this on Mandriva with the rpm install
>>>> method (and hence likely on any rpm-based system, perhaps barring
>>>> SuSE...).
>>>>
>>>> Will have a look.
>>>>
>>>> Cheers
>>>>       
>>> Looking at that init script... it just seems to be set there, never
>>> really used... Perhaps check_MailScanner uses it, will look further...
>>> Nope, not that I can easily grep/see at a cashual glance. So it should
>>> be safe... One can wonder what good it does, setting/managing at
>>> all:-).
>>>
>>>     
>> The error seems to be only with how the .lint is implemented... Can't
>> promise any fix or anything (if Jules don't reappear:-), I've got a
>> lot on my plate today...
>>
>> Cheers
>>   
> Lets hope Jules seems this messeage and will fix it in a release in 
> the future ... just have to remember to stop MS before running --lint 
> or else there will be processes floating around.
>
> Its fine you hijacked my thread, as long as it helps MS to become bug 
> free and even better.
Can anyone think up a good idea why I was writing a PID file in --lint?
I can't think of one :-(

I've commented it out for now.

Jules

-- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

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.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list