Postfix service fails to start on boot

My YunoHost server

Hardware: VPS bought online / Old laptop or computer / Raspberry Pi (specify version, 0 to 4) at home / Internet Cube with VPN / Other ARM board / …
YunoHost version: 11.2.28 (stable)
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | …
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:

Description of my issue

Hello all

This weekend I spent some time with the YNH Borg app and Borgbase. It worked as a backup but restoring from it I found difficult.

So I uninstalled the app and decided to go back to my backup system which is just a cron job using the ynh backup, it works great but I was looking for an offsite solution that was “easy”.

Anyway, I’m drifting away from the point. Also over the weekend, there was a ynh update to 11.2.28 (stable).

This morning I discovered that no email had come in so I did a quick diagnostics on the server and the diagnosis came back that ports 25 and 587 were closed (which they are not), but also that postfix service failed to start.

In services I checked, and sure enough, postfix had stopped. I restarted it and it held on, all good, mail is now going in and out.

I thought that I’d just check to see if Postfix would restart with a reboot. I rebooted the server, checked services and again it had failed to start.

I’ve looked in the logs to see if there is anything to share, but I can’t find anything obvious unless, of course, I’m looking for the wrong thing in the wrong place which is highly likely!

If anyone can help with a fix I’d be grateful. I can restore as a full backup was done before the weekend, but I’m not entirely sure what I should be restoring. I’m guessing “System Configuration”?

Many thanks

Dj

Share the postfix service logs!

1 Like

@tituspijean hello and thanks for the reply.

This is from:

Tools/Services/postfix

https://paste.yunohost.org/ebeyicuzoy

Many thanks
dj

Do these log include a date and time when the server just booted up? If not, can you try triggering the issue again and share the logs ?

@tituspijean I have just done another YNH update from 11.2.28 to 11.2.29. Once the update was completed I did another reboot, ran a fresh diagnosis and all is well again.

I’m not clear on what the YNH updates do, maybe I should, it all may be a coincidence of course. Who knows, but all is well again.

Many thanks

Dj