Cris Daniluk writes:
 > I'd like to forward everything at @domain.com to
 > @domain2.com. i.e. [EMAIL PROTECTED] goes to [EMAIL PROTECTED], and
 > [EMAIL PROTECTED] goes to [EMAIL PROTECTED] I'm almost positive I've
 > read how to do this in the documentation before but I cannot find
 > it again.

Create a virtualdomain for domain.com like this:

echo 'domain.com:alias-domain' >>/var/qmail/control/virtualdomains

Now forward all that mail to domain2 like this:

echo '|forward "$LOCAL"@domain2.com' >~alias/.qmail-domain-default

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!

Reply via email to