[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] raq3 email fowarding and changing info



"M. David" <davidm1@xxxxxxxxxxx> wrote:
> I'm trying to set up an email bbs in which users can send email and
> attachments to each other (to real email accounts) without disclosing
their
> real email.
>
> I am familar with procmail, but dont know how to access it on my raq3, so
I
> have set up virtusertable
> @www.mydomain.com    catchall
>
> and aliases
> catchall:  "/home/sites/site3/script.cgi"
>
> Anyone know how to pass the header message body and attachments to the
> script?
> Or, is it already being passed, so I just need the script to extract it?

The entire message (including headers) is already being passed.  You need to
access STDIN.  You didn't say if you're using Perl or another language, but
if you search for "perl stdin" on google.com I bet you'd find the syntax for
accessing STDIN for it in a minute or so.  If you're using PHP email me
off-list and I'll help you out.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/