micah:
> smtps     inet  n       -       n       -       -       smtpd -o 
> smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o 
> smtpd_reject_footer=$submit_reject_footer

That is a documentation problem. 

Specifically, the smtpd_reject_footer documentation fails to mention
that the smtpd_reject_footer value is not subject to Postfix
configuration parameter $name expansion. 

- The smtpd_reject_footer parameter value contains $name instances
that need to be expanded while handling a client request, because
the value depends on the request context. Normally, Postfix
configuration parameter $name expansion happens before a program
handles a client request.

- The smtpd_reject_footer parameter value should not 'leak' main.cf
settings when Postfix responds to a client.

Other parameters with similar limitations are: forward_path,
command_execution_directory, luser_relay, smtpd_expansion_filter,
default_rbl_reply, and mailbox_command.

Some of these parameters do not expand Postfix configuration parameter
$name because the parameter value contains shell commands, and the
feature would be too difficult to use.

Only some of these parameters documented this limitation. I have
updated the remaining ones.

        Wietse

Reply via email to