SMTP Relay

Having issues? Post them here, and help other users.
Post Reply
stevesmith
Junior Member
Posts: 1
Joined: Mon Dec 03, 2018 12:57 pm

SMTP Relay

Post by stevesmith »

We are a G-Suite domain and have several devices currently setup to relay via smtp-relay.gmail.com:25 with no authentication. Instead, we have it restricted to only being able to send from our external IP to domain users. Trying to replicate this same setup with Nems, however it is generating an error. Is it possible to use this without authenticating?


Dec 12 07:57:17 nems sendemail[10774]: DEBUG => Connecting to smtp-relay.gmail.com:25
Dec 12 07:57:17 nems sendemail[10774]: DEBUG => My IP address is: 10.1.X.X
Dec 12 07:57:17 nems sendemail[10774]: SUCCESS => Received:     220 smtp-relay.gmail.com ESMTP p66sm1607796ywg.5 - gsmtp
Dec 12 07:57:17 nems sendemail[10774]: INFO => Sending:         EHLO nems
Dec 12 07:57:17 nems sendemail[10774]: SUCCESS => Received:     250-smtp-relay.gmail.com at your service, [Our approved external IP], 250-SIZE 157286400, 250-8BITMIME, 250-STARTTLS, 250-ENHANCEDSTATUSCODES, 250-PIPELINING, 250-CHUNKING, 250 SMTPUTF8
Dec 12 07:57:17 nems sendemail[10774]: INFO => Sending:         STARTTLS
Dec 12 07:57:17 nems sendemail[10774]: SUCCESS => Received:     220 2.0.0 Ready to start TLS
Dec 12 07:57:17 nems sendemail[10774]: DEBUG => TLS session initialized :)
Dec 12 07:57:17 nems sendemail[10774]: INFO => Sending:         EHLO nems
Dec 12 07:57:17 nems sendemail[10774]: SUCCESS => Received:     250-smtp-relay.gmail.com at your service, [Our approved external IP], 250-SIZE 157286400, 250-8BITMIME, 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH, 250-ENHANCEDSTATUSCODES, 250-PIPELINING, 250-CHUNKING, 250 SMTPUTF8

Dec 12 07:57:17 nems sendemail[10774]: DEBUG => SMTP-AUTH: Using LOGIN authentication method
Dec 12 07:57:17 nems sendemail[10774]: INFO => Sending:         AUTH LOGIN
Dec 12 07:57:17 nems sendemail[10774]: SUCCESS => Received:     334 VXNlcm5hbWU6
Dec 12 07:57:17 nems sendemail[10774]: INFO => Sending:         TlVMTA==
Dec 12 07:57:17 nems sendemail[10774]: SUCCESS => Received:     334 UGFzc3dvcmQ6
Dec 12 07:57:17 nems sendemail[10774]: INFO => Sending:         TlVMTA==
Dec 12 07:57:17 nems sendemail[10774]: DEBUG => SMTP-AUTH: LOGIN authenticaion failed.
Dec 12 07:57:17 nems sendemail[10774]: ERROR => ERROR => SMTP-AUTH: Authentication to smtp-relay.gmail.com:25 failed.
Post Reply