On 4/26/2018 7:14 AM, micah anderson wrote: > > Hello, > > I tried to add a smtpd_reject_footer to submission and smtps as an > option in my master.cf: > > submission inet n - n - - smtpd -o > smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes -o smtpd_reject_footer=\c > For further help, contact the support desk > smtps inet n - n - - smtpd -o > smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o > smtpd_reject_footer=\c For further help, contact the support desk > > the submission one took, but with smtps, I got an error: > > "fatal: unexpected command-line argument: For" > > why is it that this does not work for smtps? >
Spaces are not directly supported in master.cf arguments. If you have postfix 3.0 or newer, you can enclose the option in braces. -o { smtpd_reject_footer = ... } 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 http://www.postfix.org/master.5.html http://www.postfix.org/postconf.5.html -- Noel Jones