MT6 Rspamd

From The Network People, Inc. - Wiki
Jump to navigation Jump to search
Mail Toaster 6
Start Installation
FreeBSD Upgrade
DNS Upgrade
MySQL Upgrade
ClamAV Upgrade
AVG Upgrade
SpamAssassin Upgrade
Rspamd Upgrade
dspam Upgrade
Vpopmail Upgrade
Haraka Upgrade
Haproxy Upgrade
webmail Upgrade
Monitor Upgrade
testing

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