Jason Brown writes:
 > in HOST1: user1, user2, user3
 > in HOST2: user4, user5, user6
 > 
 > Now i would like to make qmail in my whole system work in such a way
 > that any mail to [EMAIL PROTECTED] or [EMAIL PROTECTED] or
 > [EMAIL PROTECTED] be delivered to user1, user2, user3 in HOST1
 > whereas mail to [EMAIL PROTECTED] [EMAIL PROTECTED]
 > [EMAIL PROTECTED] be delivered to mailboxes user4, user5, user6 in
 > HOST2.

echo '|forward "$LOCAL@HOST2"' >host1:~alias/.qmail-default
echo '|forward "$LOCAL@HOST1"' >host2:~alias/.qmail-default

A little more complication will let you generate a better bounce
message if someone sends mail to [EMAIL PROTECTED]

-- 
-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