Procmail recipe to get both the List-Id text

M.W. Chang mwchang
Mon May 17 11:59:39 PDT 2004


> Can someone show me their snippets that deal with putting the linux-users mail into a folder.

 From Linux Magazine, article "Mail Filtering with procmail":

Figure Two: Sample procmailrc Configurations

# Define variables
PATH=/bin:/usr/bin:/usr/local/bin:$HOME/bin:/usr/sbin
MAILDIR=$HOME/Mail
DEFAULT=$MAILDIR/unseen

# Discard message from this user.
:0
* ^From.*jerk at bad-guys\.org  <-- change this
/dev/null                    <-- change this

# Copy all mail messages into message archive file.
:0c:
archive


-- 
   .~.    http://toylet.homeip.net
  / v \   Linux 2.4.22-xfs
/( _ )\  10:40am up 15:11 1 user
   ^ ^    1.00 1.00


More information about the Linux-users mailing list