procmail
[Top] [All Lists]

perl in procmail

1997-09-04 10:43:09
What can possible be wrong with this procmail snippet? The perl 
script works fine from the shell, but from the .procmailrc nothing is
executed. Also how can a variable like WHOFROM be parsed to the perl
program?

WHOFROM=`formail -XFrom: | formail -rtz -xTo:`

:0 hc     
* ^From(_dot_)*someone(_at_)domain(_dot_)com              
| /usr/home/jj/test.pl

-------
Tomas Karlsson

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