Does your ISP support rebol scripting ? You must find out if they have rebol installed on the server. It sounds to me like the rebol script is not being executed, so it is just being returned as plain text.
Anton. > Hi list, > > Maybe this is not so much REBOL problem but I do need some help. > > I am trying to write a cgi script to filter my incoming emails > while at the > ISP server. > > My ISP has CPANEL and people there say it is not complicate to write a > filter using a pipe > just like that: > > > $header_subject: contains "keyword" |/home/usr/filter.pl > > > Obviously I do not want use Perl but REBOL instead so i wrote a > small script > just > to test the filtering: > > ------------------------------------ > #!rebol -cs > REBOL[] > > write/append %/home/usr/mylog.txt now/date > > ------------------------------ ------ > > As REBOL is running in CGI mode I wrote the following filter: > > $header_subject: contains "keyword" |/home/usr/cgi-bin/filter.cgi > > It works. All the email is being piped to my script but to my surprise > all I have is the whole content of each message appended to my very own > REBOL script!! > > What am I doing wrong? > > -- > *:-.,_,.-:*'``'*:-.,_,.-: > Carlos Lorenz > *:-.,_,.-:*'``'*:-.,_,.-: -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
