[SOLVED:] Update to 25.1.2 broke Postfix

Started by amichel, February 28, 2025, 09:51:11 PM

Previous topic - Next topic
February 28, 2025, 09:51:11 PM Last Edit: February 28, 2025, 10:14:10 PM by amichel Reason: Want to tag that as solved.
After the upgrade to 25.1.2 postfix does not start anymore.

In the Log I only see:

28cafc05-69bf-4067-8fa6-be5124013484] Script action failed with Command 'postmap /usr/local/etc/postfix/transport ' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 78, in execute subprocess.check_call(script_command, env=self.config_environment, shell=True, File "/usr/local/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'postmap /usr/local/etc/postfix/transport ' returned non-zero exit status 1.


Any help is appreiciated.

following this also. I had to restart (enable and disable from the opnsense gui) for postfix to let it work
Deciso DEC850v2

The icu update appears to be breaking more than just unifi.

root@OPNsense:~ # pkg install os-postfix
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating mimugmail repository catalogue...
mimugmail repository is up to date.
All repositories are up to date.
The following 8 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
        mongodb60: 6.0.19
        os-unifi-maxit: 1.3
        unifi8: 8.6.9

New packages to be INSTALLED:
        os-postfix: 1.23_4 [OPNsense]
        postfix: 3.10.0,1 [OPNsense]

Installed packages to be UPGRADED:
        boost-libs: 1.86.0_1 -> 1.87.0_1 [OPNsense]
        icu: 74.2_1,1 -> 76.1,1 [OPNsense]

Installed packages to be REINSTALLED:
        kea-2.6.1_2 [OPNsense] (required shared library changed)

Number of packages to be removed: 3
Number of packages to be installed: 2
Number of packages to be upgraded: 2
Number of packages to be reinstalled: 1

The operation will free 380 MiB.
23 MiB to be downloaded.

Proceed with this action? [y/N]:

You should be able to get postfix back by reverting icu and its deps

opnsense-revert icu

I think someone from the team already fixed that.
I just searched for updates and there is a new Postfix release available.
Updated it --> all is fine.

Thank you!

If you have issues with icu-related packages the issue is that you use mimugmail repo which is out of sync. Michael is rebuilding at the moment.


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT