micah:
> Noel Jones <njo...@megan.vbhcs.org> writes:
> 
> > Spaces are not directly supported in master.cf arguments.
> 
> Yes, of course... I should have realized that.
> 
> > If you have postfix 3.0 or newer, you can enclose the option in braces.
> >   -o { smtpd_reject_footer = ... }
> 
> I don't have 3.0 (yet!)
> 
> > or for any postfix version, you can reference a macro in main.cf
> >
> > # main.cf
> > submit_reject_footer = ...
> >
> > # master.cf
> >   -o smtpd_reject_footer=$submit_reject_footer
> 
> I tried this and was told
> 
> postfix[20227]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused 
> parameter: submit_reject_footer=\c For further help, contact support

The postconf command still needs special code to look inside
submit_reject_footer, because that setting may contain things like
$localtime and $client_address that aren't main.cf parameters.

(it needs custom code for each 'type RAW' parameter).

I have added a TODO, and may fix this in the near future.

> postfix/smtpd[21083]: warning: unknown macro name "submit_reject_footer" in 
> expansion request

That may be because there was no main.cf setting at the time.

        Wietse

Reply via email to