Good afternoon!
I have been trying to set up email on the Nagios Log Server but keep getting the following error.
Failed to authenticate password. Error: 535 Authentication failed: Bad username / password
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
I am certain the API key username and password are correct, so this error is a bit confusing. If I change the settings to PHP Mail that works, but no go with SMTP. Any help is much appreciated.
SMTP Email
Re: SMTP Email
Hi,
Please send me a screenshot of your Mail Settings page.
Mine shows: Thanks
Please send me a screenshot of your Mail Settings page.
Mine shows: Thanks
You do not have the required permissions to view the files attached to this post.
-
astaroth1837
- Posts: 3
- Joined: Tue Mar 31, 2020 11:03 am
Re: SMTP Email
Here it is
You do not have the required permissions to view the files attached to this post.
Re: SMTP Email
Hi,
What do you see in /var/log/maillog?
Please PM it to me.
What PHP version are you running?
Thanks
What do you see in /var/log/maillog?
Please PM it to me.
What PHP version are you running?
Code: Select all
php -V-
astaroth1837
- Posts: 3
- Joined: Tue Mar 31, 2020 11:03 am
Re: SMTP Email
PHP - 5.4.16
When I have it set this way, there is nothing logged in the mail log at all. Like its not even trying to send it.
If I set it to PHP instead of SMTP, those message come through just fine and get logged. With SMTP, nothing is logged.
When I have it set this way, there is nothing logged in the mail log at all. Like its not even trying to send it.
If I set it to PHP instead of SMTP, those message come through just fine and get logged. With SMTP, nothing is logged.
Re: SMTP Email
Hi,
Where are you seeing:
Failed to authenticate password. Error: 535 Authentication failed: Bad username / password
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
Is it on the Mail Settings page?
Also, as root, please run the following and send me the output:
whereis sendmail
whereis postfix
Thanks
Where are you seeing:
Failed to authenticate password. Error: 535 Authentication failed: Bad username / password
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
Is it on the Mail Settings page?
Also, as root, please run the following and send me the output:
whereis sendmail
whereis postfix
Thanks