Postfix fails to start automatically

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.7
How are you able to access your server: The webadmin
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No

Describe your issue

Hello all…

I’m not sure when it started, but recently, when I reboot my server, which isn’t often, the Postfix service fails to start. I have to go in using the UI/Services and start it from there. It’s not a problem, more of an inconvenience and one I’d like to get rid of if I can.

If anyone can help me fix it, I’d be greatful

Best wishes

Dj

Share relevant logs or error messages

None

Hello,
When you run systemctl status postfix, can you see that it is enabled (on the Loaded line).

If not, run the command systemctl enable postfix and then restart it with systemctl restart postfix. When you get the status again, it should be fine

@abc Sorry for the late reply and thanks for reaching out…
So when I do:
systemctl status postfix
I get:
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/lib/systemd/system/postfix.service; enabled; preset: enabled)
Active: active (exited) since Thu 2025-07-17 17:24:30 BST; 1 week 0 days ago
Docs: man:postfix(1)
Main PID: 1759 (code=exited, status=0/SUCCESS)
CPU: 872us
Many thanks
Dj

Then it’s beyond my knowledge. Maybe you have some logs to share.

@abc indeed, next time I do a reboot, I shall try and grab a log before manually restarting the service.

Thanks again

dj