I am using CentOS 3.5 and trying to send email from localhost. The email does not send, and I see this in the log file :
Sep 13 09:00:20 72 sendmail: j8DE0KJ6011900: email@example.com, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30562, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
How to fix this ? It looks like relaying denied ? I checked this file :
roo# cat /etc/mail/access
# by default we allow relaying from localhost...