Ralf Hildebrandt schrieb:
postconf -n shows main.cf settings, not master.cf settings

Why not use:

postconf -e "smtpd_client_restrictions=reject_invalid_hostname"

But as far as i understand, this just sets the variable in main.cf - and there, it is already included!

To show this:

r...@localhost:/etc/postfix,$ postconf -d smtpd_client_restrictions
smtpd_client_restrictions =

r...@localhost:/etc/postfix,$ grep ^smtpd_client_restrictions main.cf
smtpd_client_restrictions = reject_invalid_hostname

r...@localhost:/etc/postfix,$ postconf -e "smtpd_client_restrictions=reject_invalid_hostname"

r...@localhost:/etc/postfix,$ grep ^smtpd_client_restrictions main.cf smtpd_client_restrictions = reject_invalid_hostname

r...@localhost:/etc/postfix,$ postconf -d smtpd_client_restrictions
smtpd_client_restrictions =

Still empty :-O

Reply via email to