• 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.

Resolved Email Issues upon Reboot

sshelby

New Pleskian
Server operating system version
Ubuntu 24.04.1 LTS
Plesk version and microupdate number
18.0.65
I recently moved my websites from Centos to Ubuntu. Every thing worked fine until I had to reboot the server when I noticed that I could no longer authenticate using SMTP and POP3 mail was not working. After further investigation I found that Dovecot IMAP and POP3 server service had not started. After a great deal of troubleshooting I ran plesk repair mail which resolved the SMTP authentication issues. The next time I rebooted the server the issue occured again. This time I simply ran plesk repair mail which resolved both issues. Is there a way to resolve the issue so that I do not need to repair mail everytime the server reboots?
 
Is the service enabled?

Code:
# systemctl status dovecot
● dovecot.service - Dovecot IMAP/POP3 email server
     Loaded: loaded (/etc/systemd/system/dovecot.service; >>>>enabled<<<<; vendor preset: enabled)
     Active: active (running) since Mon 2024-09-30 20:02:01 EEST; 2 months 4 days ago
   Main PID: 680 (dovecot)

What does Plesk repair say about the mail service? Perhaps run it with -v parameter.
 
Thank you for the help.

The repair command does not return any issues even though the problems is resolbed after it runs. Here is the results when run with the -v parameter.
1733399314901.png

Here is what it looks like when everything is working after reboot:
1733398680801.png

Here is what it looks like after reboot and before the repair:
1733398933634.png
 
Try,

#systemctl is-enabled dovecot

If it is returning 'disabled', enable it on the reboot.

#systemctl enable dovecot

To me it is look like it disabled on the reboot. '/usr/lib/systemd/system/dovecot.service; disabled;'
 
Thank you, that did correct the issue with POP3 email not working after reboot but did not correct the SMTP authentication error. It still requires me to run the plesk repair mail command after reboot. Here is the error:

NOQUEUE: milter-reject: EHLO from mydomain.com[MY IP ADDRESS]: 451 4.7.1 Service unavailable - try again later; proto=SMTP helo=<www.mydomain.com>
 
I think you should be running Postfix for SMTP. You can make sure this by visiting 'Tool & Settings > Mail Server Settings'

Try,

#systemctl status postfix

after a reboot and make sure the service is running.
 
It does appear to be running after reboot but still fails authentication until I repair mail.
1733484923464.png
 

Attachments

  • 1733484704739.png
    1733484704739.png
    42.5 KB · Views: 5
Thanks again for your help. I found a reference to the Milter service not running may cause this so I did a reboot and found that that to be the case. After enabling it the issue was resolved. I will try *systemctl enable pc-remote.service to see if that resolves the issue.
1733486177104.png
 
Glad to hear you have resolved your issue.

I'm not sure what really happened.

These services should have been enabled on reboot by default.
 
I did a server reboot this morning and all services started as expected and email is working. Thank you for your expertice!
 
Back
Top