procmail
[Top] [All Lists]

Re: search for 2 headers and a body

1997-09-25 08:05:36
On Thu, 25 Sep 97 10:24:43 -0400,
Timothy J Luoma <luomat(_at_)peak(_dot_)org> wrote:
:0
* ^From:(_dot_)*someone(_at_)somewhere\(_dot_)com
* ^Subject: Subject
{
     :0 B
     * begin 644 file.tar.gz
     {

:0bw
* ^From:(_dot_)*someone(_at_)somewhere\(_dot_)com
* ^Subject:[    ]*Subject
* B ?? ^begin [46][046][046] [^./][^/]+
| uudecode

             # should this be
             # :0fb
             # rather than what it is?

No, :f would replace the body of the message with the output of
uudecode, i.e. normally nothing at all. Unless you have a specific
reason to want that, you don't want it.

/* era */

Paraphrase: unless you want that, you don't want it

-- 
 Paparazzi of the Net: No matter what you do to protect your privacy,
  they'll hunt you down and spam you. <http://www.iki.fi/~era/spam/>

<Prev in Thread] Current Thread [Next in Thread>