I think procmail is working fine (though thanks for the ‘postfix’ comment - I thought it was odd to forward all mail to another forwarder to forward!)… as a log is being generated. That’s the good news. The bad news is, it doesn’t work, and the log file only says:
procmail: Error while writing to “/usr/bin/python2.2 /home/mainuser/mail2entry/mail2entry.py”
Where could I see what that error is? I checked the error logs under my mainuser, but see nothing traceable to this pipe/script.
And… should my procmail pipe command be in quotes or not? That is:
| “/usr/bin/python2.2 /home/mainuser/mail2entry/mail2entry.py”
| /usr/bin/python2.2 /home/mainuser/mail2entry/mail2entry.py
Or should I be leaving out the ‘python’ invocation completely? (Both machines seem to have python2.2 in the same place.)
Finally, where can I get a test message (stdn)? I know I can ‘cat’ pipe a test message straight to the mail2entry.py script if I know how to find a sample source. I tried throwing one at it straight from ‘Maildir/new’ (1071622491.13952_0.machinename). I get:
“IOError: [Errno 13] Permission denied: /home/mainuser/mail2entry/mailtoentry.py”
Thanks for the quick and patient reply!