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

REBOL CGI mail script "not permitted to relay" ??

 [1/9] from: carlos::lorenz::gmail::com at: 31-May-2005 12:59


Hi list, I want this REBOL CGI script hosted at server "A" to read mail box at server B but I get this error: ** User Error: Server error: tcp 550-(lucas.topserverbr.com<http://lucas.topserverbr.com>) [64.247.16.72 <http://64.247.16.72>] is currently not permitted to relay ** Near: insert port reduce data I need some help to unserstand what's going on. Follows the script REBOL[] set-net[[tvprog--linux25--com] mail.linux25.com <http://mail.linux25.com>] header: make system/standard/email [ From: [[revistaeletronica--revistaeletronica--com--br]] Subject: "Revista Eletrônica - Veja Hoje na TV" Organization: "Unidade Lorenz Ltda." ] ; setup da caixa postal mailbox: [ scheme: 'pop host: "pop.sao.terra.com.br <http://pop.sao.terra.com.br>" user: "[revista--8--terra--com--br]" pass: "pass" timeout: false ] mail: open mailbox forall mail [ message: import-email first mail if find message/subject "hi" [ send/header message/from "I got your message. I'll Write back soon" header ] remove mail ] Thanks -- *:-.,_,.-:*'``'*:-.,_,.-: Carlos Lorenz *:-.,_,.-:*'``'*:-.,_,.-:

 [2/9] from: eric:ehrichweiss at: 31-May-2005 12:32


That's a pretty simple one. Your mail server seems to think you don't have "relay" privs. This could be because you have the "from" header set to the person's addy who fills out the form. If so, and you don't have the option to decide who gets to relay, you could always put the email addy in the Reply-To: header instead. Eric Carlos Lorenz wrote:

 [3/9] from: carlos:lorenz:gm:ail at: 1-Jun-2005 17:04


Sorry but I did not understand what you meant. What address should I put in the reply-to: header? The one that belongs to the person that filled out the form? 2005/5/31, Eric Haddix <[eric--ehrichweiss--com]>:
> That's a pretty simple one. Your mail server seems to think you don't > have "relay" privs. This could be because you have the "from" header
<<quoted lines omitted: 68>>
> To unsubscribe from the list, just send an email to > lists at rebol.com <http://rebol.com> with unsubscribe as the subject.
-- *:-.,_,.-:*'``'*:-.,_,.-: Carlos Lorenz *:-.,_,.-:*'``'*:-.,_,.-:

 [4/9] from: eric::ehrichweiss::com at: 1-Jun-2005 17:03


Yes. Carlos Lorenz wrote:

 [5/9] from: carlos:lorenz:gmai:l at: 2-Jun-2005 11:34


Eric, Not working yet. This time I wrote this small script that I am trying to run from my own PC and it gives same error unless I chande recipient: ** User Error: Server error: tcp 550-(packard-bell-466) [200.231.16.44<http://200.231.16.44>] is currently not permitted to relay ** Near: insert port reduce data
>>
The script: REBOL[] set-net[[tvprog--linux25--com] mail.linux25.com <http://mail.linux25.com>] header: make system/standard/email [ From: [[tvprog--linux25--com]] Subject: {email test using REBOL} Reply-To: [[carlos--lorenz--gmail--com]] ] send/header [carlos--lorenz--gmail--com] "Is it working?" header ; if I change the line above to this one it works fine nomatter what Reply-to: header I use ; send/header [tvprog--linux25--com] "Is it working?" header 2005/6/1, Eric Haddix <[eric--ehrichweiss--com]>:
> Yes. > Carlos Lorenz wrote:
<<quoted lines omitted: 116>>
> To unsubscribe from the list, just send an email to > lists at rebol.com <http://rebol.com> with unsubscribe as the subject.
-- *:-.,_,.-:*'``'*:-.,_,.-: Carlos Lorenz *:-.,_,.-:*'``'*:-.,_,.-:

 [6/9] from: gabriele::colellachiara::com at: 2-Jun-2005 16:40


Hi Carlos, On Thursday, June 2, 2005, 4:34:43 PM, you wrote: CL> Not working yet. This time I wrote this small script that I am trying to run CL> from my own PC and it gives same error unless I chande recipient: The SMTP host you are using has to be configured to allow relaying from your IP. This has nothing to do with REBOL actually, any other program you used to send emails would give you the same problem. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/

 [7/9] from: carlos::lorenz::gmail::com at: 2-Jun-2005 12:12


Hi Gabriele, I understand. Perhaps this has something to do with SPAM control and I guess they won't change this configuration for me :( 2005/6/2, Gabriele Santilli <[gabriele--colellachiara--com]>:
> Hi Carlos, > On Thursday, June 2, 2005, 4:34:43 PM, you wrote:
<<quoted lines omitted: 13>>
> To unsubscribe from the list, just send an email to > lists at rebol.com <http://rebol.com> with unsubscribe as the subject.
-- *:-.,_,.-:*'``'*:-.,_,.-: Carlos Lorenz *:-.,_,.-:*'``'*:-.,_,.-:

 [8/9] from: carlos:lorenz::gmail at: 13-Jun-2005 10:51


Hi Eric, Gabrielle and the rest Just to report that I have solved the problem using this set-net configuration: set-net[[myemail--myispprovider--com] localhost]. Using the word LOCALHOST at the place of smtp server address solved the problems with those annoying NOT-PERMITTED-TO-RELAY messages. I am happy for the problem was solved without having to ask for special configurations to the guys at ISP though I do not understand yet the difference between using the the work LOCALHOST in place of the real smtp address. Anyway thank you guys! Greetings 2005/6/2, Carlos Lorenz <[carlos--lorenz--gmail--com]>:
> Hi Gabriele, > I understand. Perhaps this has something to do with SPAM control and I
<<quoted lines omitted: 32>>
> Carlos Lorenz > *:-.,_,.-:*'``'*:-.,_,.-:
-- *:-.,_,.-:*'``'*:-.,_,.-: Carlos Lorenz *:-.,_,.-:*'``'*:-.,_,.-:

 [9/9] from: ammon:johnson::gmail at: 13-Jun-2005 9:07


Very often, particularly with Linux boxes, any connections directed at localhost are allowed without restrictions since any connection coming in from "localhost" must be originating from the computer itself and not some untrusted machine somewhere on the network. HTH!! ~~Ammon ;~> On 6/13/05, Carlos Lorenz <[carlos--lorenz--gmail--com]> wrote:

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