Skip to content
Snippets Groups Projects
Commit 79502743 authored by Bob Mottram's avatar Bob Mottram
Browse files

Spamassassin allows messages from onion addresses

parent 95363d48
No related branches found
No related tags found
No related merge requests found
......@@ -1219,7 +1219,11 @@ function spam_filtering {
echo $'# misformatted messages generated by common mail apps in contravention of the';
echo $'# email RFCs.';
echo '';
echo '# score SUBJ_ILLEGAL_CHARS 0'; } > "/home/$MY_USERNAME/.spamassassin/user_prefs"
echo '# score SUBJ_ILLEGAL_CHARS 0';
echo '';
echo '# Allow from onion domains';
echo 'whitelist_from *.onion'; } > "/home/$MY_USERNAME/.spamassassin/user_prefs"
cp -r "/home/$MY_USERNAME/.spamassassin" /etc/skel
fi
# this must be accessible by root
chown -R "$MY_USERNAME":root "/home/$MY_USERNAME/.spamassassin"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment