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

World: r3wp

[Web] Everything web development related

Tim
9-Oct-2011
[1895x3]
OOPS! I have a problem send email with authentication required. using 
the following
set-net [[tim-:-mydomain-:-com] mail.mydomain.com mail.mydomain.com none 
none none [tim-:-mydomain-:-com] '*******'] where 'mydomain' replaces my 
domain and asterisk obfuscate the password, if I send a message I 
get the following : connecting to: mail.mydomain.com

** User Error: Server error: tcp 503 AUTH command used when not advertised
** Near: smtp-port: open [scheme: 'esmtp] 
either only
Have I used set-net properly? :) the ML appears to have died. I find 
this very cumbersome for sharing code. Any other place for support?
Henrik
9-Oct-2011
[1898]
Tim, click the pencil, then you can easily share multiple lines of 
code.
Kaj
9-Oct-2011
[1899]
http://rebolforum.com
Tim
9-Oct-2011
[1900x4]
got it Kaj and been there. Will use.
And thanks Henrik. I see the pencil. Any ideas anyone?
Following is error trace.
>> send [tim-:-akwebsoft-:-com] "testing rebol"                        
                                             
Net-log: ["Opening" "tcp" "for" "esmtp"]
connecting to: mail.akwebsoft.com
Net-log: [none "220"]

Net-log: {220-host266.hostmonster.com ESMTP Exim 4.76 #1 Sun, 09 
Oct 2011 11:45:39 -0600 }

Net-log: {220-We do not authorize the use of this system to transport 
unsolicited, }
Net-log: "220 and/or bulk e-mail."
Net-log: [["HELO" system/network/host] "250"]
Net-log: {250 host266.hostmonster.com Hello bart [64.4.232.191]}
Net-log: ["AUTH CRAM-MD5" "334"]
Net-log: ["WARNING! Using plain authentication."]

Net-log: [{AUTH PLAIN dGltQGFrd2Vic29mdC5jb20AdGltQGFrd2Vic29mdC5jb20AdEhqMTk0OSc=} 
    "235"
]

** User Error: Server error: tcp 503 AUTH command used when not advertised
** Near: smtp-port: open [scheme: 'esmtp] 
either only
GrahamC
9-Oct-2011
[1904x4]
The rebol client should send "EHLO" and not "HELO"
As a result, the servere does not advertise any authentication methods
Maybe you're using an old esmtp protocol .. as mine sends EHLO
>> set-net [[tim-:-akwebsoft-:-com] mail.akwebsoft.com mail.akwebsoft.com 
none none none [tim-:-akwebsoft-:-com] "****" ]
>> send [tim-:-akwebsoft-:-com] "testing"
Net-log: ["Opening" "tcp" "for" "esmtp"]
connecting to: mail.akwebsoft.com
Net-log: [none "220"]

Net-log: {220-host266.hostmonster.com ESMTP Exim 4.76 #1 Sun, 09 
Oct 2011 12:00:11 -0600 }

Net-log: {220-We do not authorize the use of this system to transport 
unsolicited, }
Net-log: "220 and/or bulk e-mail."
Net-log: [["EHLO" system/network/host] "250"]

Net-log: {250-host266.hostmonster.com Hello Graham-PC [203.97.98.9]}
Net-log: "250-SIZE 52428800"
Net-log: "250-PIPELINING"
Net-log: "250-AUTH PLAIN LOGIN"
Net-log: "250-STARTTLS"
Net-log: "250 HELP"
Net-log: ["Supported auth methods:" [plain login]]
Net-log: ["WARNING! Using AUTH LOGIN."]
Net-log: [
    "AUTH LOGIN" "334"
]
Net-log: "334 VXNlcm5hbWU6"
Net-log: ["dGltQGFrd2Vic29mdC5jb20=" "334"]
Net-log: "334 UGFzc3dvcmQ6"
Net-log: ["KioqKg==" "235"]

** User Error: Server error: tcp 535 Incorrect authentication data
** Near: smtp-port: open [scheme: 'esmtp]
either only
Tim
9-Oct-2011
[1908]
Not sure what to do about the 'old protocol'. Is there a way to change 
it? I'm using 2.6.2.4.2
GrahamC
9-Oct-2011
[1909x2]
2.7.8.3.1
Get the latest esmtp protocol
Tim
9-Oct-2011
[1911]
Where? Huh, I thought it was compiled in..
GrahamC
9-Oct-2011
[1912]
So?  You can run it again to replace the encapped version
Tim
9-Oct-2011
[1913]
OK, down loaded 2.7.8.4.2 (for linux). Now I get 'tcp 535 Incorrect 
authentication data'
GrahamC
9-Oct-2011
[1914]
trace?
Tim
9-Oct-2011
[1915]
>> send [tim-:-akwebsoft-:-com] "testing rebol"                        
                                              
Net-log: ["Opening" "tcp" "for" "esmtp"]
connecting to: mail.akwebsoft.com
Net-log: [none "220"]

Net-log: {220-host266.hostmonster.com ESMTP Exim 4.76 #1 Sun, 09 
Oct 2011 12:12:54 -0600 }

Net-log: {220-We do not authorize the use of this system to transport 
unsolicited, }
Net-log: "220 and/or bulk e-mail."
Net-log: [["EHLO" system/network/host] "250"]
Net-log: {250-host266.hostmonster.com Hello bart [64.4.232.191]}
Net-log: "250-SIZE 52428800"
Net-log: "250-PIPELINING"
Net-log: "250-AUTH PLAIN LOGIN"
Net-log: "250-STARTTLS"
Net-log: "250 HELP"
Net-log: ["Supported auth methods:" [plain login]]
Net-log: ["WARNING! Using AUTH LOGIN."]
Net-log: [
    "AUTH LOGIN" "334"
]
Net-log: "334 VXNlcm5hbWU6"
Net-log: ["dGltQGFrd2Vic29mdC5jb20=" "334"]
Net-log: "334 UGFzc3dvcmQ6"
Net-log: ["dEhqMTk0OSc=" "235"]

** User Error: Server error: tcp 535 Incorrect authentication data
** Near: smtp-port: open [scheme: 'esmtp] 
either only
GrahamC
9-Oct-2011
[1916]
well, your password or userid must be incorrect
Tim
9-Oct-2011
[1917x3]
:) Yes. Did I tell you that I'm a python programmer too? That python 
accepts single quotes? That I put in 'password' instead of "password". 
@#$%! So it got a symbol instead of a string?
Just got the message back, yours too. So, I owe you a beer. Come 
on by and collect.
:) Signing off..
GrahamC
10-Oct-2011
[1920x2]
Ah... the numbers of beers I am owed ... I just have to travel 1000s 
of miles to collect them!
Rather than a beer, you may make a donation to Medecins Sans Frontieres 
in my name http://www.msf.ca/donate/donate-online/:)
Oldes
18-Oct-2011
[1922x3]
Is there anybody using web fonts? I wonder what is the best way how 
to start. I know there is TypeKit, Google web fonts, http://kernest.com/
and maybe other. What I can say, Google must improve it as it's not 
working well enough.
As usually, problem is with IE compatibility. And in my case also 
need for extended chars. The best would be a tool where one could 
create or modify own fonts. http://openfontlibrary.org/fonts
Ach.. so this tool is my solution: http://code.google.com/p/ttf2eot/
Robert
18-Oct-2011
[1925]
I use google web-fonts, works OK so far.
Oldes
19-Oct-2011
[1926]
This is the right tool for converting fonts for the web usage - http://www.fontsquirrel.com/fontface/generator
 (as it allows subsetting) At least for fonts with good copyrights.
Luis
7-Nov-2011
[1927]
I need post data as multipart  ( .jpg uploads from rebol as client 
) looks like I need cookies-daemon_latest ,  but  http://box.lebeda.ws/~hmm/rebol/cookies-daemon_latest.r
is not accesible anymore ....
GrahamC
7-Nov-2011
[1928x2]
I think you can just do that using post with a Content-type: multipart/form-data 
and send the boundary, and post size
From 2003 ... the header dialect might work now though since the 
article was written http://www.compkarori.com/vanilla/display/HTTP+file+uploading
Oldes
7-Nov-2011
[1930x2]
The cookies-daemon script is on github now - https://github.com/Oldes/rs/blob/master/builds/cookies-daemon_latest.r
btw... here is how I build the script from multiple source files:

https://github.com/Oldes/rs/commit/472304a91b7fe640014e8a59cc5c7be5ba93075a
Luis
7-Nov-2011
[1932]
Thanks, Graham, thanks Oldes. Rebol has the best  community !.
Janko
12-Nov-2011
[1933x2]
Has anyone tried to implement owasp ESAPI in rebol https://www.owasp.org/index.php/Category:OWASP_Enterprise_Security_API


I started writing it yesterday, the most needed parts at least.. 
I intendo to post it on github..
it's not that complex.. to see the gist of it you have to look at 
https://github.com/zostay/owasp-esapi-perl/blob/master/lib/OWASP/ESAPI/Codec/HTMLEntityCodec.pm
(encode_character func) . I didn't intend to implement it in same 
way as calling function for every character didn't seem ideal for 
rebol.
Endo
22-Dec-2011
[1935]
Is it possible to update a script on rebol.org that I'm not the owner? 
or should I upload a new version?
I added set-top-most to window-util.r script.
Sunanda
22-Dec-2011
[1936]
If we're reasonably confident that Maxime is no longer actively maintaining 
scripts, then we can assign you joint ownership -- that would let 
you update the script.
Endo
22-Dec-2011
[1937]
I see, I don't know if he is active or not, script is not that old.
Normally should I post a new version? or try to contact him?
Gregg
23-Dec-2011
[1938x2:last]
Try to contact him first.
He hasn't been here in a while though.