Michael Tokarev:
[ Charset ISO-8859-1 unsupported, converting... ]
> On 26.04.2012 14:59, Wietse Venema wrote:
> > Michael Tokarev:
>
> >> master.cf:
> >>
> >> extaddr:smtp ... smtpd -o smtpd_role=ext
> >>
> >> master.cf:
> >>
> >> smtpd_recipient_restrictions = smtpd_${smtpd_role}_recipient_restrictions
> >> smtpd_ext_recipient_restrictions = ...
> >>
> >> postconf: warning: /etc/postfix/master.cf: unused parameter:
> >> smtpd_role=ext
> >
> > This *will* complain if -o smtpd_role=int is not used in main.cf,
>
> or =ext.
>
> > or if it is not used in the same master.cf line that defines
> > smtpd_role.
>
> Yes. But it *is* used in main.cf:
>
> smtpd_recipient_restrictions = smtpd_${smtpd_role}_recipient_restrictions
Amazingly, defining a parameter in master.cf then using it in main.cf
was not covered by the 30 regression tests in the Makefile.
> Well. I can set this parameter in main.cf explicitly:
>
> smtpd_role =
>
> it will be overwritten by master.cf setting for a specific smtpd
> instance, so all should be fine... Is it what you mean?
I'll add a regression test and fix.
Wietse