Michael Tokarev:
[ Charset ISO-8859-1 unsupported, converting... ]
> These warnings started showing up after an upgrade
> of our servers to version 2.9+.
> 
> We've several smtpd instances in master.cf, each
> with its own set of restrictions.  In order to
> simplify managing of these, we split the them into
> a set of separate restrictions, using this technique:
> 
> master.cf:
> 
>  intaddr:smtp ... smtpd -o smtpd_role=int
>  extaddr:smtp ... smtpd -o smtpd_role=ext
>  ...
> 
> master.cf:
> 
>  smtpd_recipient_restrictions = smtpd_${smtpd_role}_recipient_restrictions
>  smtpd_int_recipient_restrictions = ...
>  smtpd_ext_recipient_restrictions = ...
> 
> and so on.
> 
> Now, after upgrading to postfix 2.9, every postfix
> tool issue this warning:
> 
>  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 if it is not used in the same master.cf line that defines
smtpd_role.

        Wietse

> which spams both logs and stderr output.
> 
> We've a few more "instances" of this technique,
> which has been discussed/suggested in early 2000s
> or even late 1990s on this list.
> 
> Is there maybe some parameter which lists all
> such "unused" parameters, just to shut up this
> warning coming from everywhere?
> 
> Thank you!
> 
> /mjt
> 

Reply via email to