[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AW: [vps-mail] SA 3.02 - restarting spamd to read local.cf whitelists?
- Subject: Re: AW: [vps-mail] SA 3.02 - restarting spamd to read local.cf whitelists?
- From: Abigail Marshall <abigail@xxxxxxxxxxxx>
- Date: Wed, 16 Feb 2005 16:33:31 -0800 (PST)
--- ADNET Ghislain <gadnet@xxxxxxxxxx> wrote:
> i only use it on the shell not with an alias and i
> don't catch this
> problem, there should be a way to escape it so it
> run each time.
> i will see if i can find it when i have 5 minutes
> before me.
I had run into this problem before with aliasing - and
I haven't been able to find a solution - but then I
doubt I ever found or spent 5 minutes seeking one. The
problem is that we create aliases to save time.... and
if we are going to spend 5 minutes at anything, we
might as well type out the command.
Then again, I confess to have been in the very, very
bad habit of restarting spamd with a reboot -- that's
a lot of brute force for a minor problem. That was
very lazy on my part.... so I'm happy to have a much
more gentle approach.
> anyway you
> can put this shell script:
>
> --------------------------------------------------
> #!/bin/sh
>
> kill -HUP `cat /var/run/spamd.pid`
> ---------------------------------------
>
> in /usr/local/bin and chmod it to 750 and chown
> root:wheel
> this way it will work all the time :p
>
Thank you for the very clear instructions! Your script
works like a charm -- to avoid confusion with the
other alias I created, I named the script reset_spamd
-- and with that script, of course, there is no need
for an alias.
-Abigail
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index