procmail
[Top] [All Lists]

Re: What does this do ?

1998-05-14 17:57:40
At 05:01 PM 5/14/98 -0700, Jacques Gauthier wrote:

Perhaps it would be better if you told us what it is SUPPOSED to do...

I try to pipe my message: (mess.txt) into this file:

THISFILE < MESS.TXT

[snip]
#------THISFILE
| (formail -r -I "Subject: SESAME:   destination(_at_)yahoo(_dot_)com  
014481" \
             -i "Received:" \

Uh, is THISFILE supposed to be an executable script?  If so, where is the
shell being specified (#!/bin/sh for example), neverminding the way piping
is being performed on the formail line?

If THISFILE is supposed to be a procmail recipe (which it sort of looks
like it is supposed to be), then you're omitting a bunch of stuff that
should be occuring BEFORE this recipe (such as the conditions for
matching), AND you're not calling it properly on the commandline - procmail
scripts are NOT treated like shell scripts.

---
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

 Sean B. Straw / Professional Software Engineering
 Post Box 2395 / San Rafael, CA  94912-2395

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