Rspamd или уходим с spamassasin

Материал из support.qbpro.ru

РЕШЕНИЕ ПРОБЛЕМ:


  • warning: milter inet:localhost:8877: can't read SMFIC_OPTNEG reply packet header: Connection reset by peer
cat /var/log/syslog
warning: milter inet:localhost:11332: can't read SMFIC_OPTNEG reply packet header: Connection timed out
warning: milter inet:localhost:11332: read error in initial handshake

Решение:

mcedit /etc/rspamd/modules.d/redis.conf

добавить:

redis {
...
 maxmemory 1024mb;
 maxmemory-policy volatile-lru;
 .include(try=true,priority=5) "${DBDIR}/dynamic/redis.conf"
 .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/redis.conf"
 .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/redis.conf"
}

перезапуск rspamd.