2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Can't forward to prog...
FromSent OnAttachments
Flemming BjerkeJan 28, 2007 5:22 am 
Sam VarshavchikJan 28, 2007 6:32 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Can't forward to program - why?Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Jan 28, 2007 6:32:39 am
List:net.sourceforge.lists.courier-maildrop

Flemming Bjerke writes:

The program simply stores an incoming mailstring:

#!/usr/bin/python import sys mailString = sys.stdin.read() sav = file('mailfil','w') sav.write(mailString) sav.close()

The program works perfectly when piping a mail to it:

cat /tmp/cur/1169985767.1845429.www\:2\, | /home/vmail/test.py

But what is test.py's exit code?