Page 5 of 8

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

Posted: Sun Jan 09, 2011 8:41 pm
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

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

Posted: Wed Feb 09, 2011 5:22 pm
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.

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

Posted: Wed Feb 16, 2011 1:05 pm
by Klemen

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

Posted: Mon Feb 21, 2011 7:54 pm
by ruffmeister
Hi there klemen did you need me to do any further testing for you based on my original issue of shared hosting?

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

Posted: Tue Feb 22, 2011 5:29 pm
by Klemen
Is the pipe script working for you now or still having problems?

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

Posted: Fri Feb 25, 2011 3:22 pm
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');

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

Posted: Fri Feb 25, 2011 3:47 pm
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.

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

Posted: Fri Feb 25, 2011 3:56 pm
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"

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

Posted: Fri Feb 25, 2011 4:14 pm
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?

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

Posted: Fri Feb 25, 2011 5:08 pm
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.

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

Posted: Sat Feb 26, 2011 7:45 am
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?

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

Posted: Sun Feb 27, 2011 11:38 am
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.

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

Posted: Sun Feb 27, 2011 7:54 pm
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?

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

Posted: Sun Feb 27, 2011 8:07 pm
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 ?

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

Posted: Sun Feb 27, 2011 9:10 pm
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