[REBOL] Re: REBOL CGI mail script "not permitted to relay" ??
From: carlos:lorenz::gmail 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:
>
> > 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
> >>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:
> >>
> >>
> >>>Hi list,
> >>>
> >>>I want this REBOL CGI script hosted at server "A" to read mail box at
> s
> >>
> >>erver
> >>
> >>>"B"
> >>>but I get this error:
> >>>
> >>>
> >>>** User Error: Server error: tcp
> >>>550-(lucas.topserverbr.com <http://lucas.topserverbr.com> <
> http://lucas.topserverbr.com><
> >>
> >>http://lucas.topserverbr.com>)
> >>
> >>>[64.247.16.72 <http://64.247.16.72> <http://64.247.16.72> <
> http://64.247.16.72>] is currently
> >>
> >>not permitted to rela
> >>y **
> >>
> >>>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> <
> http://mail.linux25.com> <
> >>
> >>http://mail.linux25.com>]
> >>
> >>>
> >>>header: make system/standard/email [
> >>>From: [[revistaeletronica--revistaeletronica--com--br]]
> >>>Subject: "Revista Eletr=F4nica - 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> <
> http://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"
> hea
> >>
> >>der
> >>
> >>>]
> >>>
> >>>remove mail
> >>>
> >>>]
> >>>
> >>>Thanks
> >>>
> >>
> >>--
> >>To unsubscribe from the list, just send an email to
> >>lists at rebol.com <http://rebol.com> <http://rebol.com> with
> unsubscribe as the subject.
> >>
> >>
> >
> >
> >
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com <http://rebol.com> with unsubscribe as the subject.
>
--
*:-.,_,.-:*'``'*:-.,_,.-:
Carlos Lorenz
*:-.,_,.-:*'``'*:-.,_,.-: