Hi there,
Ah, rejoice... I worked, thanks for your help. However. I had to do this.
to "|./test.pl"
xfilter just ralphed no matter what I did.
Whatever. It works!
Thanks
ken
At 17:59 05/03/2003, you wrote:
Hi there,
Thanks, I tried both examples however I am still having problems... I
put this line in my .mailfilter file.
xfilter "/usr/local/bin/test.pl"
But I get this in the maillog,
maildrop:_error_writing_to_filter./maildrop:_Unable_to_filter_message./
I don't know why it would have a problem, the perms on the file are 755
and I tested the script. It just takes STDIN and dumps it to a file.
I wish the error message was a little more informational cause I have
tried several combinations and nothing helped.
Any suggestions?
Unless your program returns with errorcode 0 and provides some a valid
output on STDOUT xfilter will fail. What happens if you envoke it
through backticks? Try testing your perl script by piping something to
it outside of maildrop ( cat testmessage | /usr/local/bin/test.pl ) and
see if that works first before debugging it with maildrop...