[Ilugc] sendmail config for gmail relaying
- From: linux@xxxxxxxxxxxxxxxx (Suresh Ramasubramanian)
- Date: Thu Sep 7 06:23:18 2006
Raja Subramanian wrote:
define(`SMART_HOST',`smtp.gmail.com')dnl
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
Try changing smtp.gmail.com to gmail-smtp.l.google.com or do something
like [smtp.gmail.com] - note the square brackets - instead of just
smtp.gmail.com [dont attempt to resolve that hostname further and follow
things on - just connect to "smtp.gmail.com" and push email out]
Other related posts: