[Ilugc] sendmail config for gmail relaying

  • From: rajasuperman@xxxxxxxxx (Raja Subramanian)
  • Date: Thu Sep 7 22:26:31 2006

On 9/7/06, Suresh Ramasubramanian <linux@xxxxxxxxxxxxxxxx> wrote:

Raja Subramanian wrote:
Sep  7 02:12:03 mithila sm-mta[6014]: k86KflH8006010:
to=<rajasuperman@xxxxxxxxx>, ctladdr=<rsubr@xxxxxxxxxxxxxx>
(1001/1001), delay=00:00:15, xdelay=00:00:15, mailer=esmtp, pri=30458,
relay=gmail.com., dsn=4.0.0, stat=Deferred: Name server: gmail.com.:
host name lookup failure
smtp.gmail.com is a CNAME to gmail-smtp.l.google.com
Sendmail might not like your setting a cname there in the smarthost

Thanks for the tip.

I turned out that I *was* having DNS problems.  My DSL router barfed
when trying to fetch MX records (dig -t mx gmail.com failed), but A
records were working perfectly.  That settled, my box is now happily
email me output from cron jobs.

My experience is chronicled at:
http://rajasuperman.blogspot.com/2006/09/gmail-as-smarthost-for-fre_115764792412436946.html

- Raja

Other related posts: