capturing piped information

Thomas thomas at madeforchina.com
Mon Mar 13 02:40:09 EST 2000


Hi everyone,

I want to write a simple script which is run each time someone
mails my list subscribe address: subsribe at mfc.com.  In my qmail 
'subscribe' alias I added a pipe which pipes all the mail to my script.  
ie.:

|/var/scripts/unsubscribe.py

My problem :
how do I access this piped information inside the script?

Any suggestions or help appreciated.

Thanks,
Tom Duterme





More information about the Python-list mailing list