To relay to gmail, I added the following to smtpd.conf:
table secrets db:/etc/mail/secrets.db
accept for any relay via tls+auth://gmail1<at>smtp.gmail.com:587 \
  auth <secrets>

And created secrets and ran makemap. secrets contains:
gmail1 userid<at>gmail.com:mypassword

These settings are grammatically identical to what's in man smtpd.conf.

test email to userid<at>gmail.com gets hung in the queue. mailq results:

c7940bdbb495c038|local|mta|auth|scott<at>foo.bar.org|userid<at>gmail.com
|userid<at>gmail.com|1368880609|1369226209|0|22|pending|7232|No MX could be
reached

Google's MX record? That would indicate I goofed the URL I think; but I've
checked it a million times (I get a bit neurotic when these simplistic
things don't work and replace strings with identical strings from a manpage
or search result just to make sure I'm not being dyslexic).

What's wrong with my configs?

-Scott

Reply via email to