Hmm. Well, you could set up a .qmail-default file in xyz's directory that
has this:
| find_and_forward.pl
where find_and_forward.pl is your perl script that dynamically finds the
forward address for xyz. Then in order to actually forward the message just
read <> into a variable (say, $message) a
You can make a script in your preferred language that reads the message, get
the destination address (Delivered-To:), query for its alias in a DB, and
finally reinject it into the queue using qmail-inject, sendmail or other,
keeping the original sender address and optionally adding your ads, tails
Kim Chr. Hvidkjaer <[EMAIL PROTECTED]> wrote:
>
> I'm trying to do a forwaring-service, where the users each have an address
> (ie [EMAIL PROTECTED]) and any mail sent to this address is forwarded to their
> _actual_ address (perhaps a hotmail-address or similiar).
>
> I know how to forward (& [