Is there a way to restart spamd after I make changes without rebooting
the whole machine? I looked in the qmailctl script, but did not see any
entries to restart the process. Will 'svc -u
/var/qmail/supervise/spamd' work?
Thanks in advance!
Okay, I wrote a script to control spamd a little with Qmail-Toaster.
It's available at http://jakev.com/qmail/qmail-spam . I just chmod'ed it
to 755 and dumped it into my path (/usr/bin) to make it accessable from
everywhere. Simplifies things for me when actively working on
SpamAssassin rules and such. Here's the highlights:
[EMAIL PROTECTED] ~]# qmail-spam help
stop -- stops spamd service
start -- starts spamd service
pause -- temporarily stops spamd service
cont -- continues paused spamd service
stat -- displays status of spamd service
restart -- stops and restarts spamd
status -- displays status of spamd service
No need to keep rebooting the machine whenever I add rules and de--lint
the files to get everything working together again.
If anyone wants to add/comment on the script, drop me a line (especially
appreciate your input, Nick!). I tested all the options with it, so I
**THINK** it's bug free!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]