Michael Orlitzky:
> On 06/04/2013 08:51 PM, Wietse Venema wrote:
> > Please file a bug report with your distribution.
> >
> > Postfix 2.10 as distributed by me will add a backwards-compatibility
> > setting to main.cf, thusly:
> >
> > # postfix upgrade-configuration
> > COMPATIBILITY: editing /etc/postfix/main.cf, overriding
> > smtpd_relay_restrictions to prevent inbound mail from unexpectedly
> > bouncing. Specify an empty smtpd_relay_restrictions value to
> > keep using smtpd_recipient_restrictions as before.
> >
> > And the backwards compatible setting is:
> >
> > # postconf smtpd_relay_restrictions
> > smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated
> > defer_unauth_destination
> >
> > If your distributor has removed this backwards-compatibility safety
> > net, then please tell them that they are doing their users a disservice.
> >
> > Wietse
> >
>
> Postfix 2.10 on Gentoo adds the safety net, but the package manager
> won't automatically clobber files under /etc. You're supposed to run a
> tool (etc-update) afterwards to merge any changes. I'm guessing that's
> what got skipped here.
It's no good when this has to be run by a human operator. I'll
change the compiled-in default to:
smtpd_relay_restrictions =
permit_mynetworks permit_sasl_authenticated reject_unauth_destination
so that people can avoid the upgrade surprise.
Wietse