• 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!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Plesk External SMTP Server - Notifications Fail

cecgjohn

New Pleskian
I'm having some trouble using the Plesk External SMTP Service. All Plesk notifications fail but running the mail command works just fine when directly connecting to the server via SSH. Here are the steps I've taken to debug the issue:

1. Looking in the Plesk Mail Log nothing is logged when a notification sends through plesk. But the log works just fine when using the mail command directly on the server (not through plesk).
2. I've checked the box on the setting page "Allow Plesk to send email notifications through this SMTP server " and even uninstalled and reinstalled the external smtp service then rechecked the box to make sure it wasn't somehow glitched. After doing that I tested the mail command again and it worked, but still no notifications.
3. I've pinged the external SMTP port (587) from the server using telnet and it's not blocked. But just in case I double checked all outgoing ports are open
4. Lastly I checked /var/log/plesk/panel.log and noticed there is an error every-time I attempt to run a scheduled task but the plesk dashboard indicates the scheduled task ran successfully. I'm thinking the scheduled task is running fine but it's failing to send the email, but if that was the case I would think there would be an error in the mail log, right?

Here is the log output:
Code:
[2022-04-12 21:01:29.972] 16475:6255e8a71d48d ERR [panel] Task failed: id=601, pid=16475, type=scheduler-run-task, error=Scheduled task failed
[2022-04-12 21:01:29.979] 16475:6255e8a71d48d ERR [panel] Long task executor: id=601 completed with error: Scheduled task failed:
0: /usr/local/psa/admin/plib/Task/Async/Executor.php:46
        Task_Async_Executor->execute()
1: /usr/local/psa/admin/plib/scripts/task-async-executor.php:6
 
Update: I moved my command to a bash script so now I'm running "sudo bash sshd_check.sh" rather than "cat /var/log/secure | grep Accepted" directly. That resolved the scheduled task error but notifications still don't work.....also I don't think it has anything to do with scheduled tasks because forgot password does not work either
 
Back
Top