[BangPypers] procmail and python

Amit Sethi amit.pureenergy at gmail.com
Wed Dec 21 09:04:12 CET 2011

Has anybody here used some kind of python script with procmail . I
want to set up a script that looks at a certain words in a mail and
forwards it to users. However I am not able to understand how can I
read the message in python script.

The documentation suggests something like this should send the body
and header to the stdin of my  script but what I get some gibbresh

:0 bh
| /usr/bin/python /home/amit/work/scripts/respond.py

Any ideas ??

More information about the BangPypers mailing list