我在centos 7我configurationpostfix的/etc/postfix/main.cf像这样
smtpd_sasl_auth_enable = yes smtpd_sasl_type = cyrus smtpd_sasl_security_options = noanonymous, noplaintext smtpd_sasl_path = /run/saslauthd smtpd_recipient_restrictions =permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination smtp_sasl_mechanism_filter = GSSAPI
并像这样重新启动后缀
systemctl restart postfix.service
但是当我检查
postconf -d
看到我目前的configuration我看到上面的变化不会影响
输出postconf -d:
smtpd_sasl_security_options = noanonymous smtpd_sasl_auth_enable = no
使用此命令检查当前有效的参数值:
postconf -p
要不就:
postconf
您使用-d选项的命令将打印默认值。 您也可以使用-n选项仅打印非默认值,仅打印显式更改的内容。