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
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?
> Wietse
Thanks,
/mjt