!!SenderID (and SPF)
|
SenderID merged with a smaller group called Sender Policy Framework (SPF). SPF is a very simple mechanism for specifying which servers are valid for sending your email and is much simpler to implement than DomainKeys. Microsoft holds several patents in relation to the SenderID framework, however it released those patents in the "public domain" this past october. Beyond the typical cynicism of Microsoft's ulterior motives, SPF has a significant [http://www.advogato.org/article/816.html|amount of technical criticism]. Regardless, [http://itmanagement.earthweb.com/columns/executive_tech/article.php/3604761|many major ISP's are using SPF] to filter mail, including AOL (and RoadRunner) which has in some reports exclusively implemented SPF to some degree. (Spamassassin reports SOFT_FAIL reports from bogus .rr.com emails.)
|
!!!Spamassassin SPF Support
|
-#__cpan -i Mail::SPF::Query__
|
+#Install SPF perl module{code source="txt"}cpan -i Mail::SPF::Query{/code} |
!!!SPF Outbound support
|
The quickest way to get the DNS entries up and running is to [http://www.openspf.org/FAQ/Manage_my_own|follow the wizard].
|
|
-!6. Spamassassin Advanced Tools
|
+!Spam Detection |
+There are two top spam tools - DSPAM and spamassassin. |
+ |
+!6. Spamassassin Configuration |
+#The spamassassin site has a review on [http://wiki.apache.org/spamassassin/IntegratedInPostfixWithAmavis|integrating amavis and spamassassin], which is mostly ready to go by default.symlinking the bayes databases ( __ln -s /var/spool/amavis/.spamassassin /root__ ) is a good idea so you can use sa-learn by hand to stock you bayes database. Review [http://www.ijs.si/software/amavisd/#faq-spam|amavis + spamassassin FAQ] to tweak your configuration parameters. |
+#Configure __sa-update__ - add [http://saupdates.openprotect.com/|OpenProtect Rules] to update daily.{code source="bash"}$ wget http://saupdates.openprotect.com/pub.gpg |
+$ sa-update --nogpg --import pub.gpg |
+$ crontab -e |
+... add ... |
+1 5 0 0 0 sa-update --gpgkey D1C035168C1EBC08464946DA258CDB3ABDE9DC10 --channel saupdates.openprotect.com --channel updates.spamassassin.org |
+{/code} |
!![http://razor.sourceforge.net/|Razor]
|
-#Get the [http://razor.sourceforge.net/|latest SDK source] and install {code source="bash"}cd $HOME/src
|
-wget http://unc.dl.sourceforge.net/sourceforge/razor/razor-agents-sdk-2.07.tar.gz
|
+#Get the [http://razor.sourceforge.net/|latest SDK source] and install {code source="bash"}wget http://unc.dl.sourceforge.net/sourceforge/razor/razor-agents-sdk-2.07.tar.gz |
tar xvzf razor-agents-sdk-2.07.tar.gz
|
cd razor-agents-sdk-2.07
|
perl Makefile.PL && make && make install # Or, if not root: perl Makefile.PL PREFIX=$HOME && make && make install{/code}
|
-# Get the [http://razor.sourceforge.net/|latest agents source] and register agents{code source="bash"}cd $HOME/src
|
-wget http://unc.dl.sourceforge.net/sourceforge/razor/razor-agents-2.84.tar.gz
|
+# Get the [http://razor.sourceforge.net/|latest agents source] and register agents{code source="bash"}wget http://unc.dl.sourceforge.net/sourceforge/razor/razor-agents-2.84.tar.gz |
tar xvzf razor-agents-2.84.tar.gz
|
cd razor-agents-2.84
|
perl Makefile.PL PREFIX=$HOME && make && make install # Or, if installing system-wide as root: perl Makefile.PL && make && make install
|
razor-admin -create
|
razor-admin -discover
|
razor-admin -register{/code}
|
+# Disable razor logging, else you will quickly fill up /var/. Edit __/var/spool/amavisd/.razor/razor-agent.conf__ and add: debuglevel = 0 |
|
!Troubleshooting
|
*Be sure to watch your logs, such as: tail -f /var/log/maillog
|