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

Send mail error

 [1/8] from: carlos:lorenz:gm:ail at: 22-Aug-2007 17:52


Hi list, My ISP has moved my site to another server and since then my cgi scripts cannot send me emails anymore. Here is the error I get ** Access Error: Cannot connect to mail.revistaeletronica.com.br ** Where: open-proto ** Near: smtp-port: open [scheme: 'esmtp] either only I used to put this at my scripts before the send command worked very at old server: set-net[mysql-revistaeletronica.com.br localhost] Thank you for any help -- Carlos Lorenz www.revistaeletronica.com.br Unidade Lorenz Ltda (11) 4034 1971

 [2/8] from: tim-johnsons:web at: 22-Aug-2007 13:15


On Wednesday 22 August 2007, Carlos Lorenz wrote:
> Hi list, > My ISP has moved my site to another server and since then my cgi scripts
<<quoted lines omitted: 5>>
> server: > set-net[mysql-revistaeletronica.com.br localhost]
I wonder if they changed the SMTP server. What does your set-net command look like? The schema kind of works like this: set-net [ me-mydomain.com ;; SYSTEM/USER/EMAIL smtp.somedomain.com ;; SYSTEM/SCHEMES/DEFAULT/HOST postman.somedomain.com ;; SYSTEM/SCHEMES/POP/HOST none ;; SYSTEM/SCHEMES/DEFAULT/PROXY/HOST none ;; SYSTEM/SCHEMES/DEFAULT/PROXY/PORT-ID none ;; SYSTEM/SCHEMES/DEFAULT/PROXY/TYPE ] And you get probe systems scheme object from the script and see if (for instance) SYSTEM/SCHEMES/DEFAULT/HOST is the same as the ISP smtp server. HTH tim

 [3/8] from: tim-johnsons::web::com at: 22-Aug-2007 14:21


On Wednesday 22 August 2007, Tim Johnson wrote:
> The schema kind of works like this: > set-net [
<<quoted lines omitted: 5>>
> SYSTEM/SCHEMES/DEFAULT/PROXY/PORT-ID none ;; > SYSTEM/SCHEMES/DEFAULT/PROXY/TYPE ]
I have a typoaaaaaaaaaaaaa below:
> And you get probe systems scheme object from the script and see if
Should be "can probe the systems scheme object from the script ... etc" sorry tim

 [4/8] from: moliad::gmail::com at: 23-Aug-2007 1:41


Hi Carloz, another possibility (well, a complement to Tim's suggestion) is that some smtp servers (especially for things like web servers) do not allow incomming mail unless its from some specific range of IPs... its possible that the new web server has to send its mail to another smtp server, or that the mail server you used to send mail to simply does not yet include the new web server in its allowable clients. so if your set-net was moved over (in the user.r or rebol.r) as tim explains, and its still not working, check with your isp to be sure the new server really can send mail via the smtp server you where using... it might just be a simple detail the sysadmin forgot to update. -MAx On 8/22/07, Tim Johnson <tim-johnsons-web.com> wrote:

 [5/8] from: carlos:lorenz:gma:il at: 23-Aug-2007 8:57


Tim, Thanks for the reply. Actually I have done all tests using set-net scheme properly but yeat I haveno success. Seems that the new server really has something strange on SMTP. The guys at ISP are checking 2007/8/22, Tim Johnson <tim-johnsons-web.com>:
> On Wednesday 22 August 2007, Tim Johnson wrote: > > The schema kind of works like this:
<<quoted lines omitted: 20>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- Carlos Lorenz www.revistaeletronica.com.br Unidade Lorenz Ltda (11) 4034 1971

 [6/8] from: carlos:lorenz:gmai:l at: 23-Aug-2007 9:01


Maxim, I believe there is a great chance they forgot to configure properly SMTP. One thing still makes me think about the problem is why PHP MAIL() function works and REBOL send does not? 2007/8/23, Maxim Olivier-Adlhoch <moliad-gmail.com>:
> Hi Carloz, > another possibility (well, a complement to Tim's suggestion) is that some
<<quoted lines omitted: 48>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- Carlos Lorenz www.revistaeletronica.com.br Unidade Lorenz Ltda (11) 4034 1971

 [7/8] from: tim-johnsons::web::com at: 23-Aug-2007 6:58


On Thursday 23 August 2007, Carlos Lorenz wrote:
> I believe there is a great chance they forgot to configure properly SMTP. > > One thing still makes me think about the problem is why PHP MAIL() function > works and REBOL send does not?
Just for grins, have you tried using the IP address for the smtp server? I have kubuntu 64-bit on my desktop and I have to use the loopback address to send mail.... Tj

 [8/8] from: carlos::lorenz::gmail::com at: 23-Aug-2007 13:13


Tim and others After a few tries with python and also php I suspected nothing was wrong with my rebol script. An hour agor the guys at ISP comfirmed they had a bad rule at the server firewall that was causing the error. Too bad :( Many thanks anyway! 2007/8/23, Tim Johnson <tim-johnsons-web.com>:
> On Thursday 23 August 2007, Carlos Lorenz wrote: > > I believe there is a great chance they forgot to configure properly
<<quoted lines omitted: 10>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- Carlos Lorenz www.revistaeletronica.com.br Unidade Lorenz Ltda (11) 4034 1971

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