SendMail: Connection refused by [127.0.0.1]

I followed the procedure to Integrate Amazon SES with Sendmail in Ubuntu as given in the guide. The error log at /var/log/mail.log shows this error: Apr 26 18:57:42 ABC sendmail[21040]: 33QDRMnm021040: to=demo@gmail.com, ct laddr=admin@demo.com (0/0), delay=00:00:20, xdelay=00:00:00, mailer=relay, pri=30060, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] This error was caused by the wrong placement

Read More