MT6 Rspamd
Jump to navigation
Jump to search
Install
jailmanage rspamd pkg install -y rspamd
Configure
grep -q rspamd /etc/rc.conf || tee -a /etc/rc.conf <<EO_RSPAMD rspamd_enable="YES" EO_RSPAMD service rspamd start
Log file rotation
mkdir -p /usr/local/etc/newsyslog.conf.d/ echo '/var/log/rspamd/rspamd.log nobody:nobody 644 7 * @T00 JC /var/run/rspamd/rspamd.pid 30' \ > /usr/local/etc/newsyslog.conf.d/rspamd