OPNsense Forum

English Forums => 25.1, 25.4 Production Series => Topic started by: amichel on February 28, 2025, 09:51:11 PM

Title: [SOLVED:] Update to 25.1.2 broke Postfix
Post by: amichel on February 28, 2025, 09:51:11 PM
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.
Title: Re: Update to 25.1.2 broke Postfix
Post by: RamSense on February 28, 2025, 09:58:34 PM
following this also. I had to restart (enable and disable from the opnsense gui) for postfix to let it work
Title: Re: Update to 25.1.2 broke Postfix
Post by: newsense on February 28, 2025, 10:03:24 PM
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
Title: Re: Update to 25.1.2 broke Postfix
Post by: amichel on February 28, 2025, 10:10:09 PM
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!
Title: Re: [SOLVED:] Update to 25.1.2 broke Postfix
Post by: franco on March 01, 2025, 08:51:09 AM
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