Bugtraq mailing list archives

Re: procmail


From: adam () HOMEPORT ORG (Adam Shostack)
Date: Mon, 21 Jul 1997 16:51:20 -0400


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.



Current thread: