Postfix SMTPUTF8 is required, but was not offered by host

處理程式發送信件的時候遇到了英文沒問題,但是中文信件就是發不出去的問題

操作執行過程使用這個來看運作

# tail -f /var/log/syslog

看到了SMTPUTF8 is required, but was not offered by host

解決方案如下

# vi /etc/postfix/mail.cf

加入以下

smtputf8_autodetect_classes = sendmail, verify
smtputf8_enable = no
strict_smtputf8 = no

重啟postfix可後結案

# systemctl restart postfix.service