Reloading MS service via email?
Max Kipness
mkipness at GENIANT.COM
Tue Mar 23 22:07:55 GMT 2004
Sending -HUP does not work as the user 'mail' does not have read perms
to the pid file. Can the perms on this file be written differently to at
least give read perms?
No, I don't mind sending them to you. But let me complete them and
organize a little better. They are in crude form right now.
________________________________
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
Behalf Of Alex Neuman
Sent: Tuesday, March 23, 2004 3:30 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Reloading MS service via email?
How about sending -HUP to the MailScanner process? I'd love to get a
copy of your scripts, if you don't mind...
-----Original Message-----
From: MailScanner mailing list
[mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Max Kipness
Sent: Tuesday, March 23, 2004 3:11 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Reloading MS service via email?
I've got my scripts pretty much ironed out so that a user can
simply forward a spam message to an email address, have the spam email
added to the blacklist and then sent a confirmation. What I'd like to
also do is have the script reload the MailScanner service. Since this is
being done via the user 'mail', can anyone give me some tips on the best
way to accomplish this. So far I'm thinking of using SUDO to allow
'mail' to run 'kill' and /etc/init.d/MailScanner? Is there a better
and/or more secure way?
Thanks,
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20040323/40cf8c20/attachment.html
More information about the MailScanner
mailing list