procmail
[Top] [All Lists]

Re: Failure of fgrep?

1997-06-02 12:07:00
wotan(_at_)netcom(_dot_)com wrote,

| FROM=`$FORMAIL -zrx To:`
| SENDER=`echo $FROM | sed -e 's/@.*//'`

You could do the second step within procmail and save overhead:

 :0
 * FROM ?? ^^\/[^(_at_)]+
 { SENDER=$MATCH }

| I do not have any form of nws in my FOLKS listing ...

Not even as a substring?

| Nor do I have a verbose log for this, since I wasn't expecting it.  

That's easily taken care of: just refeed the message interactively to
procmail with VERBOSE=on before you delete it.

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