From 53a9fc0e4822df83268a13fb850b9e67fb5cbd55 Mon Sep 17 00:00:00 2001 From: Felix <0xFelix@users.noreply.github.com> Date: Fri, 4 Sep 2015 09:18:12 +0200 Subject: [PATCH] Set 'LOCALONLY' to 0 in /etc/default/spampd --- setup/spamassassin.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup/spamassassin.sh b/setup/spamassassin.sh index 35cab605..d69cc346 100755 --- a/setup/spamassassin.sh +++ b/setup/spamassassin.sh @@ -42,9 +42,11 @@ echo "public.pyzor.org:24441" > /etc/spamassassin/pyzor/servers # want to lose track of it. (We've configured Dovecot to listen on this port elsewhere.) # * Increase the maximum message size of scanned messages from the default of 64KB to 500KB, which # is Spamassassin (spamc)'s own default. Specified in KBytes. +# * Disable localmode so Pyzor, DKIM and DNS checks can be used. tools/editconf.py /etc/default/spampd \ DESTPORT=10026 \ - ADDOPTS="\"--maxsize=500\"" + ADDOPTS="\"--maxsize=500\"" \ + LOCALONLY=0 # Spamassassin normally wraps spam as an attachment inside a fresh # email with a report about the message. This also protects the user