r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!Cheyenne] Discussions about the Cheyenne Web Server

Dockimbel
20-Sep-2009
[6025]
I can maybe add an option for that in the config file.
Graham
20-Sep-2009
[6026x2]
>> read dns://compkarori.co.nz
== 203.97.98.9
>>
works instantly
Dockimbel
20-Sep-2009
[6028]
that query is traversing a lot of layers...some of them might implement 
some sort of retries if first request doesn't work.
Graham
20-Sep-2009
[6029]
opendns is too slow for me for web browsing .. but it should be okay 
for just email
Dockimbel
20-Sep-2009
[6030]
I'd like to test first a more robust MTA. Going to sleep now. Thanks 
for the time you took for testing.
Graham
20-Sep-2009
[6031x2]
np
I guess you're going to have to use queues for greylisting servers
Graham
21-Sep-2009
[6033x2]
Is there a way that I can use a a href to invoke a program on the 
local drive or does the security prevent this?
no matter ... I found a way to do this via content-type  ...


just need to translate this php to rsp http://www.dklevine.com/general/software/tc1000/jarnsample3.php
Dockimbel
21-Sep-2009
[6035]
Re: greylisting, the plan was to use the freshly integrated scheduler 
library : scheduler/add [in 5 mn do [resend <email-id>]]
Graham
21-Sep-2009
[6036x2]
have you  tried it yet?  Or have you just got up ?  :)
I guess Gmail is selectively graylisting users ...since you havent 
seen it happen to you.
Dockimbel
21-Sep-2009
[6038x2]
Tried: going to try it today, scheduler is working ok inside Cheyenne, 
just need to add more logging info.
Gmail: as I've retried several times at beginning (but manually), 
I may have passed the greylisting without noticing it.
Graham
21-Sep-2009
[6040]
just wondering if url-encode should also take file! as a parameter
Dockimbel
21-Sep-2009
[6041x3]
doesn't sound like a common case? Using FORM should be enough : 
<%= url-encode form %file %>
Btw, I didn't understood what you wanted to achieve by "use a a href 
to invoke a program on the local drive"? You mean running an executable 
on the server with a hypertext link? (I guess you're targeting a 
server on localhost?)
If it's for local server, file:// in href can work (see http://en.wikipedia.org/wiki/File_URI_scheme).
Graham
21-Sep-2009
[6044x2]
didn't know about file://  ... yes, I can use that.
yes I am using form already .. but forme it's a common scenario to 
display files from the web server's directories
Dockimbel
21-Sep-2009
[6046]
SVN r23 :


FEAT: improved logging and error handling for dig/SMTP/MTA modules.

FEAT: integration of deferred retries in MTA for temp errors recovering 
and greylisting passing.

FEAT: new config keyword in global section: dns-server. (see changelog.txt)

FIX: in email generation, added a missing CRLF between headers and 
body.
FIX: logger sub-second times output padding fixed.
FIX: minor code cleanups.
Graham
21-Sep-2009
[6047x5]
22/9-10:18:36.371-## Error in [uniserve] : On-received call failed 
with error: make object! [
    code: 300
    type: 'script
    id: 'no-value
    arg1: 'startegy
    arg2: none
    arg3: none
    near: [pick dns-server switch startegy [
            round-robin [first head reverse dns-server]
            random [pick dns-server random length? dns-server]
        ]]
    where: 'on-init-port
] !
source code version ... will now try encap.
this is with dns-server [ 203.96.152.4 230.96.152.12 ] in my httpd.cfg 
globals
In dig.r line 174 should read

			pick dns-server switch strategy [
as there is a typo there.
actually I think line 174 should read

			switch strategy [

and lose the "pick dns-server"
Dockimbel
22-Sep-2009
[6052x3]
Thanks, the part was messed up. Fixing that.
SVN r24

FIX: more conforming handling of 4xx SMTP return codes
FIX: typo and coding error fixed in dig.r (Thanks Graham)
SVN r25

FEAT: encap paths are now in a separate file (%encap-paths.r)
Pekr
22-Sep-2009
[6055]
sorry for ignorance, but can't find link to SVN archive ...
Graham
22-Sep-2009
[6056x3]
in MTA.r, line 135 change this line

						scheduler/plan compose/only/deep only  [

to 

						scheduler/plan compose/only/deep [
http://cheyenne-server.googlecode.com/svn/
there is an extraneous "only" in that line
Pekr
22-Sep-2009
[6059]
Thanks Graham - what should I do with the first run of Tortoise? 
I suppose I better don't do Check-out? Should I create a "working 
copy"? I don't remember how I did it for Rebgui, as I am long time 
issuing Update item from the context menu. I need to do first sync 
of Cheyenne now, and would not like to screw something on the server 
side :-)
Graham
22-Sep-2009
[6060x4]
You can't screw up the server .. you don't have any rights
you want to do a SVN update
doc is the only person with write access to the repo
r26 is now up fixing this error.
Pekr
22-Sep-2009
[6064x2]
I create Cheyenne local dir, and there is no SVN Update in the context 
menu. I first need to somehow create copy of the SVN. OK, there was 
Check-out in the context menu, hopefully Doc does not kill me that 
I have checked-out sources to myself, blocking others from submissions 
:-)
What does Cheyenne MTA means? (sorry for coming late to the topic) 
- does it mean I can turn-off Sendmail for e.g.? :-)
Graham
22-Sep-2009
[6066x3]
mail transport agent
well, it's not working yet ffor me ... when meeting a greylisting 
server
but otherwise it should work .
Dockimbel
22-Sep-2009
[6069]
The goal is to send sendmail to trashcan when you need to send emails 
from Cheyenne scripts or webapps.
Pekr
22-Sep-2009
[6070]
OK, but it can't replace Linux MTA generally, can it? I mean - installing 
Cheyenne with MTA can I replace the need for Sendmail for e.g. entirely?
Dockimbel
22-Sep-2009
[6071x4]
Cheyenne's MTA doesn't support yet all the SMTP features found in 
others MTA, but should be enough for general usage.
Btw, it doesn't accepting other mail clients than Cheyenne's CGI 
and RSP scripts.
It's for Cheyenne only usage. Sending email is often required in 
web applications, setting up and maintaining a third party MTA like 
sendmail is costly and complicated. Having a MTA built in Cheyenne 
will save everyone a lot of time and troubles.
Still need some work for debugging and fine-tuning as said by Graham.