procmail
[Top] [All Lists]

lynx command in recipe

2005-01-18 19:26:37
When an email is received for incoming(_at_)exampledomain(_dot_)com I am trying to execute a webpage and dump the results to a local file using the lynx browser however it just does not want to execute my command. The result is always a blank file.

When I execute '/usr/bin/lynx -dump http://www.yahoo.com.au > /home/tmp/proctest' from the linux command line it works as expected but within procmail.... nothing.

Here is my receipe... any help much appreciated.

SHELL=/bin/sh
PATH=$HOME/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
:0
* ^TO_incoming(_at_)domain\(_dot_)com
| /usr/bin/lynx -dump http://www.yahoo.com.au > /home/tmp/proctest



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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