Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

ESMTP User Error

 [1/19] from: berniegs::prodigy::net at: 27-Jun-2005 10:19


Hi, I sent feedback to RT about an error I'm receiving from ESMTP. They suggested that I post my problem here to see if anyone else is experiencing the same thing. Here's my console display: REBOL/View 1.3.1.3.1 17-Jun-2005 Core 2.6.0 Copyright 2000-2005 REBOL Technologies. All rights reserved. REBOL is a trademark of REBOL Technologies. WWW.REBOL.COM REBOL Mezzanine Extensions 1.2.0 1-Aug-2004/22:34:12 Windows Registry Access 1.2.0 1-Aug-2004/22:34:12 Network Auto-Configure 1.10.0 1-Aug-2004/18:56:58 Windows Installer 1.3.0 4-Jun-2005/20:01:42 REBOL Internet Protocols 1.71.0 4-Nov-2004/21:08:24 Dynamic Library Access 1.5.0 17-Jan-2002/23:45:08 Command Shell Access 1.9.0 3-Jan-2005/21:08:57 Graphics 1.3.0 1-Aug-2004/18:56:59 View and VID 1.157.0 1-Aug-2004/18:58:12 View Desktop 1.36.0 8-Jun-2005/6:46:52 Sound 1.3.0 17-Jan-2002/23:45:18 Encryption 1.4.0 17-Jan-2002/23:44:57 Big Numbers 1.3.0 17-Jan-2002/23:44:56 DH/DSA Encryption 1.3.0 17-Jan-2002/23:45:04 RSA Encryption 1.4.0 17-Jan-2002/23:45:17 System Port 1.4.0 1-Aug-2004/18:58:28 Licensing 1.11.0 1-Aug-2004/19:00:23 *** Visit http://www.REBOL.com for View/Pro features. Type desktop to start the Viewtop.
>> send [berniegs--prodigy--net] "Hi Bernie!"
connecting to: smtp.prodigy.yahoo.com ** User Error: Server error: tcp 504 Mechanism not supported ** Near: smtp-port: open [scheme: 'esmtp] either only
>>RT also suggested that I try running my command with "net-watch: true" set, but I don't understand the messages I'm getting: >> net-watch
== false
>> net-watch: true
== true
>> send [berniegs--prodigy--net] "Hi Bernie!"
Net-log: ["Opening" "tcp" "for" "esmtp"] connecting to: smtp.prodigy.yahoo.com Net-log: [none "220"] Net-log: {220 AVG ESMTP Proxy Server 7.0.321/7.0.323 [267.8.2]} Net-log: [["HELO" system/network/host] "250"] Net-log: "250 localhost Hello BernieS" Net-log: ["AUTH CRAM-MD5" "334"] Net-log: ["WARNING! Using plain authentication."] Net-log: [{AUTH PLAIN (a bunch of gibberish)} "235" ] ** User Error: Server error: tcp 504 Mechanism not supported ** Near: smtp-port: open [scheme: 'esmtp] either only Since I normally use AVG Anti-virus email scan turned on, I thought that it might be the cause of the problem, so I turned it off, and tried it again, and got:
>> send [berniegs--prodigy--net] "Hi Bernie!"
Net-log: ["Opening" "tcp" "for" "esmtp"] connecting to: smtp.prodigy.yahoo.com Net-log: [none "220"] Net-log: "220 smtp101.sbc.mail.re2.yahoo.com ESMTP" Net-log: [["HELO" system/network/host] "250"] Net-log: "250 smtp101.sbc.mail.re2.yahoo.com" Net-log: ["AUTH CRAM-MD5" "334"] Net-log: ["WARNING! Using plain authentication."] Net-log: [{AUTH PLAIN (another bunch of gibberish)} "235" ] ** User Error: Server error: tcp 535 authorization failed (#5.7.0) ** Near: smtp-port: open [scheme: 'esmtp] either only
>>
I'm not sure why I'm getting "user" errors, since I seem to be following the documentation and its examples correctly. Perhaps it has something to do with the "proxy server" (something I'm not familiar with) that AVG appears to be using? Maybe I need to put some kind of proxy settings in Rebol's 'set-net word? What values would I use for these settings? But if the proxy server were the problem, why would I still get the error when I turn it off? Sorry if I appear to be so ignorant on email settings, but I really am. Does anyone have any ideas? BTW, my normal email program, Outlook Express works perfectly with or without AVG's scanner. TIA, Bernie Schneider The individual has always had to struggle to keep from being overwhelmed by the tribe. To be your own man is a hard business. If you try it, you will be lonely often and sometimes frightened. But no price is too high to pay for the privilege of owning yourself. -- Friedrich Nietzsche -- -- Attached file included as plaintext by Ecartis -- -- Desc: "AVG certification"

 [2/19] from: gabriele:colellachiara at: 27-Jun-2005 16:30


Hi Bernie, On Monday, June 27, 2005, 4:19:49 PM, you wrote:
>>> send [berniegs--prodigy--net] "Hi Bernie!"
BS> Net-log: ["Opening" "tcp" "for" "esmtp"] BS> connecting to: smtp.prodigy.yahoo.com BS> Net-log: [none "220"] BS> Net-log: "220 smtp101.sbc.mail.re2.yahoo.com ESMTP" BS> Net-log: [["HELO" system/network/host] "250"] BS> Net-log: "250 smtp101.sbc.mail.re2.yahoo.com" BS> Net-log: ["AUTH CRAM-MD5" "334"] BS> Net-log: ["WARNING! Using plain authentication."] BS> Net-log: [{AUTH PLAIN (another bunch of gibberish)} BS> "235" BS> ] BS> ** User Error: Server error: tcp 535 authorization failed (#5.7.0) BS> ** Near: smtp-port: open [scheme: 'esmtp] BS> either only Hmm, maybe your server does not support CRAM-MD5, and it refuses PLAIN? Anyone else using Yahoo knows? BS> I'm not sure why I'm getting "user" errors, since I seem BS> to be following the documentation and its examples correctly. User errors do not (necessarily) mean that the user is making a mistake. :) They mean that they are errors created with: make error! "some string" and not by the interpreter itself. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/

 [3/19] from: gchiu::compkarori::co::nz at: 28-Jun-2005 9:26


Gabriele Santilli wrote.. apparently on 27-Jun-2005/16:30:04+2:00
>Hmm, maybe your server does not support CRAM-MD5, and it refuses >PLAIN? Anyone else using Yahoo knows?
I used Frank's telnet.r and changed the port to 25, and got this
>> do %telnet.r
Script: "Telnet protcol scheme" (6-Jul-2001/17:51) telnet protocol loaded
>> smtp: open telnet://smtp.prodigy.yahoo.com/
connecting to: smtp.prodigy.yahoo.com
>> insert smtp "ehlo compkarori.co.nz" >> copy smtp
== {220 smtp102.sbc.mail.mud.yahoo.com ESMTP^M 250-smtp102.sbc.mail.mud.yahoo.com^M 250-AUTH LOGIN PLAIN XYMCOOKIE^M 250-PIPELINING... So, you can see that Yahoo does not support CRAM-MD5 authentication. I suggest that esmtp be fixed to send a "EHLO" greeting instead of the "HELO", and then parse the response to determine what authentication schemes are supported, and then use one that Rebol also supports. -- Graham Chiu http://www.compkarori.com/cerebrus http://www.compkarori.com/rebolml

 [4/19] from: gabriele::colellachiara::com at: 28-Jun-2005 11:05


Hi Graham, On Monday, June 27, 2005, 11:26:06 PM, you wrote: GC> I suggest that esmtp be fixed to send a "EHLO" greeting GC> instead of the "HELO", and then parse the response to GC> determine what authentication schemes are supported, and then GC> use one that Rebol also supports. That's on the list. However, we try PLAIN when CRAM-MD5 fails, so with the list above in theory it should work. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/

 [5/19] from: berniegs::prodigy::net at: 29-Jun-2005 11:15


Thanks for the responses. Sounds like I may be out of luck here because of my ISP's setup. I did talk to Yahoo customer support about this, and they didn't have a clue (or maybe I didn't). Bernie Schneider The individual has always had to struggle to keep from being overwhelmed by the tribe. To be your own man is a hard business. If you try it, you will be lonely often and sometimes frightened. But no price is too high to pay for the privilege of owning yourself. -- Friedrich Nietzsche --

 [6/19] from: gchiu::compkarori::co::nz at: 30-Jun-2005 19:16


Bernie Schneider wrote.. apparently on 27-Jun-2005/10:19:49-4:00
>Net-log: ["WARNING! Using plain authentication."] >Net-log: [{AUTH PLAIN (a bunch of gibberish)} > "235" >] >** User Error: Server error: tcp 504 Mechanism not supported >** Near: smtp-port: open [scheme: 'esmtp]
I suspect that the problem is that this error message is incorrect. I telnetted into yahoo's smtp server, and it does accept AUTH PLAIN I couldn't take it any further as I don't have a yahoo account. How about you checking that your userid and password are set up correctly by r: debase (a bunch of gibberish) ; the encoded string from above dehex r and you should see userid^@userid^@password -- Graham Chiu http://www.compkarori.com/cerebrus http://www.compkarori.com/rebolml

 [7/19] from: berniegs::prodigy::net at: 30-Jun-2005 10:32


Hi Graham, I did just what you suggested, and my userid and password, when decoded, appear to be formatted just as you described. So, does that mean that things are OK on Yahoo's end, and that the problem is in Rebol's ESMTP? BTW, although it's probably not relevant, I'm using a dial-up telephone connection. Thanks very much. Bernie Schneider The individual has always had to struggle to keep from being overwhelmed by the tribe. To be your own man is a hard business. If you try it, you will be lonely often and sometimes frightened. But no price is too high to pay for the privilege of owning yourself. -- Friedrich Nietzsche --

 [8/19] from: gchiu::compkarori::co::nz at: 1-Jul-2005 8:29


Bernie Schneider wrote.. apparently on 30-Jun-2005/10:32:55-4:00
>Hi Graham, > >I did just what you suggested, and my userid and password, when >decoded, appear to be formatted just as you described. > >So, does that mean that things are OK on Yahoo's end, and that >the problem is in Rebol's ESMTP?
Unfortunately, that is more likely. At this point, it would be best to break out Ethereal and do a smtp trace on what is happening, or put some debugging statements into the esmtp protocol. If you don't feel up to that, then perhaps you could let me have your userid and password so I can see what's going on! -- Graham Chiu http://www.compkarori.com/cerebrus http://www.compkarori.com/rebolml

 [9/19] from: berniegs::prodigy::net at: 2-Jul-2005 12:38


Hi Graham, Naturally, I'm not going to reveal my email stuff, but anyone may obtain a free Yahoo email account at http://mail.yahoo.com/. Thanks anyway, Bernie Schneider The individual has always had to struggle to keep from being overwhelmed by the tribe. To be your own man is a hard business. If you try it, you will be lonely often and sometimes frightened. But no price is too high to pay for the privilege of owning yourself. -- Friedrich Nietzsche -- ----- Original Message ----- From: "Graham Chiu" <[gchiu--compkarori--co--nz]> To: <[rebolist--rebol--com]> Sent: Thursday, June 30, 2005 4:29 PM Subject: [REBOL] Re: ESMTP User Error
> Bernie Schneider wrote.. apparently on
30-Jun-2005/10:32:55-4:00
> >Hi Graham, > > > >I did just what you suggested, and my userid and password,
when
> >decoded, appear to be formatted just as you described. > > > >So, does that mean that things are OK on Yahoo's end, and
that
> >the problem is in Rebol's ESMTP? > > Unfortunately, that is more likely. > > At this point, it would be best to break out Ethereal and do a
smtp trace on what is happening, or put some debugging statements into the esmtp protocol.

 [10/19] from: gchiu:compkarori at: 3-Jul-2005 13:41


Bernie Schneider wrote.. apparently on 2-Jul-2005/12:38:31-4:00
>Hi Graham, > >Naturally, I'm not going to reveal my email stuff, but anyone >may obtain a free Yahoo email account at http://mail.yahoo.com/.
That must be new then, as previously you had to have a paid account to access yahoo's smtp and pop servers. -- Graham Chiu http://www.compkarori.com/cerebrus http://www.compkarori.com/rebolml

 [11/19] from: gchiu::compkarori::co::nz at: 3-Jul-2005 13:50


Graham Chiu wrote.. apparently on 3-Jul-2005/13:41:34+12:00
>That must be new then, as previously you had to have a paid account to access yahoo's smtp and pop servers. >
Just checked,and that is still true. This might help if you have a paid account with Yahoo 1. If you are unable to send Yahoo! Mail from an email client, please try checking for new messages before you attempt to send messages. To prevent unauthorized mail from being sent through our system, we require that users log into our POP servers before they may access our SMTP servers to send mail. Note that it is not necessary to actually download messages. As long as an attempt is made to retrieve mail, sending mail will be permitted -- Graham Chiu http://www.compkarori.com/cerebrus http://www.compkarori.com/rebolml

 [12/19] from: berniegs::prodigy::net at: 3-Jul-2005 12:42


Hi Graham, Thanks for reminding me of this. Yes, I do have a paid account, in fact SBC Yahoo is my ISP. I did know that free accounts don't have access to the POP servers, but I thought that anyone could access SMTP. I have no problems with either SMTP or POP when I use Outlook Express, my normal means of access to my account. I was just hoping that I could occasionally use Rebol's SEND as an alternative to OE. I guess not. Thank you for your efforts. Best regards, Bernie Schneider The individual has always had to struggle to keep from being overwhelmed by the tribe. To be your own man is a hard business. If you try it, you will be lonely often and sometimes frightened. But no price is too high to pay for the privilege of owning yourself. -- Friedrich Nietzsche --

 [13/19] from: rebol:ccsducto:ar at: 27-Jul-2005 15:10


Hi Bernie, I have the same problem when I send email via authentication required server and I found a little bug within esmtp/handler. I try to fix it with this script: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=patch-esmtp-net.r (some doc is included) I tested it with three ISP but I think that more test is needed, please let me know about your results. You or someone think that this must be reported via RAMBO? or is sufficient with this email? Cesar

 [14/19] from: berniegs:prodigy at: 27-Jul-2005 16:49


Hi Cesar, Thanks for all of your efforts. Unfortunately though, I still can't send email via my Yahoo account, even with your patch. I made two attempts, and here's the results: Attempt #1: ===
>> send [berniegs--prodigy--net] "This is a test, Bernie."
connecting to: smtp.prodigy.yahoo.com As you can see, Rebol reported no errors, but the message was never delivered. I normally use the email scanning feature of my AVG anti-virus program when sending or receiving emails, and in this case it was turned on. AVG sent me this report: This is the AVG E-mail Scanner program. I'm sorry to have to inform you that the message returned below could not be delivered to one or more destinations. ------------------------------------------------------------------- [berniegs--prodigy--net]: authentication required Attempt #2: ===
>> send [berniegs--prodigy--net] "This is a test, Bernie."
connecting to: smtp.prodigy.yahoo.com ** User Error: Server error: tcp 530 authentication required - for help go to http://help.yahoo.com/help/us/sbc/dsl/mail/pop/pop-11.html For this case, I turned the AVG email scanner off, so I didn't get any AVG messages, but this time I did get a Rebol error message, as shown above. To the best of my knowledge, my set-net user data has been set up correctly, but just in case it isn't, here's what I'm currently using in my user.r: set-net [[berniegs--prodigy--net] "smtp.prodigy.yahoo.com" "pop.prodigy.yahoo.com" none none none "[berniegs--prodigy--net]" "********"] ; Pwd is in "*"s
> You or someone think that this must be reported via RAMBO? or is sufficient > with this email?
Yes, I do think that the problem should be reported via RAMBO. The problems with SEND really need to be fixed. RT heavily advertises the ease with which emails may be sent via Rebol's SEND function. If potential users try it out, and it doesn't work, then they may give up on Rebol forever, and that would be very sad. I've already reported this issue via feedback about a month ago (Feedback: #56p942580), but I can't find my report in the RAMBO database. RT's response was to suggest that I ask for help here on this ML, and although many of you have tried to help, I'm still not able to successfully use the SEND function. Best regards, Bernie Schneider The individual has always had to struggle to keep from being overwhelmed by the tribe. To be your own man is a hard business. If you try it, you will be lonely often and sometimes frightened. But no price is too high to pay for the privilege of owning yourself. -- Friedrich Nietzsche -- ----- Original Message ----- From: "Cesar Chavez" <[rebol--ccsducto--com--ar]> To: <[rebolist--rebol--com]> Sent: Wednesday, July 27, 2005 2:10 PM Subject: [REBOL] Re: ESMTP User Error
> Hi Bernie, > I have the same problem when I send email via authentication required server
<<quoted lines omitted: 111>>
> Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 7/27/2005
-- Attached file included as plaintext by Ecartis -- -- Desc: "AVG certification"

 [15/19] from: gabriele:colellachiara at: 28-Jul-2005 12:29


Hi Bernie, On Wednesday, July 27, 2005, 10:49:21 PM, you wrote: BS> http://help.yahoo.com/help/us/sbc/dsl/mail/pop/pop-11.html "Click the "Advanced" tab and make sure that you have not selected "This Server Requires a Secure Connection (SSL)" under the incoming (POP3) or outgoing (SMTP) port settings." SMTP or POP3 over SSL are not supported currently, and they would require Command anyway. Regards, Gabriele. -- Gabriele Santilli <[gabriele--rebol--com]> --- http://www.rebol.com/ Colella Chiara software division --- http://www.colellachiara.com/

 [16/19] from: gabriele:colellachiara at: 28-Jul-2005 12:31


Hi Cesar, On Wednesday, July 27, 2005, 8:10:40 PM, you wrote: CC> You or someone think that this must be reported via RAMBO? or is sufficient CC> with this email? Please add it to RAMBO. (We were already planning to switch using EHLO and so on, but there was not enough time for 1.3.) Regards, Gabriele. -- Gabriele Santilli <[gabriele--rebol--com]> --- http://www.rebol.com/ Colella Chiara software division --- http://www.colellachiara.com/

 [17/19] from: rebol:ccsducto:ar at: 28-Jul-2005 8:48


Hi Gabriele, we worked a little in private emails and , with the patch, Bernie can send email now Cesar

 [18/19] from: gabriele:colellachiara at: 28-Jul-2005 15:23


Hi Cesar, On Thursday, July 28, 2005, 1:48:17 PM, you wrote: CC> we worked a little in private emails and , with the patch, Bernie can send CC> email now Ah, that's good to know. I'll make sure to improve ESMTP for next release. Regards, Gabriele. -- Gabriele Santilli <[gabriele--rebol--com]> --- http://www.rebol.com/ Colella Chiara software division --- http://www.colellachiara.com/

 [19/19] from: berniegs:prodigy at: 1-Aug-2005 13:57


Hi, Just to bring everyone up to date, Cesar has done a great job of patching Rebol's ESMTP. For the first time ever, I am able to send email with Rebol's send function. Cesar even went the extra mile, and he fixed a problem that was causing the send function to fail for users who use the AVG anti-virus program to scan their outgoing emails. The latest version of patch-esmtp-net.r is now available in the Rebol program library. Thanks, Cesar. You've performed a valuable service for the Rebol community. Best regards, Bernie Schneider The individual has always had to struggle to keep from being overwhelmed by the tribe. To be your own man is a hard business. If you try it, you will be lonely often and sometimes frightened. But no price is too high to pay for the privilege of owning yourself. -- Friedrich Nietzsche --

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted