On Thursday, May 23, 2002, at 11:00 , Leon Zilber wrote:

> Hi guys,

hi PerKin...
[..]
>
> Can someone please tell me, how can I read the input
> send to perl from the .forward file?

you might start with

        man forward

" Commands
           |command
      If the first character of the address is a vertical bar (|),
      sendmail(1M)  pipes the message to the standard input of the
      command the bar precedes.
"

hence your code would be getting the 'pipe' from sendmail
on STDIN....

so you're in for the basic

        while(<STDIN>) {
                # grovel through the email message
                # get what you want out of it
                # also should note any spam sent this way to
                # counter spam them.... so as to prevent webCrawlers
                # and spamBots from autoTicking your project..
        }

        # based upon validation of a legitimate email
        # execute your reality space here.....

or some such thingie...

ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to