Blugh, very mucky install - installed some xorg stuff for whatever reason…
Channel rules are stored here:
/usr/local/share/spamassassin
and the channel config files are stored here:
/var/db/spamassassin/3.002003/
# cd /usr/ports/mail/p5-Mail-SpamAssassin # make install clean
I had to run make install a second time because it errored out the first time through - it completed the second time
#!/usr/local/bin/bash # SAUP=/usr/local/bin/sa-update $SAUP --gpgkey D1C035168C1EBC08464946DA258CDB3ABDE9DC10 --channel saupdates.openprotect.com --channel updates.spamassassin.org -D
/etc/crontab
:# SpamAssassin Rule Updater 45 6 * * * root /root/scripts/spam-update/sa-auto-update.sh
/etc/rc.conf
:# SpamAssassin spamd_enable="YES"
/usr/local/etc/procmailrc
::0fw: spamc.lock * < 256000 | spamc # filter 5-star spam and greater :0: * ^X-Spam-Level: \*\*\*\*\* spam # Work around procmail bug: any output on stderr will cause the "F" in "From" # to be dropped. This will re-add it. :0 * ^^rom[ ] { LOG="*** Dropped F off From_ header! Fixing up. " :0 fhw | sed -e '1s/^/F/' }
spamd
daemon:# /usr/local/etc/rc.d/sa-spamd start