Re: Dumping effective postfix configuration

2023-01-06 Thread Wietse Venema
Viktor Dukhovni: > > The Postfix master creates as many sockets as needed for an inet > > service, and sets the socket option SO_REUSEADDR on each socket, > > and bind()s them to the desired addresses. > > > > With that, it may be possible for the Postfix master to create new > > sockets, set

Re: Dumping effective postfix configuration

2023-01-06 Thread Wietse Venema
Demi Marie Obenour: Checking application/pgp-signature: FAILURE -- Start of PGP signed section. > On 1/6/23 07:15, Wietse Venema wrote: > > Peter Wienemann: > >> Hi, > >> > >> is there a way to dump the effective postfix configuration rather than > >> the one specified in main.cf/master.cf? It

Re: Dumping effective postfix configuration

2023-01-06 Thread Viktor Dukhovni
On Fri, Jan 06, 2023 at 03:28:23PM -0500, Wietse Venema wrote: > > The documentation of inet_interfaces says otherwise, my recollection is > > that master(8) does not attempt to rebind inet sockets on "reload": > > I see. Yes, that could be dififcult. Or maybe not. > > The Postfix master

Re: Dumping effective postfix configuration

2023-01-06 Thread Emmanuel Fusté
Le 06/01/2023 à 21:03, Demi Marie Obenour a écrit : On 1/6/23 07:15, Wietse Venema wrote: Peter Wienemann: Hi, is there a way to dump the effective postfix configuration rather than the one specified in main.cf/master.cf? It seems that changes to main.cf/master.cf have an immediate impact on

Re: Dumping effective postfix configuration

2023-01-06 Thread Wietse Venema
Viktor Dukhovni: > On Fri, Jan 06, 2023 at 01:45:48PM -0500, Wietse Venema wrote: > > > > Most changes in main.cf require a reload to become effective but there > > > are some exceptions requiring a restart, e. g. a change of > > > inet_interfaces. > > > > That is incorrect. If

Re: Dumping effective postfix configuration

2023-01-06 Thread Demi Marie Obenour
On 1/6/23 07:15, Wietse Venema wrote: > Peter Wienemann: >> Hi, >> >> is there a way to dump the effective postfix configuration rather than >> the one specified in main.cf/master.cf? It seems that changes to >> main.cf/master.cf have an immediate impact on the output of postconf >> regardless

Re: Dumping effective postfix configuration

2023-01-06 Thread Peter Wienemann
On 06.01.23 20:02, Viktor Dukhovni wrote: On Fri, Jan 06, 2023 at 01:45:48PM -0500, Wietse Venema wrote: Most changes in main.cf require a reload to become effective but there are some exceptions requiring a restart, e. g. a change of inet_interfaces. That is incorrect. If inet_interfaces is

Re: Dumping effective postfix configuration

2023-01-06 Thread Viktor Dukhovni
On Fri, Jan 06, 2023 at 01:45:48PM -0500, Wietse Venema wrote: > > Most changes in main.cf require a reload to become effective but there > > are some exceptions requiring a restart, e. g. a change of > > inet_interfaces. > > That is incorrect. If inet_interfaces is changed, then a "postfix >

Re: Dumping effective postfix configuration

2023-01-06 Thread Wietse Venema
Peter Wienemann: > Most changes in main.cf require a reload to become effective but there > are some exceptions requiring a restart, e. g. a change of > inet_interfaces. That is incorrect. If inet_interfaces is changed, then a "postfix reload" (not restart) is required because the master

Re: Dumping effective postfix configuration

2023-01-06 Thread Viktor Dukhovni
On Fri, Jan 06, 2023 at 06:42:18PM +0100, Peter Wienemann wrote: > Most changes in main.cf require a reload to become effective No. In most cases they merely require the passage of time, and typical changes are not that time-sensitive. > I am trying to put main.cf under configuration >

Re: Dumping effective postfix configuration

2023-01-06 Thread Peter Wienemann
On 06.01.23 17:33, Wietse Venema wrote: Peter Wienemann: On 06.01.23 13:15, Wietse Venema wrote: is there a way to dump the effective postfix configuration rather than the one specified in main.cf/master.cf? It seems that changes to main.cf/master.cf have an immediate impact on the output of

Re: Dumping effective postfix configuration

2023-01-06 Thread Viktor Dukhovni
On Fri, Jan 06, 2023 at 11:33:28AM -0500, Wietse Venema wrote: > > Instead of sending a HUP signal like it is done to trigger a reload, one > > sends a different signal (e. g. USR1) to the master. The further > > processing of the signal is similar to the HUP case except that > > configuration

Re: Dumping effective postfix configuration

2023-01-06 Thread Wietse Venema
Peter Wienemann: > On 06.01.23 13:15, Wietse Venema wrote: > >> is there a way to dump the effective postfix configuration rather than > >> the one specified in main.cf/master.cf? It seems that changes to > >> main.cf/master.cf have an immediate impact on the output of postconf > >> regardless of

Re: Dumping effective postfix configuration

2023-01-06 Thread Peter Wienemann
On 06.01.23 13:15, Wietse Venema wrote: is there a way to dump the effective postfix configuration rather than the one specified in main.cf/master.cf? It seems that changes to main.cf/master.cf have an immediate impact on the output of postconf regardless of whether a reload/restart of the

Re: Dumping effective postfix configuration

2023-01-06 Thread Wietse Venema
Peter Wienemann: > Hi, > > is there a way to dump the effective postfix configuration rather than > the one specified in main.cf/master.cf? It seems that changes to > main.cf/master.cf have an immediate impact on the output of postconf > regardless of whether a reload/restart of the service

Dumping effective postfix configuration

2023-01-06 Thread Peter Wienemann
Hi, is there a way to dump the effective postfix configuration rather than the one specified in main.cf/master.cf? It seems that changes to main.cf/master.cf have an immediate impact on the output of postconf regardless of whether a reload/restart of the service was performed. Peter