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