Extension '.../inc/mail/hesk_pipe.php' not present.

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Jenny
Posts: 18
Joined: Thu Mar 26, 2015 7:52 am

Extension '.../inc/mail/hesk_pipe.php' not present.

Post by Jenny »

I get this error from Mail Delivery System ((

I don't understand this problem((

I tried a simple test script working to pipe

Code: Select all

#!/usr/bin/php -q
<?php
error_reporting(E_ALL);
$to      = 'mymail@mail.com';
$subject = 'Its working!';
$message = 'hello test';
$headers = 'From:mymail@mail.com' . "\r\n" .
    'Reply-To: mymail@mail.com' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);
?>
and it's working well, I got this message!

What I have to do?
Last edited by Jenny on Thu Mar 26, 2015 10:37 am, edited 1 time in total.
Jenny
Posts: 18
Joined: Thu Mar 26, 2015 7:52 am

Re: Extension '.../inc/mail/hesk_pipe.php' not present.

Post by Jenny »

Maybe Extension 'lalala ' not present means that I need to add something in "pipe" handler?

now I have in exim/aliases string like this:

mymail@mail.com: "|/varlala/inc/mail/hesk_pipe.php":group - return what I wrote above.

if

mymail@mail.com: "|/varlala/inc/mail/test-mail.php":group - working, I got the message from testscript.

Maybe hesk_pipe.php needs some flags or something?
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Extension '.../inc/mail/hesk_pipe.php' not present.

Post by Klemen »

This could be a simple line-ending problem (windows vs unix line endings).

Try uploading this file and see if it helps:
http://www.hesk.com/extras/hesk_pipe_EOL.zip

Make 101% sure you upload it in ASCII mode, not binary. And if you use Cpanel don't use cpanel's file manager to extract the Zip file as it doesn't handle line endings properly.
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
Jenny
Posts: 18
Joined: Thu Mar 26, 2015 7:52 am

Re: Extension '.../inc/mail/hesk_pipe.php' not present.

Post by Jenny »

Thanks! But did not help :cry:
Please any ideas, so want this feature!
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Extension '.../inc/mail/hesk_pipe.php' not present.

Post by Klemen »

Line endings are the only thing that I can think of.

If you have ssh access you can try: dos2unix /varlala/inc/mail/hesk_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
Jenny
Posts: 18
Joined: Thu Mar 26, 2015 7:52 am

Re: Extension '.../inc/mail/hesk_pipe.php' not present.

Post by Jenny »

YES! Thanks. that helped!

Another problem was that I got message from mail delivery: "The temporary directory "/lalal/attachments/b6f075fa4cd677dd3d969263b5f21663" doesn't exist."

I chmod /attachments/ recursively 777 and it works! THANKS!!!
Post Reply