• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!

Issue Watchdog wdcollect SMTP error

selinrv

New Pleskian
Server operating system version
Red Hat Enterprise Linux 8.6 (Ootpa)
Plesk version and microupdate number
Version 18.0.63 Update #4
Hi everyone,
I'm having consts issue with watchdog, as the alert email (for example for when Apache is down) is not being send with following errors:
SMTP server refused receiving e-mail with subject 'Web Server (Apache) on ____ is down', the e-mail is discarded.
SMTP server error: '530-5.7.0 About SMTP error messages - Google Workspace Admin Help and review RFC 3207'
Trying to send using another server.
Connection to SMTP server has been closed.
SMTP server error: '530-5.7.0 About SMTP error messages - Google Workspace Admin Help and review RFC 3207'
Failed to connect to all SMTP servers.
Trying to send using another server.

And it keeps looping for a long time. But on the other hand, daily emails are being sent fine with the email that was setup in the watchdog settings.

What might be the problem with SMTP server here and how can it be fixed?
 
Hey @selinrv could you please confirm if the email account in question utilizes the local mail service or a third-party one? As far as I can see the error code indicates authentication issue with Google.
 
Hey @selinrv could you please confirm if the email account in question utilizes the local mail service or a third-party one? As far as I can see the error code indicates authentication issue with Google.
Hi
Yes, i'm using google email and google smtp. But this email setup works fine for daily emails of watchdog sumary, they are being sent constantly without any problem. Only alerts has this issue.
 
Thank you for the confirmation. There is a hardcoded value present in /usr/local/psa/admin/sbin/modules/watchdog/rkhunter defining the email address:
MAIL_FROM="watchdog@${HOST_NAME_FULL}"
I do believe this is most likely causing the issue in your case as the address is different and the SMTP server fails to authenticate it. Still, I am not 100% sure and it might be a good idea to double-check the case with our support team.
 
Sorry, I forgot to mention that in case my assumption is correct and that's the reason for the issue you are experiencing, this behavior is identified as a bug with ID PPPM-7575 and we will improve it in one of the feature releases.
 
Thank you for the confirmation. There is a hardcoded value present in /usr/local/psa/admin/sbin/modules/watchdog/rkhunter defining the email address:

I do believe this is most likely causing the issue in your case as the address is different and the SMTP server fails to authenticate it. Still, I am not 100% sure and it might be a good idea to double-check the case with our support team.
Thank you for the information!
What if i try to change that line to the same email i'm using for daily emails, could that probably help?
 
You can change the value manually. Before you do that, please make sure to create a backup of the /usr/local/psa/admin/sbin/modules/watchdog/rkhunter file, just in case.
 
Back
Top