micah: > Wietse Venema <wie...@porcupine.org> writes: > > >> 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. > > I definitely have it set in main.cf: > > submit_reject_footer=\c For further help, contact support. > > and it is configured in master.cf: > > smtps inet n - n - - smtpd -o > smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o > smtpd_reject_footer=$submit_reject_footer > > and I've restarted postfix. Now every smtps transaction results in this > log entry: > > postfix/smtpd[15949]: warning: unknown macro name "submit_reject_footer" in > expansion request > > could it be because I put the submit_reject_footer= at the end of > main.cf? Does that matter?
The location in main.cf makes a difference if you set the same name more than once. That is, with: ...stuff... foo = xx ...stuff... foo = yy The last setting wins. Meanwhile, you can set "-o {smtpd_reject_footer = text... }" in master.cf, Wietse