Julian Field MailScanner at
Sun Sep 10 10:40:30 IST 2006

Derek Catanzaro wrote:
> Greg Borders wrote:
>> Logan Shaw wrote:
>>> On Tue, 5 Sep 2006, Rob Poe wrote:
>>>> Is there a way to start MailScanner so that it processes any messages
>>>> in it's queue, but does not accept new incoming messages?
>>> Well, it's a queue that sendmail and MailScanner share (sendmail
>>> is the producer, MailScanner is the consumer), so it's not
>>> really MailScanner that controls whether messages are accepted.
>>> You could kill the incoming sendmail, but I don't recommend it.
>> Usage: service MailScanner 
>> {start|stop|status|restart|reload|startin|startout|stopms}
>> Couldn't you issue
>> service MailScanner stop
>> service MailScanner startout
>> And thus have MS process any messages in queue, and not accept any 
>> new messages.
>> We must keep in mind, MailScanner is the puppet master, and the MTA, 
>> virus scanners and SA are all puppets!
>> Greg. Borders
>> Sys. Admin.
>> JLC Co.
> Back to the original question.  You can have MailScanner process 
> messages in the queue without accepting new messages.  As Greg Borders 
> mentioned you have to issue the commands above but one was left out 
> (check_MailScanner).  So issue the following:
> service MailScanner stop  (note:  I normally issue a "service 
> MailScanner status" after this to make sure MS and sendmail in/out 
> turned off, sometimes I have to do a service MailScanner stop a couple 
> of times to make sure everything is off)
If you wait a few seconds, they will die on their own. They do a whole 
load of clean-up when they are killed, so as not to leave your system in 
a mess. This is why the "restart" service operation waits for 30 seconds 
between stopping and restarting.

Julian Field
Buy the MailScanner book at
Professional Support Services at
MailScanner thanks transtec Computers for their support

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

More information about the MailScanner mailing list