Ok,

I was a little reserved about calling another script due to performance 
issues, but if that is the only way then that will suffice...

Many Thanks,

Tristan Graham.


At 13:01 14/11/2000 -0600, Charles Cazabon wrote:
>Tristan Graham <[EMAIL PROTECTED]> wrote:
> >
> > I need to implement forwarding of the form user@somedomain ->
> > user@someotherdomain. i.e. the original user at the original domain is
> > propagated to the forwarded domain. Are there any mystical variables that
> > can be used within the alias file ?
>
>The variables cannot be used within a .qmail file; however, you can use
>them in a shell script which is called by a .qmail file.  Use a command
>delivery in the .qmail file (like '|scriptname').  In the script, do
>something like:
>
>#!/bin/sh
>
>qmail-inject -f"$SENDER" "$LOCAL@otherdomain"
>
>Charles
>--
>-----------------------------------------------------------------------
>Charles Cazabon                            <[EMAIL PROTECTED]>
>GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
>Any opinions expressed are just that -- my opinions.
>-----------------------------------------------------------------------

Reply via email to