From: Craig Sanders (no email)
Date: Mon Nov 01 2004 - 16:10:47 EST
On Mon, Nov 01, 2004 at 03:56:08PM -0500, Victor Duchovni wrote:
> On Tue, Nov 02, 2004 at 07:53:01AM +1100, Craig Sanders wrote:
>
> > > A restart is only required when inet_interfaces is changed.
> >
> > nope, a restart is required when you change master.cf. reload is required when
> > you change main.cf
>
> I'm with Magnus on this one, reload is generally enough.
since when?
for as long as i've been using postfix, i've needed to restart postfix when
master.cf has changed, and reload it when main.cf changes or when pcre or
regexp or plain text map files change (but NOT hash etc maps). it auto-detects
changes to hash map files.
it's why i have rules like the following in my /etc/postfix/Makefile:
.stamp-reload: header_checks body_checks pcre.cf pcre-client.cf main.cf
/etc/init.d/postfix reload
touch .stamp-reload
.stamp-restart: master.cf
/etc/init.d/postfix restart
touch .stamp-restart .stamp-reload
craig
-- craig sanders <> (part time cyborg)
|
|
|