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