SASL LOGIN authentication failed: authentication failure


I have created a PHPMailser script and I can able to trigger out mails without SMTP but If I use SMTP , II'm getting the below errors. I've tried all the possibilities suggested by google but no luck.

I'm sure the script is good and If I'm using gmail account but not the account created from virtualmin.

Can anyone suggest me on this ?

===== SMTP -> ERROR: Password not accepted from server: 535 5.7.8 Error: authentication failed: authentication failure

SMTP Error: Could not authenticate.

SMTP -> ERROR: RCPT not accepted from server: 554 5.7.1 <>: Relay access denied

Thank you.



Assigned: ยป Unassigned

I've the same issue, I restart service manually and all works now.

On Centos: service saslauthd restart

Already, I've restarted all the services but still having issues. Its Centos 6.

Any suggestions ??

Howdy -- hmm, as it looks like you're using Virtualmin GPL there, could you start a new Forum request regarding that? We monitor the Forums, along with lots of wonderful folks in the community!

In that Forum request, could you share what shows up in /var/log/maillog when trying to connect via IMAP/SMTP?

Also, you may want to restart both saslauthd, as well as Postfix, and then look at the logs immediately after doing that... some configuration issues will show up as errors in the logs after restarting those services.