On Friday 05 December 2003 09:46, Aleksander Adamowski wrote:
Does anyone know how can one safely order esmtpd or courierd to reload
all its config files without doing the same for imapd?
When I restart courier, all connected IMAP clients get a stream of "The
server has disconnected" error messages. Even if I've only wanted to
change a small change in queue handling (the "queuetime" file) or the
list of local/accepted/hosted domains.
I assume that when you say "restart courier" you mean using whatever init
scripts your distribution uses. I run redhat so I can restart the whole
courier suite by running
/etc/init.d/courier restart
If you read your init script (/etc/init.d/courier for redhat, mandrake, suse,
etc. - don't know about others) then you'll see exactly what it's doing and
which processes are actually being started when you run it.
I think what you want is "courier restart" to restart the courier process and
make it reread its configuration files. You can also run "esmtpd restart",
"esmtpd-ssl restart", etc. to stop, start, and restart different parts of the
courier suite. Again, the init script will show you exactly what's happening
when you start and stop the entire thing.
The man pages also show you which options the processes take. "man courier",
"man esmtpd", etc.
Hope that helps.