Page 1 of 1

Email pipping

Posted: Sun Dec 11, 2011 12:28 pm
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

Re: Email pipping

Posted: Sun Dec 11, 2011 12:49 pm
by Klemen
You don't even get any "Email delviery failed" messages?

Do you have "Email piping" enabled in HESK settings?

Re: Email pipping

Posted: Sun Dec 11, 2011 12:57 pm
by kabuc
You don't even get any "Email delviery failed" messages?
No.
Do you have "Email piping" enabled in HESK settings?
Yes

Re: Email pipping

Posted: Sun Dec 11, 2011 1:02 pm
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.

Re: Email pipping

Posted: Mon Dec 12, 2011 6:33 am
by kabuc
I don't get an email to "you@yourdomain.com" after I sending an email through pipe.

Re: Email pipping

Posted: Mon Dec 12, 2011 9:20 am
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).