Page 1 of 1

using fetchmail to pipe email

Posted: Fri Sep 30, 2011 12:31 am
by wizard210
Script URL:
Version of script: 2.3
Hosting company: local
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

My email is hosted by a remote isp. I have hesk set up on a server in my office. I can't pipe email since my isp doesn't allow it.

I've been successful in using fetchmail to retrivie messages off the mail server. I'm getting this error when trying to pipe it to hesk_pipe

fetchmail: starting fetchmail 6.3.9-rc2 daemon
fetchmail: 1 message for support email at mail.clasd.net.
sh: /var/www/support/inc/mail/hesk_pipe.php: Permission denied
fetchmail: reading message support@clasd.net@mail.clasd.net:1 of 1 (594 header octets) (118 body octets) (log message incomplete)fetchmail: Error writing to MDA: Broken pipe

Re: using fetchmail to pipe email

Posted: Sat Oct 01, 2011 2:42 pm
by Klemen
I am not familiar with fetchmail, but it could be that your hesk_pipe.php doesn't have correct file permissions (make sure it's executable - chmod to 0755).

Re: using fetchmail to pipe email

Posted: Fri Mar 07, 2014 2:24 pm
by dnwklin
I have set hesk_pipe.php to 777 but

Could not open input file: /var/www/support/inc/mail/hesk_pipe.php

Re: using fetchmail to pipe email

Posted: Fri Mar 07, 2014 7:02 pm
by Klemen
I'm afraid I can't be of much help here, you will need to debug this in the server side.