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 (& [EMAIL PROTECTED]) but how do I do it dynamically? I
> can do a php or perl-script that will digg out the needed to-address from my
> mySql-database, but don't know how to do the actual forwarding??

Have your script call qmail-inject, qmail-queue, or /usr/sbin/sendmail (as
appropriate).  There are good man pages for each of these.

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