I am attempting to establish gmail relay and and I can see messages making it thru on incoming but they do not make it to outgoing thus, they never get sent via gmail.
The following are the logs. Please advise if something looks out of the regular.
emailrelay: 20220429.110638.517: info: 10.10.10.16; smtp connection from 10.10.10.16:54218
emailrelay: 20220429.110638.517: info: 10.10.10.16; tx>>: "220 PCNAME.exaple.local -- E-MailRelay V2.2 -- Service ready"
emailrelay: 20220429.110638.777: info: 10.10.10.16; rx<<: "EHLO SASPDM01"
emailrelay: 20220429.110638.778: info: 10.10.10.16; tx>>: "250-PCNAME.exmple.local says hello\r\n250-VRFY\r\n250 8BITMIME"
emailrelay: 20220429.110639.042: info: 10.10.10.16; rx<<: "AUTH LOGIN"
emailrelay: 20220429.110639.042: warning: 10.10.10.16; client protocol error: AUTH requested but not advertised
emailrelay: 20220429.110639.042: info: 10.10.10.16; tx>>: "502 command not implemented"
emailrelay: 20220429.110639.292: info: 10.10.10.16; rx<<: "QUIT"
emailrelay: 20220429.110639.292: info: 10.10.10.16; tx>>: "221 OK"
emailrelay: 20220429.110639.292: info: 10.10.10.16; smtp connection closed: smtp protocol done: 10.10.10.16:54218
Your emailrelay server is not configured to do authentication because you have not used --server-auth. It does not advertise that it can do authentication in the EHLO response but the remote client tries anyway.
You should just add --server-auth pointing at a secrets file containing whatever account details the client is trying to use. Or stop the client from trying to authenticate.
There is nothing in your log snippet that suggests any interaction with gmail. 10.10.10.16 is a local IP address and I can't tell what's trying to authenticate from there. If it's an e-mail client then you need to explore its account settings.
FWIW, you can stop emailrelay from trying to authenticate by removing the --client-auth option.
Note that if you are using emailrelay to send to and also receive from gmail then you will need to run two instances, one upstream and one downstream, with different spool directories and listening addresses.
So I made some changes and this is the error I am receiving at this time, I
definitely feel I've made significant progress and I am close to resolving
this. I just need to be pointed in the right direction.
Any advice is greatly appreciated!
Thank you for your time!
Carlos Garcia
Carlos@xpertekit.com daniel@xpertekit.com | 972.591.6019 <9725916019>
XPERTEK IT
3044 Old Denton Rd Ste 111-262
Carrollton, TX 75007
Last edit: Graeme Walker 2022-05-05
I've sanitied your log snippet so that it's more readable through this web interface, but the log just shows that you have authentication errors when connecting to gmail.
Note that the error response from google says 'please log in via your web browser' and it also contains a link to one of their help pages. Have you tried following that link?
Graeme,
Thank you so much! That's exactly what I needed. Since gmail is forcing
2FA, this particular account (which had 2FA disabled) was not allowing me
to sign in to gmail because of that. I used the app password & voila!
Thank you again, I appreciate your swift responses.
You've been a great help!
Carlos Garcia
Carlos@xpertekit.com daniel@xpertekit.com | 972.591.6019 <9725916019>
XPERTEK IT
3044 Old Denton Rd Ste 111-262
Carrollton, TX 75007
www.xpertekit.com
[image: twitter icon] https://twitter.com/xpertekit [image: linkedin icon]
https://www.linkedin.com/company/xpertek/
On Wed, May 4, 2022 at 9:32 PM Graeme Walker graeme_walker@users.sourceforge.net wrote:
Related
Support Requests:
#68Diff: