[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] how to auto-start mailscanner again



At 03:01 PM 7/18/2003 -0400, you wrote:
At 02:25 PM 7/18/2003 -0400, you wrote:
Sorry for the re-post, but I didn't get a copy....

> After getting all the spam code configured in my sendmail.cf and it is
> correctly working, my mailscanner no longer starts. I manually started it
> with:
> cd /var/spool/mqueue
> rmdir q1 q2 q3 q4
> /etc/rc.d/init.d/mailscanner restart
>
> and it started correctly.
> My question is:
> Do I need to modify something to make sure mailscanner starts, if a
re-boot
> is necessary, or will it automatically re-start, as does sendmail?
>
> Thanks
>

I've dealt with this and tested it numerous times. run 'chkconfig --list sendmail.' Annotate the runlevels that sendmail utilizes. Then run 'chkconfig --levelxxxxx sendmail off' and replace the xs with the runlevels from sendmail that the previous command listed as 'on.' Then run 'chkconfig --levelxxxxx mailscanner on' and replace the xs with those same runlevels as the previous command.

NOTE! This will cause the check box in the GUI indicating that the mail server is running. But the mail server IS STARTED AT BOOT!

Whoops! I got interrupted for a meeting and got in a hurry. The checkbox in the GUI indicates that the mail server is off. But if you do a 'ps aux' you can verify that sendmail is running as well as the mailscanner. Unfortunately, you still have to kill the mail scanner process to completely stop it.

Cheers

_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users