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

Problems sending email (IP only)

 [1/11] from: tim-johnsons:web at: 31-May-2007 14:09


I'm using kubuntu 7.04 (feisty fawn, amd 64) I *am* able to send and receive email without problem using kmail with either my internal mail server (localhost) or my ISPs smtp server. But look here - here's what happens with rebol:
>> set-net[tim-johnsons-web.com mail.mtaonline.net] >> send tim-johnsons-web.com "hello from rebol"
** Access Error: Cannot connect to mail.mtaonline.net ** Where: open-proto ** Near: smtp-port: open [scheme: 'esmtp] either only ;; Now I use the IP address for the smtp server:
>> set-net[tim-johnsons-web.com 216.152.176.5] >> send tim-johnsons-web.com "hello from rebol" ;; works!
The same happens if I use "localhost" vs. 127.0.0.1 Does anyone have any ideas why this happens? Don't have this problem on my slackware 10.0 box. Also, I don't have this problem with python scripts. python's smptlib module happily sends using server names. thanks tim

 [2/11] from: gregg:pointillistic at: 31-May-2007 16:21


Hi Tim,
>>> set-net[tim-johnsons-web.com mail.mtaonline.net]
Try making mail.mtaonline.net a string. set-net coerces words to strings internally, so that shouldn't be required, but it's something to try. Nothing else comes to mind, since I always use host names with set-net. -- Gregg

 [3/11] from: tim-johnsons:web at: 31-May-2007 15:17


On Thursday 31 May 2007, Gregg Irwin wrote:
> Hi Tim, > > >>> set-net[tim-johnsons-web.com mail.mtaonline.net] > > Try making mail.mtaonline.net a string. set-net coerces words to > strings internally, so that shouldn't be required, but it's something > to try. Nothing else comes to mind, since I always use host names with > set-net.
Hi Gregg: I've tried that. Same error. thanks tim

 [4/11] from: ronaldoff::free::fr at: 1-Jun-2007 1:36


Tim Johnson a =E9crit :
> On Thursday 31 May 2007, Gregg Irwin wrote: >> Hi Tim,
<<quoted lines omitted: 11>>
> thanks > tim
in my user.r I have this : set-net [ xxxxx-free.fr smtp.free.fr pop.free.fr none none none ] and everything runs OK Hope this will help Ronaldoff

 [5/11] from: tim-johnsons::web::com at: 31-May-2007 16:17


On Thursday 31 May 2007, ronald wrote:
> in my user.r I have this : > > set-net [ xxxxx-free.fr smtp.free.fr pop.free.fr none none none ] > > and everything runs OK > > Hope this will help
Hi Ronald: You don't need all those items for set-net just to send email. all the same, to demonstrate:
>>set-net[tim-johnsons-web.com mail.mtaonline.net postman.johnsons-web.com
none none none]
>> send tim-johnsons-web.com "hello from rebol"
** Access Error: Cannot connect to mail.mtaonline.net ** Where: open-proto ** Near: smtp-port: open [scheme: 'esmtp] either only ;; same error thanks tim

 [6/11] from: santilli::gabriele::gmail::com at: 1-Jun-2007 9:25


2007/6/1, Tim Johnson <tim-johnsons-web.com>:
> Does anyone have any ideas why this happens?
What does: read dns://mail.mtaonline.net return? (Should return 216.152.176.5 I guess.) I'm guessing REBOL is having trouble resolving host names on 64 bit linux... :( Regards, Gabriele.

 [7/11] from: tim-johnsons::web::com at: 1-Jun-2007 7:04


On Thursday 31 May 2007, Gabriele Santilli wrote:
> 2007/6/1, Tim Johnson <tim-johnsons-web.com>: > > Does anyone have any ideas why this happens? > > What does: > > read dns://mail.mtaonline.net > > return? (Should return 216.152.176.5 I guess.)
Nope, it returns none. I anticipated that.
> I'm guessing REBOL is having trouble resolving host names on 64 bit > linux... :(
No doubt. I've run into some other wierd stuff also. Very strange error messages regarding ports.

 [8/11] from: santilli::gabriele::gmail::com at: 2-Jun-2007 8:02


2007/6/1, Tim Johnson <tim-johnsons-web.com>:
> > What does: > > > > read dns://mail.mtaonline.net > > > > return? (Should return 216.152.176.5 I guess.) > Nope, it returns none. I anticipated that.
Can you try to strace that to see what's happening under the hood? Probably won't help much but you never know. Regards, Gabriele.

 [9/11] from: tim-johnsons:web at: 2-Jun-2007 7:45


On Friday 01 June 2007, Gabriele Santilli wrote:
> 2007/6/1, Tim Johnson <tim-johnsons-web.com>: > > > What does:
<<quoted lines omitted: 6>>
> Can you try to strace that to see what's happening under the hood? > Probably won't help much but you never know.
Here you go. http://www.johnsons-web.com/tracemail.txt tim

 [10/11] from: arngar::gmail::com at: 2-Jun-2007 20:40


Hi, I try (on mac osx with the sdk beta 2.7.5) and it works
>> print read dns://mail.mtaonline.net
216.152.176.6 arnaud Le 2 juin 07 à 17:45, Tim Johnson a écrit :

 [11/11] from: tim-johnsons::web::com at: 2-Jun-2007 11:27


On Saturday 02 June 2007, Arnaud Garcia wrote:
> Hi, > I try (on mac osx with the sdk beta 2.7.5) and it works > > >> print read dns://mail.mtaonline.net > > 216.152.176.6
It's particular to the OS, works fine on my slackware machine, and on all the servers I work with. tim

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