* Quanah Gibson-Mount <[email protected]>:
> --On Friday, December 04, 2015 4:18 PM -0800 Quanah Gibson-Mount
> <[email protected]> wrote:
> 
> >Due to licensing changes perpetrated by Oracle to make BDB unusable, I
> >find it curious that the Amavisd SNMP subagent depends on BDB.
> >
> >See also: <https://en.wikipedia.org/wiki/Lightning_Memory-Mapped_Database>
> ><https://en.wikipedia.org/wiki/Lightning_Memory-Mapped_Database#License_I
> >ssues>
> 
> Heh, sent that before finishing my thoughts.
> 
> It would be nice if the module could be updated to use a backend
> that is actually FOSS, rather than one encumbered with hostile
> licensing, such as LMDB.
> 
> There is currently the LMDB_File perl module for this purpose.  I
> don't know if it will or will not suit the purposes of the amavisd
> snmp subagent, as I haven't looked in depth how amavisd uses the
> BerkeleyDB module.

Have you had a look at zmq support in amavisd?

$enable_db = 0;
$enable_zmq = 1;

Once you have that in place, you can run the newer amavisd-snmp-subagent-zmq
agent in combination with amavis-mc:

31801 ?        S      0:17 /usr/bin/perl -T /usr/sbin/amavis-mc -P 
/run/amavis/amavis-mc.pid
31803 ?        Sl     4:25  \_ /usr/bin/perl -T /usr/sbin/amavis-services 
msg-forwarder
31804 ?        Sl     4:34  \_ /usr/bin/perl -T /usr/sbin/amavis-services 
childproc-minder
31805 ?        Sl     3:37  \_ /usr/bin/perl -T /usr/sbin/amavis-services 
snmp-responder
 5653 ?        Sl     0:27 /usr/bin/perl -T /usr/sbin/amavisd-snmp-subagent-zmq 
-P /run/amavis/amavisd-snmp.pid

p@rick

-- 
[*] sys4 AG
 
https://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
 

Reply via email to