Bug 241721 - security/amavisd-new: zeromq not working with enable_zmq=1 (missing some components)
Summary: security/amavisd-new: zeromq not working with enable_zmq=1 (missing some comp...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Florian Smeets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-05 03:44 UTC by Tzu-Te Kuo
Modified: 2023-02-04 11:20 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (flo)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tzu-Te Kuo 2019-11-05 03:44:01 UTC
According to the source code of amavisd-new (amavis)[1], to enable ZMQ support (including IPC and SNMP), we have to start the supporting service process (amavis-service) which is designed to start the ZMQ socket (via zmq_bind) and manage the message forwarding process.

But this port is not including these files (e.g. amavis-service, amavis-mc, etc.), so even we set enable_zmq=1 in amavisd.conf, amavisd still not using ZMQ.

I'd like to know is ZMQ support is designed to be not functional in this port (and why?), or this function should be work?

Thanks.

--
[1]: https://gitlab.com/amavis/amavis
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2022-08-07 22:30:07 UTC
Ping maintainer
Comment 2 Florian Smeets freebsd_committer freebsd_triage 2023-02-04 11:20:33 UTC
I don't have any experience with ZMQ, I looked into implementing support into the amavis port a while ago but got sidetracked. Revisiting this is looks like we don't have the necessary Perl modules in the tree.

The Amavis project is also discussing discontinuing ZMQ support https://gitlab.com/amavis/amavis/-/issues/66

I won't be implementing the support into our port. I'm more than happy to accept patches that provide the support.

Sorry for the very long delay in answering this PR.