getting amavisd-new running with redis

Catscrash catscrash at catscrash.de
Sat Jul 20 13:50:29 CEST 2019


Hi,

since I started having issues with amavis dying due to BLB issues, I
tried setting up redis instead.

Setup is Debian stretch with amavisd-new 2.10, redis-server 3.2.6

I added the following lines to my 50-user.conf:

@storage_redis_dsn = ( {server=>'127.0.0.1:6379', db_id=>1} );
$storage_redis_ttl = 16*24*60*60;
$enable_ip_repu = 1;
@ip_repu_ignore_networks = qw( xxx.xxx.xxx.xxx/xx ); ##external IPs of
MX servers
@ip_repu_ignore_maps = (\@ip_repu_ignore_networks);
$redis_logging_key = 'amavis-log';
$redis_logging_queue_size_limit = 300000;

netstat let's me know the redis server is running, and I can access it
with netcat 127.0.0.1 6379.

When amavis starts, there's nothing about redis in the logs and the keys
"*" command shows that the redis server has not been used yet.


Is there maybe some kind of module missing or something? Here is the
complete startup-log.


Thanks for your help!


Jul 20 13:37:48 hostname amavis[16083]: starting. /usr/sbin/amavisd-new
at xxx.xxx.xxx
amavisd-new-2.10.1 (20141025), Unicode aware, LC_ALL="C", LANG="en_US.UTF-8"
Jul 20 13:37:49 hostname amavis[16093]: Net::Server: Group Not Defined. 
Defaulting to EGID '1022 1022'
Jul 20 13:37:49 hostname amavis[16093]: Net::Server: User Not Defined. 
Defaulting to EUID '1000'
Jul 20 13:37:49 hostname amavis[16093]: Module Amavis::Conf        2.404
Jul 20 13:37:49 hostname amavis[16093]: Module Archive::Zip        1.59
Jul 20 13:37:49 hostname amavis[16093]: Module Compress::Raw::Zlib 2.069
Jul 20 13:37:49 hostname amavis[16093]: Module Compress::Zlib      2.069001
Jul 20 13:37:49 hostname amavis[16093]: Module Crypt::OpenSSL::RSA 0.28
Jul 20 13:37:49 hostname amavis[16093]: Module DB_File             1.835
Jul 20 13:37:49 hostname amavis[16093]: Module Digest::MD5         2.54
Jul 20 13:37:49 hostname amavis[16093]: Module Digest::SHA         5.95_01
Jul 20 13:37:49 hostname amavis[16093]: Module Encode              2.80_01
Jul 20 13:37:49 hostname amavis[16093]: Module File::Temp          0.2304
Jul 20 13:37:49 hostname amavis[16093]: Module IO::Socket::INET6   2.72
Jul 20 13:37:49 hostname amavis[16093]: Module IO::Socket::IP      0.37
Jul 20 13:37:49 hostname amavis[16093]: Module MIME::Entity        5.508
Jul 20 13:37:49 hostname amavis[16093]: Module MIME::Parser        5.508
Jul 20 13:37:49 hostname amavis[16093]: Module MIME::Tools         5.508
Jul 20 13:37:49 hostname amavis[16093]: Module Mail::DKIM::Verifier 0.4
Jul 20 13:37:49 hostname amavis[16093]: Module Mail::Header        2.18
Jul 20 13:37:49 hostname amavis[16093]: Module Mail::Internet      2.18
Jul 20 13:37:49 hostname amavis[16093]: Module Mail::SpamAssassin  3.004002
Jul 20 13:37:49 hostname amavis[16093]: Module Net::DNS            1.07
Jul 20 13:37:49 hostname amavis[16093]: Module Net::LibIDN         0.12
Jul 20 13:37:49 hostname amavis[16093]: Module Net::Server         2.008
Jul 20 13:37:49 hostname amavis[16093]: Module NetAddr::IP         4.079
Jul 20 13:37:49 hostname amavis[16093]: Module Scalar::Util        1.4202
Jul 20 13:37:49 hostname amavis[16093]: Module Socket              2.020_03
Jul 20 13:37:49 hostname amavis[16093]: Module Socket6             0.27
Jul 20 13:37:49 hostname amavis[16093]: Module Time::HiRes         1.9733
Jul 20 13:37:49 hostname amavis[16093]: Module URI                 1.71
Jul 20 13:37:49 hostname amavis[16093]: Module Unix::Syslog        1.1
Jul 20 13:37:49 hostname amavis[16093]: Amavis::ZMQ code     NOT loaded
Jul 20 13:37:49 hostname amavis[16093]: Amavis::DB code      NOT loaded
Jul 20 13:37:49 hostname amavis[16093]: SQL base code        NOT loaded
Jul 20 13:37:49 hostname amavis[16093]: SQL::Log code        NOT loaded
Jul 20 13:37:49 hostname amavis[16093]: SQL::Quarantine      NOT loaded
Jul 20 13:37:49 hostname amavis[16093]: Lookup::SQL code     NOT loaded
Jul 20 13:37:49 hostname amavis[16093]: Lookup::LDAP code    NOT loaded
Jul 20 13:37:49 hostname amavis[16093]: AM.PDP-in proto code loaded
Jul 20 13:37:49 hostname amavis[16093]: SMTP-in proto code   loaded
Jul 20 13:37:49 hostname amavis[16093]: Courier proto code   NOT loaded
Jul 20 13:37:49 hostname amavis[16093]: SMTP-out proto code  loaded
Jul 20 13:37:49 hostname amavis[16093]: Pipe-out proto code  NOT loaded
Jul 20 13:37:49 hostname amavis[16093]: BSMTP-out proto code NOT loaded
Jul 20 13:37:49 hostname amavis[16093]: Local-out proto code loaded
Jul 20 13:37:49 hostname amavis[16093]: OS_Fingerprint code  NOT loaded
Jul 20 13:37:49 hostname amavis[16093]: ANTI-VIRUS code      loaded
Jul 20 13:37:49 hostname amavis[16093]: ANTI-SPAM code       loaded
Jul 20 13:37:49 hostname amavis[16093]: ANTI-SPAM-EXT code   NOT loaded
Jul 20 13:37:49 hostname amavis[16093]: ANTI-SPAM-C code     NOT loaded
Jul 20 13:37:49 hostname amavis[16093]: ANTI-SPAM-SA code    loaded
Jul 20 13:37:49 hostname amavis[16093]: Unpackers code       loaded
Jul 20 13:37:49 hostname amavis[16093]: DKIM code            NOT loaded
Jul 20 13:37:49 hostname amavis[16093]: Tools code           NOT loaded
Jul 20 13:37:49 hostname amavis[16093]: Found $file            at
/usr/bin/file
Jul 20 13:37:49 hostname amavis[16093]: No $altermime,         not using it
Jul 20 13:37:49 hostname amavis[16093]: Internal decoder for .mail
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .Z    at
/bin/uncompress
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .gz   at
/bin/gzip -d
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .bz2  at
/bin/bzip2 -d
Jul 20 13:37:49 hostname amavis[16093]: No ext program for   .xz, tried:
xzdec, xz -dc, unxz -c, xzcat
Jul 20 13:37:49 hostname amavis[16093]: No ext program for   .lzma,
tried: lzmadec, xz -dc --format=lzma, lzma -dc, unlzma -c, lzcat, lzmadec
Jul 20 13:37:49 hostname amavis[16093]: No ext program for   .lrz,
tried: lrzip -q -k -d -o -, lrzcat -q -k
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .lzo  at
/usr/bin/lzop -d
Jul 20 13:37:49 hostname amavis[16093]: No ext program for   .lz4,
tried: lz4c -d
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .rpm  at
/usr/bin/rpm2cpio
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .cpio at
/bin/pax
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .tar  at
/bin/pax
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .deb  at
/usr/bin/ar
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .rar  at
/usr/bin/unrar-free
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .arj  at
/usr/bin/arj
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .arc  at
/usr/bin/nomarch
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .zoo  at
/usr/bin/zoo
Jul 20 13:37:49 hostname amavis[16093]: No ext program for   .doc,
tried: ripole
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .cab  at
/usr/bin/cabextract
Jul 20 13:37:49 hostname amavis[16093]: Internal decoder for .tnef
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .zip  at
/usr/bin/7za
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .kmz  at
/usr/bin/7za
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .7z   at
/usr/bin/7zr
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .xz   at
/usr/bin/7z
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .lzma at
/usr/bin/7z
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .jar  at
/usr/bin/7z
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .swf  at
/usr/bin/7z
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .lha  at
/usr/bin/7z
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .iso  at
/usr/bin/7z
Jul 20 13:37:49 hostname amavis[16093]: Found decoder for    .exe  at
/usr/bin/unrar-free; /usr/bin/arj
Jul 20 13:37:49 hostname amavis[16093]: No decoder for       .F
Jul 20 13:37:49 hostname amavis[16093]: No decoder for       .doc
Jul 20 13:37:49 hostname amavis[16093]: No decoder for       .lrz
Jul 20 13:37:49 hostname amavis[16093]: No decoder for       .lz4
Jul 20 13:37:49 hostname amavis[16093]: Using primary internal av
scanner code for ClamAV-clamd
Jul 20 13:37:49 hostname amavis[16093]: Found secondary av scanner
ClamAV-clamscan at /usr/bin/clamscan



More information about the amavis-users mailing list