uberspace:spam
Uberspace - AntiSpam Konfiguration
- Add Config-Master to SSH-Config
echo -e "\nHost uberspace-benh\nHostname ursa.uberspace.de\nUser benh\nPort 22\nCompression yes\nForwardAgent yes" >> $HOME/.ssh/config
- Install Uberspace-Services
uberspace-setup-svscan
- Install Spamassassin Daemon
uberspace-setup-spamd
- Copy some Scripts to ~/bin/
scp uberspace-benh:bin/spamreport.sh uberspace-benh:bin/spam+log.sh uberspace-benh:bin/blacklist-* uberspace-benh:bin/upload_spam.sh uberspace-benh:bin/update_spamfilter.sh uberspace-benh:bin/822field $HOME/bin/
- Copy Spamassassin Settings to $HOME/.spamassassin/user_prefs
scp uberspace-benh:.spamassassin/user_prefs $HOME/.spamassassin/user_prefs
- Create Log-Directory and Mail-Logfile
if [[ ! -d $HOME/mylog ]]; then mkdir $HOME/mylog; fi && touch $HOME/mylog/maillog
- Add A-Records to DNS for autoconfig.domain.tld and autodiscover.domain.tld
- Add Mailbox for Spam
vadduser spamtrap
- Configure Thunderbird for [email protected]
- Create the following IMAP-Folders: z_Spam, z_Ham
- Add new Hostconfig to ~/.ssh/config & ~/bin/teach_spamfilter.sh on Master-Uberspace
- Execute Spam-Learning-Script on Master-Uberspace
teach_spamfilter.sh
- Configure Spam-Folder with Symbolic Links (if necessary)
uberspace/spam.txt · Zuletzt geändert: von benh
