Receivd/send email from Gmail

I'm trying to use Gmail to receive/send email from an Xmail server on Openwrt router.

google says:

Authentication failed. Please check your username/password.
Show error details(Send mail through your SMTP server)

Server returned error: "Invalid auth or access denied"(Check mail from other accounts)

I guess there must be some setting i missed for the Xmail server. for this function, how should i do to fix it?

Yes - it's OK because by-default SMTP now require OAuth authorization.

But if you have some old apps that doesn't support OAuth then there is a trick to make app-password:

1 Like

Use http://EmailRelay.sorurceforge.net
It has a package for the OpenWrt and a wiki page with config explanation