Tired of getting hundreds of porn, Viagra, and fake marijuana advertisements in your email? Use FreeBSD, SpamAssassin, and ProcMail to evaluate your incoming messages! Here's how:
1. Pick A Filtering Method And Install It | ||||||||
| Line: 17 to 17 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Choose your method, follow the instructions given, then come back to this topic. | ||||||||
| Changed: | ||||||||
| < < |
2. Restart SendMail? | |||||||
| > > |
2. Restart SendMail | |||||||
| Start using your new configuration: | ||||||||
| Line: 27 to 27 | ||||||||
Note: Test your new system immediately! Look at the output of /var/log/maillog, send yourself a few emails, and make sure
that they're correctly delivered. If you do not do this, you may silently lose mail without knowing it. If anything fails,
| ||||||||
| Changed: | ||||||||
| < < |
then immediately type: cd /etc/mail; make stop and fix or revert your SendMail? configuration before continuing.
| |||||||
| > > |
then immediately type: cd /etc/mail; make stop and fix or revert your SendMail configuration before continuing.
| |||||||
Seriously. I mean it. Test your system NOW!
3. Enjoy! | ||||||||
| Changed: | ||||||||
| < < |
Congratulations! You've now installed SpamAssassin and configured SendMail? to use it to process all incoming mail. If an email meets SpamAssassin's criteria to be considered spam, then it will have an additional header added to it: | |||||||
| > > |
Congratulations! You've now installed SpamAssassin and configured SendMail to use it to process all incoming mail. If an email meets SpamAssassin's criteria to be considered spam, then it will have an additional header added to it: | |||||||
X-Spam-Flag: YES | ||||||||
| Line: 1 to 1 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||||
| > > |
Tired of getting hundreds of porn, Viagra, and fake marijuana advertisements in your email? Use FreeBSD, SpamAssassin, and ProcMail to evaluate your incoming messages! Here's how:
1. Pick A Filtering Method And Install ItYou can either FilterMailWithSpamAssassinAndProcMail or FilterMailWithSpamAssassinViaMilter. Pros and cons: ProcMail?:
2. Restart SendMail?Start using your new configuration:/etc/mail# make; make install; make restartNote: Test your new system immediately! Look at the output of /var/log/maillog, send yourself a few emails, and make sure
that they're correctly delivered. If you do not do this, you may silently lose mail without knowing it. If anything fails,
then immediately type: cd /etc/mail; make stop and fix or revert your SendMail? configuration before continuing.
Seriously. I mean it. Test your system NOW!
3. Enjoy!Congratulations! You've now installed SpamAssassin and configured SendMail? to use it to process all incoming mail. If an email meets SpamAssassin's criteria to be considered spam, then it will have an additional header added to it:X-Spam-Flag: YESFinally, configure your email client to move all emails with that header into their own folder (or delete them entirely, if you're feeling brave). A sample Gnus configuration is available at EmacsWiki:SplitMailUsingBbdb. Enjoy your newly-protected inbox! Reports of 90% decreases in spam content are pretty typical. -- KirkStrauser - 03 Jul 2003
| |||||||||