• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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