Postfix 指令與技巧
postfix
服務啟動/停止/重新載入
postfix check
postfix start
postfix stop
postfix reload
postfix flush
postconf - 不用編輯 main.cf 的設定方法
列出設定參數
postconf -n
修改參數
postconf -e "relayhost = [192.168.10.10]:587" \
"smtp_sasl_auth_enable = yes" \
"smtp_sasl_security_options = noanonymous" \
"smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd" \
"smtp_use_tls = yes" \
"smtp_tls_security_level = encrypt" \
"smtp_tls_note_starttls_offer = yes"