I wanted to add some spamassassin rules for applying DMARC policy.
I created /etc/mail/spamassassin/opendmarc.cf:
I then ran sa-update - seemed OKheader DMARC_PASS Authentication-Results =~ /remote.goldnugget.com.au; dmarc=pass /
describe DMARC_PASS DMARC validation seems valid
tflags DMARC_PASS nice
score DMARC_PASS -0.1
header DMARC_NONE Authentication-Results =~ /remote.goldnugget.com.au; dmarc=none /
describe DMARC_NONE DMARC validation none
score DMARC_NONE 0.0
header __DMARC_FAIL Authentication-Results =~ /remote.goldnugget.com.au; dmarc=fail /
meta DMARC_FAIL __DMARC_FAIL && !__DOS_HAS_LIST_ID && !__DOS_HAS_MAILING_LIST
describe DMARC_FAIL DMARC validation failed
score DMARC_FAIL 3.0
Then sa-compile - and got the following error:
I checked spamassassin with systemctl, it wasn't running, so I started it. It started OK./usr/bin/perl Makefile.PL PREFIX=/tmp/.spamassassin154812VAFmTtmp/ignored INSTALLSITEARCH=/var/lib/spamassassin/compiled/5.016/3.004004
Only one of PREFIX or INSTALL_BASE can be given. Not both.
command failed: exit 25
How can I resolve this issue?