Re: Triggering LC scripts when emails are received

2014-03-19 Thread Alex Tweedly
On 18/03/2014 09:04, j...@souslelogo.com wrote: Then I made a test with an .irev script; the email forwarder also detected an error in the script, but was unable to fix it, so the test failed : the email bounced and was considered as spam. I guess I need to follow Matthias advice and ask on-rev t

Re: Triggering LC scripts when emails are received

2014-03-18 Thread Matthias Rebbe | M-R-D
Hi jbv, the first command i use after the Alex & Matthias, > > Thank you so much for your help. > I have made a quick test with a php script, and when I entered the > path of the php script, the mail forwarder detected a problem with > the script (it needed to be made executable) and added the f

Re: Triggering LC scripts when emails are received

2014-03-18 Thread jbv
Alex & Matthias, Thank you so much for your help. I have made a quick test with a php script, and when I entered the path of the php script, the mail forwarder detected a problem with the script (it needed to be made executable) and added the following line at the top of the script : #!/usr/local/

Re: Triggering LC scripts when emails are received

2014-03-18 Thread Matthias Rebbe | M-R-D
Hi Peter, do you mean the livecode-server engine with „executable"? I have installed it exactly how Runrev recommends it. But you are right. Sensitiv data or executables should be outside public_html. I am already using a special folder above public_html which contains sensitiv data like db user

Re: Triggering LC scripts when emails are received

2014-03-17 Thread Peter W A Wood
Hi Mattias I believe that it is safer to install executables outside the public_html directory as it gives the possibility for somebody who knows how to run their scripts on your server. I don't know how to do that but I have a /bin directory at the same level as public_html for executables wh

Re: Triggering LC scripts when emails are received

2014-03-17 Thread Matthias Rebbe | M-R-D
Hi jbv, Alex is right. It is working this way and believe it or not, i was also working on this today. I must admit, that i use my own instances of livecode server on On-rev. It is installed under public_html/cgi-bin/livecode-server502 So for my configuration i selected „Pipe to program“ and

Re: Triggering LC scripts when emails are received

2014-03-17 Thread Alex Tweedly
In cPanel, within the "Email" section, add an email forwarder. Fill in the adddress you want to intercept, then click on "Advanced options" Select "Pipe to a program", and fill in the program script name for your program NB I haven't actually done this yet !! I've been meaning to try it

Triggering LC scripts when emails are received

2014-03-17 Thread jbv
Hi list, I need to trigger LC scripts (on an on-rev account or with LC server) when an email is received on an email address. The address will be the same but email senders will vary and according to the sender's email, different scripts will be triggered. The idea is to process the content of the