On Thu, Sep 28, 2000 at 12:47:09AM -0700, Professional Software Engineering
wrote:
At 10:12 2000-09-28 +0300, Vyacheslav Zakharov wrote:
FROM=`${FORMAIL} -z -rt -xTo:`
See countless recent posts saying how you DO NOT put variables in braces -
procmail doesn't use them.
I am used to doing that when I write shell scripts. Is it harmful for
procmail?
Further, this is more concise:
FROM=|$FORMAIL -rtzxTo:
I didn't know that. Thank'ye :)
* ? cat ${HOME}/trusted_addresses | grep ${FROM}
spare yourself the cat:
* ? grep -i $FROM $HOME/trusted_addresses
(note the use of the -i flag for case insensitivity)
is there other way to filter a message in case i have some file with some
addresses based on that i'm going to do some actions.
By way of example, I use a similar method for twit filtering (one of many
filters in my twit filtration):
Thank you for recipe! It appeared to be very useful for me.
[ recipe skipped ]
---
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
---
Can't Rain All the Time
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail