Стоит:
p5-Mail-SpamAssassin-3.1.6 A highly efficient mail filter for identifying spam
razor-agents-2.82 A distributed, collaborative, spam detection and filtering
spamass-milter-0.3.1 Sendmail Milter (mail filter) plugin for SpamAssassin>>rc.conf
### MAIL
clamav_clamd_enable="YES"
clamav_freshclam_enable="YES"
clamav_milter_enable="YES"
spamd_enable="YES"
spamd_flags="-c -d -r ${spamd_pidfile} -u spamd -H /usr/home/spamd"
spamass_milter_enable="YES"
spamass_milter_socket="/var/run/spamass-milter.sock"
>>/usr/local/etc/rc.d/sa-spamd
# Set defaults
: ${spamd_enable:="NO"}
#: ${spamd_flags="-c "}
: ${spamd_flags="-c -u spamd -H /usr/home/spamd"}
Все равно в логи сыпется:
Oct 18 16:14:09 kon-tiki sm-mta[1619]: k9IDDouN001619: from=<annoyance968@so-net.ne.jp>, size=2354, class=0, nrcpts=1, msgid=<IFAOOCSYSTWFEAWTIZNCGTW@dion.ne.jp>, bodytype=8BITMIME, proto=SMTP, daemon=IPv4, relay=[60.18.246.211]
Oct 18 16:14:09 kon-tiki sm-mta[1619]: k9IDDouN001619: milter=spamassassin, action=header, continue
Oct 18 16:14:09 kon-tiki last message repeated 12 times
Oct 18 16:14:09 kon-tiki sm-mta[1619]: k9IDDouN001619: milter=spamassassin, action=eoh, continue
Oct 18 16:14:09 kon-tiki sm-mta[1619]: k9IDDouN001619: milter=spamassassin, action=body, continue
Oct 18 16:14:09 kon-tiki spamd[69544]: spamd: connection from localhost.nla.od.ua [127.0.0.1] at port 57063
Oct 18 16:14:09 kon-tiki spamd[69544]: spamd: setuid to root succeeded
Oct 18 16:14:09 kon-tiki spamd[69544]: spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody at /usr/local/bin/spamd line 1144, <GEN816> line 4.
Oct 18 16:14:09 kon-tiki spamd[69544]: spamd: processing message <IFAOOCSYSTWFEAWTIZNCGTW@dion.ne.jp> for root:65534
Oct 18 16:14:16 kon-tiki spamd[69544]: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/auto-whitelist.lock.kon-tiki.onua.edu.ua.69544 for /root/.spamassassin/auto-whitelist.lock: Permission denied
Oct 18 16:14:16 kon-tiki spamd[69544]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/auto-whitelist.lock.kon-tiki.onua.edu.ua.69544 for /root/.spamassassin/auto-whitelist.lock: Permission denied
Oct 18 16:14:16 kon-tiki spamd[69544]: bayes: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/bayes.lock.kon-tiki.onua.edu.ua.69544 for /root/.spamassassin/bayes.lock: Permission denied
Oct 18 16:14:16 kon-tiki spamd[69544]: (?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/local/lib/perl5/5.8.8/Text/Wrap.pm line 46.
Oct 18 16:14:16 kon-tiki spamd[69544]: spamd: identified spam (30.8/5.0) for root:65534 in 6.7 seconds, 2677 bytes.
Oct 18 16:14:16 kon-tiki spamd[69544]: spamd: result: Y 30 - FORGED_MUA_AOL_FROM,MIME_BASE64_TEXT,MIME_BOUND_DD_DIGITS,MISSING_MIMEOLE,MSGID_SPAM_CAPS,RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E8_51_100,RAZOR2_CHECK,RCVD_DOUBLE_IP_SPAM,RCVD_HELO_IP_MISMATCH,RCVD_IN_NJABL_DUL,RCVD_NUMERIC_HELO,REPTO_QUOTE_AOL,SPF_NEUTRAL,SUBJ_ILLEGAL_CHARS,UNPARSEABLE_RELAY,UPPERCASE_75_100,X_IP scantime=6.7,size=2677,user=root,uid=65534,required_score=5.0,rhost=localhost.nla.od.ua,raddr=127.0.0.1,rport=57063,mid=<IFAOOCSYSTWFEAWTIZNCGTW@dion.ne.jp>,autolearn=failed