| ||||||||
| Line: 70 to 70 | ||||||||
|---|---|---|---|---|---|---|---|---|
| | spamc | ||||||||
| Changed: | ||||||||
| < < |
5. Configure SendMail? to make ProcMail the MailDeliveryAgent? | |||||||
| > > |
5. Configure SendMail to make ProcMail the MailDeliveryAgent? | |||||||
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
/root# cd /etc/mail; tail -n 3 host.domain.com.mc | ||||||||
| ||||||||||
| Changed: | ||||||||||
| < < |
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: | |||||||||
| > > |
This is an alternative to the instructions at FilterMailWithSpamAssassinViaMilter.
The general theory is that incoming mail will be piped through ProcMail? and processed according to the "recipes" in each user's setup.
Advantages:
| |||||||||
1. Install SpamAssassin
| ||||||||||
| Line: 71 to 81 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| MAILER(local) MAILER(smtp) | ||||||||||
| Deleted: | ||||||||||
| < < |
/etc/mail# make; make install; make restart 6. 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: YES | |||||||||
| Changed: | ||||||||||
| < < |
Finally, 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. | |||||||||
| > > |
6. Return to FilterMailWithSpamAssassin to finish up. | |||||||||
| Changed: | ||||||||||
| < < |
Enjoy your newly-protected inbox! Reports of 90% decreases in spam content are pretty typical. | |||||||||
| > > |
-- KirkStrauser - 03 Jul 2003 | |||||||||
| Deleted: | ||||||||||
| < < |
-- KirkStrauser - 04 Feb 2003 | |||||||||
| ||||||||||
| Changed: | ||||||||||
| < < |
| |||||||||
| > > |
| |||||||||
| ||||||||
| Line: 91 to 91 | ||||||||
|---|---|---|---|---|---|---|---|---|
-- KirkStrauser - 04 Feb 2003
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Added: | ||||||||
| > > |
| |||||||
| ||||||||||
| Changed: | ||||||||||
| < < |
1. Install SpamAssassin | |||||||||
| > > |
1. Install SpamAssassin | |||||||||
| ||||||||||
| Changed: | ||||||||||
| < < |
2. Install ProcMail | |||||||||
| > > |
2. Install ProcMail | |||||||||
| ||||||||||
| Changed: | ||||||||||
| < < |
3. Make a default ProcMail rcfile with your favorite text editor so that it looks like this: | |||||||||
| > > |
3. Decide whether to call spamassassin directly, or run it as a daemon3.1 Calling it directlyPros:
3.2 Running as a daemonPros:
cd /usr/local/etc/rc.d cp spamd.sh-dist spamd.sh /usr/local/etc/rc.d/spamd.sh start 4. Make a default ProcMail rcfile with your favorite text editor so that it looks like this:4.1 Calling spamassassin directly: | |||||||||
/root# cat /usr/local/etc/procmailrc | ||||||||||
| Line: 18 to 50 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| | spamassassin -P | ||||||||||
| Changed: | ||||||||||
| < < |
4. Configure SendMail? to make ProcMail the MailDeliveryAgent? | |||||||||
| > > |
4.2 Calling the spamassassin daemon with spamc:/root# cat /usr/local/etc/procmailrc DROPPRIVS=yes :0fw | spamc 5. Configure SendMail? to make ProcMail the MailDeliveryAgent? | |||||||||
| ||||||||||
| Line: 34 to 76 | ||||||||||
| /etc/mail# make; make install; make restart | ||||||||||
| Added: | ||||||||||
| > > |
6. 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:
| ||||||||||
| Line: 44 to 89 | ||||||||||
| Enjoy your newly-protected inbox! Reports of 90% decreases in spam content are pretty typical. | ||||||||||
| Changed: | ||||||||||
| < < |
-- KirkStrauser - 03 Feb 2003 | |||||||||
| > > |
-- KirkStrauser - 04 Feb 2003 | |||||||||
| ||||||||||
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Line: 44 to 44 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Enjoy your newly-protected inbox! Reports of 90% decreases in spam content are pretty typical. | ||||||||
| Changed: | ||||||||
| < < |
-- KirkStrauser - 20 Aug 2002 | |||||||
| > > |
-- KirkStrauser - 03 Feb 2003 | |||||||
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Line: 18 to 18 | ||||||||
|---|---|---|---|---|---|---|---|---|
| | spamassassin -P | ||||||||
| Changed: | ||||||||
| < < |
4. Configure SendMail? to make ProcMail the MailDeliveryAgent? | |||||||
| > > |
4. Configure SendMail? to make ProcMail the MailDeliveryAgent? | |||||||
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
/root# cd /etc/mail; tail -n 3 host.domain.com.mc | ||||||||
| Line: 34 to 34 | ||||||||
| /etc/mail# make; make install; make restart | ||||||||
| 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 | ||||||||
| ||||||||
| Changed: | ||||||||
| < < |
Tired of getting hundreds of porn, Viagra, and fake marijuana advertisements in your email? Use FreeBSD, SpamAssassin, and ProcMail to evaluate your incoming email! Here's how: | |||||||
| > > |
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. Install SpamAssassin
| ||||||||
| Line: 40 to 40 | ||||||||
|---|---|---|---|---|---|---|---|---|
| X-Spam-Flag: YES | ||||||||
| Changed: | ||||||||
| < < |
Finally, 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 http://www.emacswiki.org/cgi-bin/wiki.pl?SplitMailUsingBbdb . Enjoy your newly-protected inbox! | |||||||
| > > |
Finally, 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. | |||||||
| Added: | ||||||||
| > > |
Enjoy your newly-protected inbox! Reports of 90% decreases in spam content are pretty typical. | |||||||
| -- KirkStrauser - 20 Aug 2002 | ||||||||
| ||||||||
| Line: 40 to 40 | ||||||||
|---|---|---|---|---|---|---|---|---|
| X-Spam-Flag: YES | ||||||||
| Changed: | ||||||||
| < < |
Simply configure your email client to move all emails with that header into their own folder (or delete them entirely, if you're feeling brave), and enjoy your newly-protected inbox! | |||||||
| > > |
Finally, 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 http://www.emacswiki.org/cgi-bin/wiki.pl?SplitMailUsingBbdb . Enjoy your newly-protected inbox! | |||||||
-- KirkStrauser - 20 Aug 2002
| ||||||||
| ||||||||||
| Line: 34 to 34 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| /etc/mail# make; make install; make restart | ||||||||||
| Changed: | ||||||||||
| < < |
-- Main.guest - 20 Nov 2008 | |||||||||
| > > |
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: YESSimply configure your email client to move all emails with that header into their own folder (or delete them entirely, if you're feeling brave), and enjoy your newly-protected inbox! -- KirkStrauser - 20 Aug 2002 | |||||||||
| ||||||||||
| Line: 1 to 1 | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Added: | |||||||||||||
| > > |
/root# cat /usr/local/etc/procmailrc :0fw | spamassassin -P4. Configure SendMail? to make ProcMail the MailDeliveryAgent?
/root# cd /etc/mail; tail -n 3 host.domain.com.mc FEATURE(local_procmail) MAILER(local) MAILER(smtp)
/etc/mail# make; make install; make restart-- Main.guest - 20 Nov 2008
| ||||||||||||