[REBOL] Re: REBOL CGI mail script "not permitted to relay" ??
From: carlos:lorenz:g:mail 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
> 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>)
> > [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>]
> >
> > 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>"
> > 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> with unsubscribe as the subject.
>
--
*:-.,_,.-:*'``'*:-.,_,.-:
Carlos Lorenz
*:-.,_,.-:*'``'*:-.,_,.-: