Stopping MailScanner (gracefully?)

Julian Field mailscanner at ecs.soton.ac.uk
Tue Jul 30 08:52:30 IST 2002


At 21:42 29/07/2002, you wrote:
>Is it "safe" to stop MailScanner by just doing a `kill <pid>'?

Yes.

>I.e. does MailScanner do any signal trapping and graceful exiting
>on the receipt of a TERM signal?

No, but it takes great care at startup to clear up from any previous
stoppage (which could have been a power-out or a reboot).

>   Or, if killed as above will things
>be left half-done and intermediate files left behind, etc.?

It will clear up and pick up where it left off. No messages will be missed
at all.

>If MailScanner *does* pay attention to signals, can you do a
>`kill -HUP <pid>' to make it re-read the configuration file?

This is one of the features on the wishlist already.
--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list