TIP: Click on subject to list as thread! ANSI
echo: linux-user
to: Warren Hrach
from: Ross Cassell
date: 2003-08-02 20:34:24
subject: spam

Hello Warren!

02 Aug 03 16:34, you wrote to All:

 WH> Can anyone give me an example of a string to put in my RH 8 home
 WH> dir/.procmailrc to send this to a /dev/null address.  I have been all
 WH> over the docs and help files for proc mail and no recipe for multiple
 WH> 'To' addresses.  I want to only keep the msg's that are addressed to
 WH> 'warren11{at}cox.net'.


Have you looked at Spmassassin or Popfile?

Here is my .procmailrc for SpamAssassin

I am not having procmail move it off, but rather a filter in Evolution for me.

=== Cut ===
# SpamAssassin sample procmailrc
#
# Pipe the mail through spamassassin (replace 'spamassassin' with 'spamc'
# if you use the spamc/spamd combination)
#
# The condition line ensures that only messages smaller than 250 kB
# (250 * 1024 = 256000 bytes) are processed by SpamAssassin. Most spam
# isn't bigger than a few k and working with big messages can bring
# SpamAssassin to its knees.
#
# The lock file ensures that only 1 spamassassin invocation happens
# at 1 time, to keep the load down.
#
:0fw: spamassassin.lock
* < 256000
| spamc

# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
#:0:
#* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
#~/evolution/local/SA-Spam/

# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "probably-spam".
#:0:
#* ^X-Spam-Status: Yes
#~/evolution/local/SA-Spam/mbox

# Work around procmail bug: any output on stderr will cause the
"F" in "From"
# to be dropped.  This will re-add it.
:0
* ^^rom[ ]
{
  LOG="*** Dropped F off From_ header! Fixing up. "

  :0 fhw
  | sed -e '1s/^/F/'
}

=== Cut ===


==
Ross
Official Fidonet Region 18 Home Page: http://www.region18.info
Web Site For The Eastern Star: http://www.easternstar.info
Full Fidonet BBS: http://www.the-estar.com telnet://the-estar.com
ross{at}easternstar.info | ICQ: 5305939 | Blog: http://www.iblog.us
... The option to override self-destruct expir{at}^%i{at}&$#NO CARRIER
--- GoldED+/LNX 1.1.5-30512
* Origin: The Eastern Star - Spartanburg, SC USA (1:123/456)
SEEN-BY: 633/267 270
@PATH: 123/456 500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.