procmail
[Top] [All Lists]

is this grep is correct?

2000-09-28 00:35:38
hi there,

i just want to know is my recipe is correct.
the recipe is following:

FORMAIL=/usr/local/bin/formail
FROM=`${FORMAIL} -z -rt -xTo:`

:0
* ? cat ${HOME}/trusted_addresses | grep ${FROM} <-- i'm interested in this row
!me(_at_)my(_dot_)domain

${HOME}/trusted_addresses:

other(_at_)other(_dot_)domain

this recipe does what it has to do but i want to be sure that everything is
correct :)

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.

thanx in advance.

---
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

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