I've got this script set up (pLog - blogging script) that has support for remote blogging through a file "moblog.php" which takes the email contents and passes it to the rest.
The server needs to pass the email to "moblog.php" and it takes over from there, problem is, the server is not passing the information. The script calls for this:
...but since we don't have access to aliases, I have to use Cpanel to do this.
Now, the way to do this in Cpanel is to set up the following forwarder:
But that isn't working, so looking around and asking, I've tried all the following scenarios, with varying degrees of success:
1
2
3
4
I emailed Cpanel for support and they told me that the first attempt should work, and that if it doesnt, I should ask my host what they have changed so I can get the correct syntax or if they have disabled it on my server.
However, when submitting a trouble ticket, I'm told I can't get trouble ticket support for 3d party scripts and should post in the forums...so here I am, anyone have any idea what I can do?
Also, now I have a bunch of forwarders I can't erase (the ones with curl) for some reason....aaarghgh.
The server needs to pass the email to "moblog.php" and it takes over from there, problem is, the server is not passing the information. The script calls for this:
Code:
moblog: "|curl -F message='<-' http://yourhost.com/moblog.php"
Now, the way to do this in Cpanel is to set up the following forwarder:
Code:
mail@yourhost.com >> |/home/user/public_html/script.php
1
Code:
mail@yourhost.com >> |/home/user/public_html/script.php Bounces with "local delivery failed"
Code:
mail@yourhost.com >> "|/home/user/public_html/script.php" Bounces with "local delivery failed"
Code:
mail@yourhost.com >> |"/home/user/public_html/script.php" Bounces with "local delivery failed"
Code:
mail@yourhost.com >> |curl -F message='<-' http://www.consultatium.com/tmp/moblog.php Passes only "<-" to the script, which generates the following output: 21-08-2005 07:15:38 DEBUG - [mobloglogger.class.php:21 (logger:debug)] -- message -- 21-08-2005 07:15:38 DEBUG - [mobloglogger.class.php:21 (logger:debug)] '<-' 21-08-2005 07:15:38 DEBUG - [mobloglogger.class.php:21 (logger:debug)] -- end --
However, when submitting a trouble ticket, I'm told I can't get trouble ticket support for 3d party scripts and should post in the forums...so here I am, anyone have any idea what I can do?
Also, now I have a bunch of forwarders I can't erase (the ones with curl) for some reason....aaarghgh.
)
Comment