Email pipping

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
kabuc
Posts: 69
Joined: Tue Jun 21, 2011 6:32 am

Email pipping

Post by kabuc »

So we can see that email are being piped to hesk_pipe.php script.
Here goes the piece of mail daemon log (with real addresses replaced):

2011-12-07 07:56:14 1RYAUI-0003N5-Cr<= address1@domain.tld H=mail.domain.tld
[192.168.1.105] P=esmtp S=897
id=1100.222.133.83.12.1323237373.squirrel@mail.domain.tld
2011-12-07 07:56:15 1RYAUI-0003N5-Cr
=>|/var/www/.../hdesk/inc/mail/hesk_pipe.php<pagalba@srv999.domain.tld>
R=system_aliases T=address_pipe
2011-12-07 07:56:15 1RYAUI-0003N5-Cr Completed

The script has executable flag set as it's written in the manual.


But there's nothing in helpdesk application, email piping is on, and email set is good. nothing happens

I try to change hesk path in hesk_pipe.php but still nothing happens
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Email pipping

Post by Klemen »

You don't even get any "Email delviery failed" messages?

Do you have "Email piping" enabled in HESK settings?
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
kabuc
Posts: 69
Joined: Tue Jun 21, 2011 6:32 am

Re: Email pipping

Post by kabuc »

You don't even get any "Email delviery failed" messages?
No.
Do you have "Email piping" enabled in HESK settings?
Yes
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Email pipping

Post by Klemen »

Try saving this code as "hesk_pipe.php":

Code: Select all

#!/usr/bin/php -q
<?php
mail('you@yourdomain.com','Pipe test','Email piping seems to work!');
?>
Then see if you get an email to "you@yourdomain.com" after sending an email through pipe.
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
kabuc
Posts: 69
Joined: Tue Jun 21, 2011 6:32 am

Re: Email pipping

Post by kabuc »

I don't get an email to "you@yourdomain.com" after I sending an email through pipe.
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Email pipping

Post by Klemen »

If even such a simple script isn't working it means that you email piping is not working correctly. Talk to you admin about how to setup piping on your specific server (depends on the OS and server software).
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
Post Reply