Page 1 of 1

Piping With IIS

Posted: Tue Sep 27, 2011 10:22 pm
by citanuleht
Script URL: mis1.santegroup.org
Version of script: 2.3
Hosting company: NA (Hosted Locally)
URL of phpinfo.php: ?
URL of session_test.php: ?
What terms did you try when SEARCHING for a solution: "path to php iis" "hesk_pipe.php windows" "absolute php path windows"

Write your message below:

I have configured HESK to run on a local server in our company. I added the neccesary DNS records to get it working fine both internally and externally. Emailing and ticketing and everything works great! The only issue I'm having is trying to get the piping to work. I tried to follow the instructions (the DNS records are listed on CPanel) but I can't figure out:

What do I put for the path to php in the hesk_pipe.php file when the server is Windows?
What do I put for the path to hesk_pipe.php in CPanel when WE are hosting the server/PHP, and it's a Windows/IIS server not Linux?

Hopefully I'm making my questions clear. I have searched all over for the answers and have been unsuccessful. Any help is appreciated.

Thanks!

Re: Piping With IIS

Posted: Sat Oct 01, 2011 2:39 pm
by Klemen
I'm afraid I don't have experience with Windows servers so I don't really know how to set up email piping in Windows. Try Google for "PHP Windows email piping" or something similar.

Re: Piping With IIS

Posted: Fri Apr 27, 2012 2:05 pm
by coolio
Hello,

Is there a solution of email piping on Window server with IIS???

I have Windows Server 2008 R2 with 5.4.0 and MySQL 5.5 and Hesk 2.3

Everything working corectlly, but email piping doesn't work.

Is the configuration at the begin of file hesk_pipe.php right?

Code: Select all

#!/php/php -q
<?php
/*******************************************************************************
It is possible to run hesk_pipe.php manually for email pipe?

If I try to run this code, the mail is received correctly....

Code: Select all

#!/php/php -q
<?php

mail('you@yourmail.com','Test email piping','This is a test message');

return NULL;
?>

Re: Piping With IIS

Posted: Sun Apr 29, 2012 7:42 pm
by Klemen
The real problem is how to tell your server to pipe emails to the script.

I'm afraid I have no experience with IIS so I am unable to give any guidance on setting up email piping there, nor could I find anything useful on the net.

Re: Piping With IIS

Posted: Mon Apr 30, 2012 9:32 am
by coolio
OK, I have server with debian and apache...but cpanel is not installed....How can I install cpanel to debian? or does exist any similar solution for linux server?

and the second question is...

It is possible to have installation of hesk on windows server, and the piping function have on linux server?

I am looking for any mail forwarder, which will be usable for forward email to php script....

Re: Piping With IIS

Posted: Mon Apr 30, 2012 12:17 pm
by Klemen
CPanel makes it all easy, but it's not necessary.

What mail server software does your server use? Qmail? How do you for example setup a new email address?

Re: Piping With IIS

Posted: Mon Apr 30, 2012 12:27 pm
by coolio
I am using POSTFIX on server with DEBIAN....

Re: Piping With IIS

Posted: Mon Apr 30, 2012 1:22 pm
by Klemen
I haven't setup postfix myself yet, but after reading a bit try this:

- ssh to the server
- open your aliases file, for example: /etc/postfix/aliases
- inside add a new line, something like

Code: Select all

support@example.com: "| /usr/bin/php -q /home/hesk/inc/mail/hesk_pipe.php"
Make sure paths to PHP and hesk_pipe.php are correct.
- save and go back to ssh, execute command newaliases (type and hit enter)

Re: Piping With IIS

Posted: Sat May 05, 2012 4:38 pm
by Klemen
Just wondering - did you ever get this working?

Re: Piping With IIS

Posted: Tue May 08, 2012 4:39 pm
by coolio
I have solution for IIS and it seems to be working fine...
I will be informed you how to configure HESK on IIS...