|
#1
|
|||
|
|||
|
I have been trying to make email piping work. I have installed osticked in a folder named results. bhau is the subdomain added on the main domain user (dogmatio) however this is what i get A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: pipe to |/home/dogmatio/public_html/bhau/results/api/pipe.php generated by results@bhau.in I have also tried pipe to http://bhau.in/results/api/pipe.php and it does not work! Please advice |
|
#2
|
|||
|
|||
|
I also had problems with piping, and I wrote my own script to pipe correctly. The pipingscript (automail.pl) didn't work properly, or I couldn't get it to work.
My script, activated by a cronjob, fetches all email by pop3 and then PUT's all messages to the api/pipe.php script and deletes the messages on the mailserver. Works properly, so I think it's a worthly contribution to this wonderull product! Last edited by tinos; 12-30-2007 at 04:33 AM. |
|
#3
|
|||
|
|||
|
Possible problem include;
1) Missing quotes "|/home/dogmatio/public_html/bhau/results/api/pipe.php" 2) Permission issues Make pipe.php world executable. automail.php/pl are meant for remote piping. It is important to note the difference between local and remote piping. See the wiki for details http://osticket.com/wiki/Email_Settings#Email_Piping Tinos, your script is great but I think it is better to keep pop info and logic within the system. You could have simply cronned "/path/to/api/cron.php" to accomplish the same task without the need to discentralize the pop login info. |
|
#4
|
|||
|
|||
|
Thanx, but I tried the api/cron.php to work with a cronjob for a day, and I didn't get it to work. I got a lot of errors witch I couldn't resolve.
Could the safe-mode, PHP4/5 problems or rights-related problems be the problem. I mean, on some servers there is something going on with the cron.php or pipe.php that maybe needs a custom solution. Sorry for my English... |
|
#5
|
|||
|
|||
|
Quote:
When i enter the info and save it takes away the quotes, is this the issue maybe? |
|
#6
|
|||
|
|||
|
Are you using cpanel? Any details on the system would be helpful. PM for help if need be.
|
|
#7
|
|||
|
|||
|
Quote:
thanks |
|
#8
|
|||
|
|||
|
I'm using Apache server with Plesk Reloaded. It's a dedicated server...
|
|
#9
|
|||
|
|||
|
I've tried using cPanel 11's "Pipe to", as well as switching the theme back a version to manually enter "|/home/username/www/support/api/pipe.php"
No dice. I've got pipe.php set to 755 permissions, and I still get the following (edited) message whenever I email the forwarded address: A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: pipe to |/home/username/www/support/api/pipe.php generated by support@domain.com.au local delivery failed Is there a way to find out why it's failing, or has anyone solved the issue? Regards, Me |
|
#10
|
|||
|
|||
|
Hi again all,
After checking the mail server log using the email id from a bounce, and noticed the following (edited) entry: 2007-12-30 22:59:45 1J8wpU-0003iD-QI ** |/home/username/www/support/api/pipe.php (support@domain.com) <support@domain.com> R=virtual_aliases_nostar T=virtual_address_pipe: Child process of virtual_address_pipe transport returned 127 (could mean unable to exec or command does not exist) from command: /home/username/www/support/api/pipe.php I did a quick Google for the key phrase "Child process of virtual_address_pipe transport returned 127", and found a number of forum posts for unrelated-but-similar ticket/email response scripts from users experiencing our exact problem/bounce message To cut a long story short, the error means that the server is unable to directly execute pipe.php, as it doesn't have a hash-bang specifying what interpreter to use to execute the script. Rather than modify pipe.php by inserting "#! /usr/bin/php" on the first line, I simply amended the forwarder I was using in cPanel to read as follows: "|/usr/bin/php /home/username/www/support/api/pipe.php" This allowed the pipe to execute cleanly, with no problems. Note that the above isn't able to be entered directly when using the newer themes for cPanel 11 (e.g. "x3") due to validation issues. I recommend temporarily stepping back to an earlier cPanel 10 theme (e.g. "x") and entering the pipe string that way. I hope this helps everyone else having the same problem! Kind regards, Ebonhand |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|