HESK e-mail piping public BETA (test version)

Helpdesk for my helpdesk software

Moderator: mkoch227

Locked
mdiehl
Posts: 17
Joined: Sun Nov 14, 2010 6:22 pm

Re: HESK e-mail piping public BETA (test version)

Post by mdiehl »

Hi Klemen,
I agree that it has to do something with Apple Mail and redirecting. Therefor and because I am off to Denmark for a week or two I will get back to this "problem" later.
Best regards
Matthias
shawnm
Posts: 1
Joined: Wed Feb 09, 2011 5:20 pm

Re: HESK e-mail piping public BETA (test version)

Post by shawnm »

I am looking to install the HESK version with email piping... I have been waiting for the new release with piping before installing it. Does anyone have an estimated time frame on when it should be ready for live use?

Just wondering... not trying to rush it. :-)

Thanks a bunch.
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: HESK e-mail piping public BETA (test version)

Post by Klemen »

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
ruffmeister
Posts: 48
Joined: Wed Jun 16, 2010 2:52 pm

Re: HESK e-mail piping public BETA (test version)

Post by ruffmeister »

Hi there klemen did you need me to do any further testing for you based on my original issue of shared hosting?
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: HESK e-mail piping public BETA (test version)

Post by Klemen »

Is the pipe script working for you now or still having problems?
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
egidux77
Posts: 4
Joined: Fri Feb 25, 2011 2:26 pm

Re: HESK e-mail piping public BETA (test version)

Post by egidux77 »

fc11.x86_64
PHP version: PHP 5.2.13
MySQL version: Server version: 5.1.47
I'm using plesk server with qmail service. I'm owner of server, so i have all right to manage server.

deferral: PHP_Warning:__require():_Unable_to_access_../../hesk_settings.inc.php_in_/var/www/vhosts/*******/httpdocs/******/inc/mail/hesk_pipe.php_on_line_40/PHP_Warning:__require(../../hesk_settings.inc.php):_failed_to_open_stream:_No_such_file_or_directory_in_/var/www/vhosts/*******/httpdocs/******/inc/mail/hesk_pipe.php_on_line_40/PHP_Warning:__require():_Unable_to_access_../../hesk_settings.inc.php_in_//var/www/vhosts/*******/httpdocs/******/inc/mail/hesk_pipe.php_on_line_40/PHP_Warning:__require(../../hesk_settings.inc.php):_failed_to_open_stream:_No_such_file_or_directory_in_/var/www/vhosts/*******/httpdocs/******/inc/mail/hesk_pipe.php_on_line_40/PHP_Fatal_error:__require():_Failed_opening_required_'../../hesk_settings.inc.php'_(include_path='.:')_in_/_path='.:')_in_/var/www/vhosts/easyhosting.lt/httpdocs/pagalba/inc/mail/hesk_pipe.php_on_line_40/

line 40 looks:
equire(HESK_PATH . 'hesk_settings.inc.php');
ruffmeister
Posts: 48
Joined: Wed Jun 16, 2010 2:52 pm

Re: HESK e-mail piping public BETA (test version)

Post by ruffmeister »

hi there, i have tried all the different versions that you PM'd me and all of them wouldnt pull the ticket into hesk.

or if i have missed a release i am more than welcome to try if you could let me know what version to try.
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: HESK e-mail piping public BETA (test version)

Post by Klemen »

@egidux77:

in the hesk_pipe.php file try changing

Code: Select all

define('HESK_PATH','../../');
to your root path of the Hesk folder, like

Code: Select all

define('HESK_PATH','/var/www/vhosts/*******/httpdocs/******/');
Does that help?

@ruffmeister

Here's another thing to try:
If you receive an error that states local delivery failed like the error shown below when sending an email in to your piped email address then the forwarder entry is not correct and the message is not being sent to the pipe.php script.

pipe to |/home/username/public_html/whmcs/pipe/pipe.php generated by support@yourdomain.com local delivery failed

To correct this, try the following variations of the email forwarder command:

"|/usr/bin/php -q /home/username/public_html/whmcs/pipe/pipe.php"

"|/usr/local/bin/php -q /home/username/public_html/whmcs/pipe/pipe.php"
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
ruffmeister
Posts: 48
Joined: Wed Jun 16, 2010 2:52 pm

Re: HESK e-mail piping public BETA (test version)

Post by ruffmeister »

Hi mate

have forwarded to the following

|/usr/local/bin/php -q /home/ruffmeis/public_html/hesk22/inc/mail/hesk_pipe.php

and

|/usr/bin/php -q /home/ruffmeis/public_html/hesk22/inc/mail/hesk_pipe.php

both give local delivery failure

anything else?
egidux77
Posts: 4
Joined: Fri Feb 25, 2011 2:26 pm

Re: HESK e-mail piping public BETA (test version) SOLVED

Post by egidux77 »

Klemen wrote:@egidux77:

in the hesk_pipe.php file try changing

Code: Select all

define('HESK_PATH','../../');
to your root path of the Hesk folder, like

Code: Select all

define('HESK_PATH','/var/www/vhosts/*******/httpdocs/******/');
Does that help?
It helps partialy. Seems that now problem with safemode for domain or something else:


success: PHP_Warning:__fopen():_SAFE_MODE_Restriction_in_effect.__The_script_whose_uid_is_10025_is_not_allowed_to_access_/var/www/vhosts/**********/httpdocs/****/attachments/b5facd6293e49b36d804651ceaeaf336/7521WAPvQ5_owned_by_uid_110_in_/var/www/vhosts/easyhosting.lt/httpdocs/pagalba/inc/mail/email_parser.php_on_line_322/PHP_Warning:__fopen(/var/www/vhosts/easyhosting.lt/httpdocs/pagalba/attachments/b5facd6293e49b36d804651ceaeaf336/7521WAPvQ5):_failed_to_open_stream:_No_such_file_or_directory_in ...

SOLVED:

the problem was with the php "safe mode" permissions for domain.
egidux77
Posts: 4
Joined: Fri Feb 25, 2011 2:26 pm

Re: HESK e-mail piping public BETA (test version)

Post by egidux77 »

Now another question - how with internacional characters? When i submit new question via mail pipe with internacional characters "žšč" in subject and body, in hesk tickets they look ????. Same is for notification mail, all internacional characters looks ???. But if i submit new ticket via web and subject contains internacional characters, than in hesk everything is ok, but in mail:

A new support ticket has been submitted. Ticket details:
Ticket subject: ą č ę ė į š ų ū ž

Any ideas?
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: HESK e-mail piping public BETA (test version)

Post by Klemen »

@egidux77

You will probably need to change the charset in your language text.php file to a charset that support the special chars, probably to ISO-8859-2 or UTF-8

You can also send a sample e-mail to pipe {at} hesk (dot) com which will log the contents of the e-mail for me to see and check.

@ruffmeister

You did chmod the hesk_pipe.php file to 755 (rwx-rw-rw-), right?

If yes I would recommend replacing the hesk_pipe.php file with a new one with this content:

Code: Select all

<?php
echo "PIPING WORKED";
?>
It's up to you to setup the server for piping so one you get a returned e-mail with error message "PIPING WORKED" you will know the piping is indeed working and it's not a server setting issue. When you get this change back to the original hesk_pipe.php script.
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
ruffmeister
Posts: 48
Joined: Wed Jun 16, 2010 2:52 pm

Re: HESK e-mail piping public BETA (test version)

Post by ruffmeister »

hi klemen me again :-(

failed again with local delivery (did you want the full bounce back?

even with the changed heskp_pipe.php file

any ideas?
ruffmeister
Posts: 48
Joined: Wed Jun 16, 2010 2:52 pm

Re: HESK e-mail piping public BETA (test version)

Post by ruffmeister »

scrub that i am an idiot, totally re-read your comments about setting it up and totally missed off two things

1) your instructions point to |/home/username/public_html/hesk/inc/mail/hesk_mail.php instead of hesk_pipe.php

second forgot to point to the actual domain name its hosted on so off course it would be file not found :-( thanks for your patience

1 question i havent upgraded from 2.1 on my live site could this be added to 2.1 or is it 2.2 only ?
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: HESK e-mail piping public BETA (test version)

Post by Klemen »

Sorry about that, the entire instrucitons talk about "hesk_pipe.php" just the path has wrongly "hesk_mail.php" in it.

Glad to hear you got it working now anyway. It's designed to work with 2.2, newer tested it with 2.1. It should be officially included in Hesk 2.3
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
Locked