Diary

Linux Postfix Mail Sending Error Analysis

1 Mins read

Repeat endlessly

# Fix config
vi /etc/postfix/main.cf


# Restart process
systemctl restart postfix

# Send test mail to root
echo testtaro | mail root

# Send test mail to external address
echo "Test mail" | mail -s "test mail from hoge.jp server." <recipient email address>

# Analyze logs
systemctl status postfix -l