ssmtp Authorization failed (535 Authentication Failed) on Linux
Hi,
I've read many threads similar to this one, but none of them could help. I'm trying to send mail via `ssmtp`, but the command hangs forever or the following error is thrown:
- ssmtp: Authorization failed (535 Authentication Failed)
Here is my configuration file:
- root=foo@example.com
- mailhub=smtp.zoho.com:465
- rewriteDomain=example.com
- UseTLS=YES
- FromLineOverride=YES
- AuthMethod=LOGIN
- AuthUser=foo@example.com
- AuthPass=1111aaaaa11111111111111111111111=
The account does not use two factor authentication. I've tried every possible combination of UseTLS, UseSTARTTLS, port: 465/587, rewriteDomain etc.
This account has been used for sending mails via NodeJS with emailjs and working configuration was:
- server = email.server.connect do
- user: "foo@example.com",
- password:"1111aaaaa11111111111111111111111=",
- host: "smtp.zoho.com",
- ssl: true
What is the correct configuration to send mails via ssmtp currently?