Re: upgrade behavior when smtpd_relay_restrictions is explicitly empty in main.cf

2012-11-03 Thread Sahil Tandon
On Fri, 2012-11-02 at 19:13:04 +, Viktor Dukhovni wrote: > On Fri, Nov 02, 2012 at 08:18:09AM -0400, Wietse Venema wrote: > > > Sahil Tandon: > > > Some background: upon deinstall, unaltered files installed by a FreeBSD > > > package are supposed to be deleted. In the context of Postfix > >

Re: upgrade behavior when smtpd_relay_restrictions is explicitly empty in main.cf

2012-11-02 Thread Eray Aslan
On 11/2/12 9:13 PM, Viktor Dukhovni wrote: > So while the issue is not a high priority, I think that it makes > sense to ship a default master.cf that requires no tweaks, and a > main.cf that likewise requires no tweaks. FWIW, that would make my life easier as well. I also agree that it is not a

Re: upgrade behavior when smtpd_relay_restrictions is explicitly empty in main.cf

2012-11-02 Thread Stan Hoeppner
On 11/2/2012 2:13 PM, Viktor Dukhovni wrote: > ... or gets > installed as part of some over-zealous package dependency management > (can you say Debian? It has its pluses of course, ...) I've been using Postfix on Debian for about 7 years now and never had such an apt/aptitude dependency issue WR

Re: upgrade behavior when smtpd_relay_restrictions is explicitly empty in main.cf

2012-11-02 Thread Wietse Venema
Viktor Dukhovni: > In any case, I think that the conf/main.cf and conf/master.cf should > be current (as they've been in most releases IIRC) and should not > require install-time tweaks. I don't want post-install to run over both the installed main.cf and the "source" main.cf file because it would

Re: upgrade behavior when smtpd_relay_restrictions is explicitly empty in main.cf

2012-11-02 Thread Viktor Dukhovni
On Fri, Nov 02, 2012 at 08:18:09AM -0400, Wietse Venema wrote: > Sahil Tandon: > > Some background: upon deinstall, unaltered files installed by a FreeBSD > > package are supposed to be deleted. In the context of Postfix > > Come on, sites that don't edit main.cf are so rare > that this is not

Re: upgrade behavior when smtpd_relay_restrictions is explicitly empty in main.cf

2012-11-02 Thread Wietse Venema
Sahil Tandon: > Some background: upon deinstall, unaltered files installed by a FreeBSD > package are supposed to be deleted. In the context of Postfix Come on, sites that don't edit main.cf are so rare that this is not something that I would worry about. Don't ask me to pre-patch the stock main

Re: upgrade behavior when smtpd_relay_restrictions is explicitly empty in main.cf

2012-11-01 Thread Sahil Tandon
On Wed, 2012-10-31 at 09:01:23 -0400, Wietse Venema wrote: > Ralf Hildebrandt: > > * Sahil Tandon : > ... > > > test -n "`$POSTCONF -c $config_directory -n smtpd_relay_restrictions`" > > > > > > With this, the forward compatibility shim would only trigger if > > > smtpd_relay_restrictions does

Re: upgrade behavior when smtpd_relay_restrictions is explicitly empty in main.cf

2012-10-31 Thread Wietse Venema
Ralf Hildebrandt: > * Sahil Tandon : > > In Postfix 2.10 Snapshot 20121022, conf/post-install tests whether > > smtpd_relay_restrictions is already set with: > > > > test -n "`$POSTCONF -c $config_directory -nh smtpd_relay_restrictions`" > > > > This evaluates to false when smtpd_relay_restrict

Re: upgrade behavior when smtpd_relay_restrictions is explicitly empty in main.cf

2012-10-31 Thread Ralf Hildebrandt
* Sahil Tandon : > In Postfix 2.10 Snapshot 20121022, conf/post-install tests whether > smtpd_relay_restrictions is already set with: > > test -n "`$POSTCONF -c $config_directory -nh smtpd_relay_restrictions`" > > This evaluates to false when smtpd_relay_restrictions is explicitly set > to the