[4961] in bugtraq

home help back first fref pref prev next nref lref last post

Re: procmail

daemon@ATHENA.MIT.EDU (Adam Shostack)
Mon Jul 21 18:49:24 1997

Date: 	Mon, 21 Jul 1997 16:51:20 -0400
Reply-To: Adam Shostack <adam@HOMEPORT.ORG>
From: Adam Shostack <adam@HOMEPORT.ORG>
X-To:         batsy@VAPOUR.NET
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To:  <Pine.BSF.3.96.970718172439.14027A-100000@vapour.net> from jamie
              at "Jul 18, 97 05:32:27 pm"

I think my .procmailrc is still more paranoid than the one in the man
page:


# basic file server.  Only sends whats in .outbound
:0
* ^Subject: (SEND|get) [0-9a-z][-_/0-9a-z.]+$
* !^Subject:.*[ /.]\.
* !^FROM_DAEMON
{
   # FILE=`formail -x Subject: | sed 's/.* //'`
   FILE=`sed -n -e '/Subject:/s/.* //p' -e '/^$/q'`

  :0c
  | (formail -rt -A"Precedence: junk";\
     cat $HOME/.outbound/$FILE) | $SENDMAIL -t

  :0:
  $MAILDIR/.log
}



--
He has erected a multitude of new offices, and sent hither swarms of
officers to harrass our people, and eat out their substance.

home help back first fref pref prev next nref lref last post