posted 13 years ago
Now I want to process some email automatically.
So I use fetchmail to fetch mail per second. And use procmail to filter some email message.
My procmail configuration procmailrc is like below
I want to call perlout to create a new file test.cpp
the source code perlout is below
I use the command : fetchmail -akv -m "/usr/bin/procmail -d %T" to call fetchmail and call the procmail.
ButI find the perlout won't run out of my expectation.
and the procmail show that *procmail: Error while writing to "/home/max/perlout
so I think the perl script are not called.
I am sure the perlout path is correct.
Any comments will be welcome.
Thanks in advance.