|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
|||
OpenSMTPD as a GMail relay
I have successfully set up smtpd to relay to GMail in the past, but for some reason it doesn’t work on this new install. This is on a 5.0 snapshot from August 3.
I followed smtpd(8) and smtpd.conf(5) to the letter:
Code:
# smtpctl show queue MTA|c78ba518021c1668|ENQUEUED|anthony@pinetree.gateway.2wire.net|anthonyjbentley@gmail.com|1312738004|345600|1|110 connect error: No route to host I’m getting really tired of using Gmail’s webmail… Google’s page on configuring mail clients
__________________
Many thanks to the forum regulars who put time and effort into helping others solve their problems. |
|
|||
Four months later, I took another look and figured it out right away. The answer is embarrassingly simple: GMail does SMTP over port 587, so smtpd.conf has to have this line:
Code:
accept for all relay via smtp.gmail.com port 587 tls auth "secrets"
__________________
Many thanks to the forum regulars who put time and effort into helping others solve their problems. Last edited by backrow; 25th December 2011 at 07:27 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using fetchmail as IMAP client to download mail from a Gmail folder(label) | J65nko | Guides | 1 | 8th November 2022 07:44 PM |
OpenSMTPD | gpatrick | OpenBSD General | 1 | 23rd February 2011 01:01 AM |
Easily retrievable configuration file backup with Gmail | J65nko | Guides | 5 | 10th February 2010 04:30 AM |