Hello,
I believe I have found a packaging issue in Carbonio CE 26.6.0 on Ubuntu 24.04 Noble.
Environment
- Carbonio CE 26.6.0
- Ubuntu 24.04 LTS (Noble)
- carbonio-amavisd 2.14.0-4noble
- Repository: https://repo.zextras.io/release/ubuntu noble/main
The issue occurs with the latest available package version
carbonio-amavisd 2.14.0-4noble.
Problem
The following amavisd helper processes fail immediately after startup:
- msg-forwarder
- childproc-minder
- snmp-responder
The system log shows:
Process exited after 0.0 s: exit 2
Exceeded restart count, giving up
Running the helper manually:
/opt/zextras/common/sbin/amavis-services msg-forwarder
returns:
Perl modules ZMQ::LibZMQ3 or ZMQ::LibZMQ2 or ZeroMQ not available
BEGIN failed--compilation aborted at
/opt/zextras/common/sbin/amavis-services line 145.
The same error occurs with:
/opt/zextras/common/sbin/amavis-services childproc-minder
/opt/zextras/common/sbin/amavis-services snmp-responder
The script explicitly checks for:
- ZMQ::LibZMQ3
- ZMQ::LibZMQ2
- ZeroMQ
However, carbonio-amavisd does not declare a package dependency that provides any of these Perl modules.
The only related Perl package available on this system is libzmq-ffi-perl, which provides ZMQ::FFI.
libzmq-ffi-perl
This package provides ZMQ::FFI, which is not supported by the supplied amavis-services script.
Package information:
The issue persists after reinstalling carbonio-amavisd and restarting the service.
carbonio-amavisd:
Installed: 2.14.0-4noble
Candidate: 2.14.0-4noble
Available versions:
2.14.0-4noble
2.14.0-1noble
Mail flow, Amavis, SpamAssassin and Pyzor continue to work correctly.
Only the amavis-services helper processes fail.
Could you please verify whether:
1. a package dependency is missing,
2. a Carbonio Perl ZeroMQ package is missing from the Noble repository,
3. or amavis-services should be updated to support ZMQ::FFI?
Thank you.
Additional information:
The missing ZeroMQ modules do not prevent mail delivery.
SpamAssassin, Pyzor and Amavis continue to work correctly.
However, the following helper services never start because of the missing Perl modules:
- msg-forwarder
- childproc-minder
- snmp-responder
I'm seeing the identical symptom on carbonio-amavisd 2.14.0-4jammy (Ubuntu 22.04.5 LTS), so this isn't specific to the noble build — same three processes (msg-forwarder, childproc-minder, snmp-responder), same exit 2 after 0.0s, same "Exceeded restart count, giving up."
I also found what looks like a second, earlier dependency gap sitting in front of the ZeroMQ issue you reported. Running the helper directly:
/opt/zextras/common/sbin/amavis-services msg-forwarder
fails with:
Can't locate Unix/Syslog.pm in @INC (you may need to install the Unix::Syslog module)
BEGIN failed--compilation aborted at /opt/zextras/common/sbin/amavis-services line 56.
This happens before the script reaches the ZeroMQ check you found further down (your report shows the error at line 145; mine hits Unix::Syslog at line 56). I confirmed this can't be worked around by setting PERL5LIB — the script's shebang is #!/usr/bin/perl -T (taint mode), which deliberately ignores externally-set environment variables like PERL5LIB for security reasons, so even correctly exporting the variable before invocation has no effect. This looks like the same underlying class of problem as your ZeroMQ finding — a missing/undeclared Perl module dependency in the carbonio-amavisd package — just a second one, blocking earlier in the script.
Worth noting for anyone else troubleshooting this: mail flow, Amavis, and SpamAssassin all continue working correctly despite this — only these three auxiliary helper processes are affected, matching what's already been reported.
