MailScanner start/stop issues on SuSE 10.2

Res res at ausics.net
Tue Jan 2 14:50:03 CET 2007


On Tue, 2 Jan 2007, Joachim Holzfuss wrote:

>
>
> Res <res <at> ausics.net> writes:
>
>>
>> On Tue, 2 Jan 2007, Joachim Holzfuss wrote:
>>
>>> Hi,
>>>
>>> Stopping MailScanner with the init.d script leaves the huge number of
>>> individual sendmail  connections alive, it stops the sendmail daemons though.
>>
>> This is correct method, stopping sendmail stops the listeners, it wont
>> nor should it kill any existing sendmail children in a transaction, once
>> the transaction is complete the childs die off anyway.
>>
>
> Hi,
>
> but starting with
> /etc/init.d/MailScanner start
> fails to start the sendmail "accepting connections" listener
> if any old sendmail children are existing (queue runners are started).
> Start only succeeds starting the listener after they have been killed.
> Greetings j.
>
> PS:
> This one is missing after restart:
> root     10766     1  2 13:06 ?        00:02:02 sendmail: accepting connections


Hrmm, try running it via strace to see what the go is, but a cure you 
could use is,  adding at the beginning of the "start" procedure in the 
init file:

kill -9 `head -n 1 /var/run/sendmail.in`


-- 
Cheers
Res

"So, you think you can tell Heaven from Hell?" - Roger Waters




More information about the MailScanner mailing list