Re: procmailrc help

1997-09-14 Thread Branden Robinson
On Sat, 13 Sep 1997, Paul Miller wrote:

 Here's what I want to do:
 
 1) mail addressed to me goes into the inbox (even from mailing lists)
 2) mailing lists are separated (already working)
 3) remaining messages go into a junk folder
 
 any ideas?

Sure.  This is what I do, except for the junk part, which I've been meaning
to add for a while and just did.  I notice most spam has bogus or useless
To: lines, so that makes filtering that nasty stuff all the easier.

Here's an abbreviated version of my .procmailrc:

--- SNIP ---
PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin
MAILDIR=$HOME/mail # you'd better make sure it exists
# DEFAULT=$MAILDIR/default # completely optional
LOGFILE=$MAILDIR/logfile   # recommended

# Use the Sender: (or Resent-Sender:) line if it exists, b/c that way we
# don't have to worry about messages cc'ed to me personally when I also
# belong to the list

:0:
* ^Sender: JS Bach and other Early and Baroque Music List [EMAIL PROTECTED].*
bach-list

:0:
* ^Resent-Sender: debian-announce-request.*
debian-announce

:0:
* ^Resent-Sender: debian-changes-request.*
debian-changes

:0:
* ^Resent-Sender: debian-devel-request.*
debian-devel

:0:
* ^Resent-Sender: debian-user-request.*
debian-user

# NASANews only comes from one address, so this is easy
:0:
* ^From: [EMAIL PROTECTED]
nasanews

:0:
* !^To: .*branden.*
junk
--- SNIP ---

Explanation: since I use the recommended .forward:

|IFS=' '  exec /usr/bin/procmail -f- || exit 75 #branden

Anything not processed by the .procmailrc stays in the inbox.  This is what
we want.  All the mailing list stuff is sorted out -- if you want for
some reason to collapse all your mailing lists into one box, I think you
can just pile all those asterisk lines into one recipe and dump them to
mailing-list or something.

Note the last line.  I'm liberal with the To: field because I get mail
forwarded to the home box from all kinds of places.  The ! in front of it
just says not.

There you go.

--
G. Branden Robinson |   I came, I saw, she conquered.  The
Purdue University   |   original Latin seems to have been
[EMAIL PROTECTED]  |   garbled.
http://www.ecn.purdue.edu/~branden/ |   -- Robert Heinlein


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


Re: procmailrc help

1997-09-14 Thread Jim Pick

The Filtering Mail FAQ explains how to set up both procmail and mailagent.

http://www.ii.com/internet/faqs/launchers/mail/filtering-faq/

Cheers,

 - Jim



pgpzXLTTlL8Zs.pgp
Description: PGP signature


Re: procmailrc help

1997-09-14 Thread ioannis



 Attached to this letter you will find a procmailrc file. Adjust
 the MAILDIR variable and are set. 




 Here's what I want to do:
 1) mail addressed to me goes into the inbox (even from mailing lists)
 2) mailing lists are separated (already working)
 3) remaining messages go into a junk folder


-- 
Ioannis Tambouras 
[EMAIL PROTECTED], West Palm Beach, Florida
Signed pgp-key on key server. 

#VERBOSE=on
HOME=/home/paul
PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:.
MAILDIR=/home/paul/mail
DEFAULT=$MAILDIR/junk
LOGFILE=$MAILDIR/log
LOCKFILE=$HOME/Mail/.lockmail


:0
*(^To:|^Cc:)[EMAIL PROTECTED]
inbox


:0
*(Cc:|From:|To:).*debian-bugs*
bug

:0
*(Cc:|From:|To:).*debian.*changes*
changes

:0
*(Cc:|From:|To:).*debian-user
user

:0
*(Cc:|From:|To:).*debian-announce
announce

:0
*(Cc:|From:|To:).*debian-changes
changes



procmailrc help

1997-09-14 Thread Paul Miller
Here's what I want to do:

1) mail addressed to me goes into the inbox (even from mailing lists)
2) mailing lists are separated (already working)
3) remaining messages go into a junk folder

any ideas?

-Paul


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .