Hi Steve,
i am writing mail messages to a mysql database from .qmail files.
the file looks like this:
|/bin/cat $1 | myperlscript.pl $SENDER
$1 is the whole mail-message and $SENDER is, i guess you know.
regards,
philipp
Steve writes:
> Hi,
>
> I need to build a script that runs from a .qmail file and does a few
> side tasks but doesn't interfere with the normal mail delivery. This is
> to send an email or pager notification when mail arrives (ideally which will
> include who the message is from).
>
> Can someone point me at some descent documentation about writing .qmail
> scripts or point me to a script that does something close to what I need
> and I can hack. I guess the problem is that I don't understand the
> environment that the script is given and though I have looked around I
> haven't seen any documentation that describes what the inputs are and
> what the output options are. If there was some basic documentation
> covering the inputs and outputs I would be on my way.
------------
Philipp Steinkr�ger
Technik
Oberberg Online
Tel.: +49 2261 814240
Fax: +49 2261 814919
www.oberberg.net
[EMAIL PROTECTED]