Alternatively, you can just remove the --name option
root# start-stop-daemon --stop --oknodo --pidfile /var/run/postgrey.pid
Also since
root:~# /etc/init.d/postgrey stop
does not stop the daemon, then
root:~# /etc/init.d/postgrey reload
means that the configuration files in /etc/postgrey are *not* reread. You have to manually kill the postgrey daemon and then start it. Not obvious, if you're trying to figure out why emails are disappearing.
Alternatively, you can just remove the --name option
root# start-stop-daemon --stop --oknodo --pidfile /var/run/ postgrey. pid
Also since
root:~# /etc/init. d/postgrey stop
does not stop the daemon, then
root:~# /etc/init. d/postgrey reload
means that the configuration files in /etc/postgrey are *not* reread. You have to manually kill the postgrey daemon and
then start it. Not obvious, if you're trying to figure out why emails are disappearing.