title: "sendmail 設定" categories:
sendmail
大致上需要注意的設定就是 hostname
如果 hostname 不符規定就會跑得很慢慢到以為不能用
要符合規定很簡單 讓 hostname 至少有兩段 例如 host.domain
要立即變更 hostname 可用 hostnamectl set-hostname
別相信啥需要把 smtp listen on all ip 才能寄出去的謠言
或是啥需要 restart apache2 (?) 的亂解