Rspamd или уходим с spamassasin: различия между версиями

Материал из support.qbpro.ru
Нет описания правки
Нет описания правки
Строка 7: Строка 7:
* [https://translated.turbopages.org/proxy_u/en-ru.ru.f0891997-6240c16f-e59fcc85-74722d776562/https/rspamd.com/doc/configuration/logging.html Rspamd logging settings]
* [https://translated.turbopages.org/proxy_u/en-ru.ru.f0891997-6240c16f-e59fcc85-74722d776562/https/rspamd.com/doc/configuration/logging.html Rspamd logging settings]


РЕШЕНИЕ ПРОБЛЕМ:
'''РЕШЕНИЕ ПРОБЛЕМ:'''
<hr>
<hr>
* '''warning: milter inet:localhost:8877: can't read SMFIC_OPTNEG reply packet header: Connection reset by peer'''
* '''warning: milter inet:localhost:8877: can't read SMFIC_OPTNEG reply packet header: Connection reset by peer'''

Версия от 21:28, 14 июня 2023

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


  • 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.