Bug 241721

Summary: security/amavisd-new: zeromq not working with enable_zmq=1 (missing some components)
Product: Ports & Packages Reporter: Tzu-Te Kuo <tzute>
Component: Individual Port(s)Assignee: Florian Smeets <flo>
Status: Closed Overcome By Events    
Severity: Affects Some People CC: diizzy
Priority: --- Flags: bugzilla: maintainer-feedback? (flo)
Version: Latest   
Hardware: Any   
OS: Any   

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.