I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to [ip address]:25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file from a working server.
/etc/postfix/main.cf
I did this to get postfix to reload.
postfix reload
postfix -f
No matter what I try now I get this message. What am I doing wrong?
Client was not authenticated to send anonymous mail during
MAIL FROM (in reply to MAIL FROM command)