Piping With IIS

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
citanuleht
Posts: 1
Joined: Tue Sep 27, 2011 10:10 pm

Piping With IIS

Post 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!
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Piping With IIS

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
coolio
Posts: 5
Joined: Fri Apr 27, 2012 1:55 pm

Re: Piping With IIS

Post 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;
?>
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Piping With IIS

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
coolio
Posts: 5
Joined: Fri Apr 27, 2012 1:55 pm

Re: Piping With IIS

Post 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....
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Piping With IIS

Post 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?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
coolio
Posts: 5
Joined: Fri Apr 27, 2012 1:55 pm

Re: Piping With IIS

Post by coolio »

I am using POSTFIX on server with DEBIAN....
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Piping With IIS

Post 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)
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Piping With IIS

Post by Klemen »

Just wondering - did you ever get this working?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
coolio
Posts: 5
Joined: Fri Apr 27, 2012 1:55 pm

Re: Piping With IIS

Post 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...
Post Reply