Thu, 27 Jun 2019 11:57:33 -0600 skrev "@lbutlr" <krem...@kreme.com>:

> > in /etc/rc.conf
> > spamass_milter_localflags="-r 7 ... "
> 
> Yep, that is what doesn’t work (though mine is 10).

Thats very odd. I've been using spamass-milter through the entire Debian 6
lifecycle, and then FreeBSD 10, 11 and 12 without any issue (I might not have
used every minor version of FreeBSD).

I don't think I can offer any more help than my entire setup. 

/etc/rc.conf
spamd_enable="YES"
spamd_flags="--username=spamd --socketpath=/var/spool/postfix/spamd.sock
--socketowner=spamd --socketgroup=spamd --socketmode=0660 --max-children=2
--helper-home-dir=/var/spool/spamd --nouser-config --setuid-with-sql
--sql-config --local --daemonize"
spamass_milter_enable="YES"
spamass_milter_socket="/var/spool/postfix/spamass.sock"
spamass_milter_socket_owner="postfix"
spamass_milter_socket_group="postfix"
spamass_milter_socket_mode="660"
# Flags: -u user, -r reject, -d debug level, -e standard domain,
#        -a ignore AUTH clients, -m don't touch headers, -P PID file
# Local flags after -- is passed to spamc: socket and max size 12582912b = 12mb
spamass_milter_localflags="-u spamass -r 7 -d misc -e aptget.dk -a -m
-P /var/run/spamass.pid -- --socket=/var/spool/postfix/spamd.sock
--max-size=12582912"

In /usr/local/etc/mail/spamassassin/local.cf the report_safe is set to 1
https://spamassassin.apache.org/full/3.1.x/doc/Mail_SpamAssassin_Conf.html

And then the SQL login info and scoring info.

In /usr/local/etc/postfix/main.cf the (standard?) milter options is set
# Relative path from Postfix datadir to the spamass-milter socket
smtpd_milters = unix:spamass.sock

# What to do in case the milter is offline
milter_default_action = accept

# Info handed over to the milter
milter_connect_macros = j {daemon_name} v {if_name} _

The milter settings is in the docs
https://postfix.aptget.dk/MILTER_README.html

I hope it helps

Reply via email to