Niels Jensen writes:
 > If I do this, then when I mail stuff remotely through my ISP's
 > mailserver, the return address for me is my work address, which I 
 > do not want. Somehow I have to make qmail change my address to 
 > [EMAIL PROTECTED] whenever mail is sent rmotely, and keep it to
 > nielsj, or [EMAIL PROTECTED] when mail is sent locally.

virtualdomains to the rescue!

echo '|forward $DEFAULT' >~alias/.qmail-foobar-default
echo '[EMAIL PROTECTED]:alias-foobar' >>/var/qmail/control/virtualdomains
(repeat this step for any other local users.)

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok |   There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice |   that freedom is the
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   |   cause of world peace.

Reply via email to