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
[5990x2]
Do you have 10/10 using Rebol SEND?
I'll add more logging info tomorrow, I'm interested to know too what's 
blocking your emails, need to go to sleep now.
Graham
20-Sep-2009
[5992]
No smtp traffic observed
Dockimbel
20-Sep-2009
[5993]
Could you send me privately a log session from Cheyenne recorded 
with -vvvvv?
Graham
20-Sep-2009
[5994]
very odd... I just send email using rebol and there's no smtp traffic 
recorded!
Dockimbel
20-Sep-2009
[5995]
issue with wireshark filter? Local firewall or antivirus blocking?
Graham
20-Sep-2009
[5996x2]
ok... let me try 5 vs
where's the log?
Dockimbel
20-Sep-2009
[5998]
if encapped, it should be in %trace.log
Graham
20-Sep-2009
[5999]
and if not ?
Dockimbel
20-Sep-2009
[6000]
on screen IIRC
Graham
20-Sep-2009
[6001]
ok, log says mail sent to my own domain.
Dockimbel
20-Sep-2009
[6002]
so if there were no 4xx error codes from the MTA, your email is probably 
in the spam box?
Graham
20-Sep-2009
[6003x2]
now it's working with hotmail
very ood .... none of this was working before.
Dockimbel
20-Sep-2009
[6005]
greylisting issue...?
Graham
20-Sep-2009
[6006x4]
now sending to gmail.
21/9-10:50:49.068-# Warning in [MTA] : SMTP Error: {421-4.7.0 [203.97.98.9] 
Our system has detected an unusual amount of un
solicited^M
} !
21/9-10:50:49.123-[HTTPd] Connection closed

21/9-10:50:52.048-## Error in [uniserve] : On-raw-received call failed 
with error: make object! [
    code: 303
    type: 'script
    id: 'expect-arg
    arg1: 'send-email
    arg2: 'mx
    arg3: [tuple!]
    near: [send-email p/job ip p/dst]
    where: 'on-mx
] !
this is with source version
Now try encapped
Dockimbel
20-Sep-2009
[6010x2]
a 421 code + a MX retrieving failure
Are you using DNS server from your ISP or OpenDNS?
Graham
20-Sep-2009
[6012x3]
21/9-10:50:49.068-# Warning in [MTA] : SMTP Error: {421-4.7.0 [203.97.98.9] 
Our system has detected an unusual amount of un
solicited^M
} !
21/9-10:50:49.123-[HTTPd] Connection closed

21/9-10:50:52.048-## Error in [uniserve] : On-raw-received call failed 
with error: make object! [
    code: 303
    type: 'script
    id: 'expect-arg
    arg1: 'send-email
    arg2: 'mx
    arg3: [tuple!]
    near: [send-email p/job ip p/dst]
    where: 'on-mx
] !
oops ...
21/9-10:52:50.451-[MTA] New request: [[noreply-:-cheyenne-server-:-org] 
[[gchiu-:-compkarori-:-co-:-nz]] %mlxbgiff 11294044 #[none]]

21/9-10:52:50.452-## Error in [uniserve] : On-received call failed 
with error: make object! [
    code: 303
    type: 'script
    id: 'expect-arg
    arg1: 'pick
    arg2: 'series

    arg3: [series! pair! event! money! date! time! object! port! tuple! 
    any-function!]
    near: [pick dns-server random length? dns-server]
    where: 'on-init-port
] !
Dockimbel
20-Sep-2009
[6015]
DNS server issues.
Graham
20-Sep-2009
[6016]
oh ... not my fault ....
Dockimbel
20-Sep-2009
[6017]
My async dig:// doesn't yet try again when MX query failed.
Graham
20-Sep-2009
[6018x4]
maybe it is my fault
hmm...
works in source code vversion where I use opendns.
win-get-dns: has [base local-ip out v][
		local-ip: mold read join dns:// read dns://
		
		either value? 'get-reg [

   base: "System\CurrentControlSet\Services\Tcpip\Parameters\Interfaces"
			foreach adapter list-reg/hklm base [

    if local-ip = get-reg/hklm rejoin [base #"\" adapter] "IPAddress" 
    [
					v: get-reg/hklm rejoin [base #"\" adapter] "NameServer"
					v: parse v ","
					forall v [change v attempt [to-tuple trim v/1]]
					return head v
				]
			]
		][
			; just use opendns
			208.67.222.222
		]
	]
Dockimbel
20-Sep-2009
[6022]
The DNS server you're using are either under heavy load or just not 
very reliable (happens sometime). Anyway, my MTA should at least 
retry 5-10 times before giving up and reporting an error. I'll add 
that feature tomorrow.
Graham
20-Sep-2009
[6023]
can we fall back to opendns if the dns server fails?
Dockimbel
20-Sep-2009
[6024x2]
try hardcoding opendns ip as last value of 'win-get-dns, you'll see 
if it's more stable than your local DNS servers.
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.