On Fri, Nov 17, 2000 at 02:56:42PM +0100, Ruprecht Helms wrote:
>how can I configure qmail to forward mails for all users of
>a domain?

Depends on how you want to do it.  If you simply want to forward the
messages on intact to the same rcpt name at another host (not domain),
remove the domain from the "locals" file, leave in in "rcpthosts",
and add ":<destination host>" to "smtphosts".  HUP qmail-send and you
should be in business.

If you want all mail for that domain to go to forward to a single remote
name, put "&[EMAIL PROTECTED]" in the .qmail-default file for that virtual
domain.

If you want mail for [EMAIL PROTECTED] to forward to [EMAIL PROTECTED], use
the forward trick mentioned in the other reply.

Sean
-- 
 Good judgement comes from experience, and experience comes from bad judgement. 
                 -- Fred Brooks
Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python

Reply via email to