how do i execute a script(test.py) on every new mail using .procmailrc?
the following code isn't working..
Code:
:0
| cat&>$HOME/temp_mail && \
python $HOME/test.py
In the above example i am writing the new mail to temp_mail and executing the script which takes temp_mail as argument..This isn't working..how can i fix this?