On Fri, 17 Nov 2000, Ruprecht Helms wrote:

> Hi,
> 
> how can I configure qmail to forward mails for all users of
> a domain?

Remove the domain from /var/qmail/control/locals

Add the domain to /var/qmail/control/virtualdomains as follows:

    domain.place:alias-domain_place

Create /var/qmail/alias/.qmail-domain_place-default with the following
contents:

    | forward $[EMAIL PROTECTED]

Send qmail-send a SIGHUP so that it re-reads locals and virutaldomains

Organise for the MX record for domain.place to point to your box.

-- 
Regards
Peter
----------
Peter Samuel                            [EMAIL PROTECTED]
http://www.e-smith.org (development)    http://www.e-smith.com (corporate)
Phone: +1 613 368 4398                  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"

Reply via email to