Mailing List Archive

virtualuser@domain.com -> ?
zero cool writes:
> Ok...the dox didn't save me here. I found/fixed several things, but I've
> not gotten this one working.
>
> I need bill@hax0r.org to be forwarded to bill@intervista.net
>
> hax0r.org is local on my machine, intervista.net is someplace else. When
> attempting to mail, qmail insists that this mailbox is not known. I have
> made ~alias/.qmail-hax0r-bill, and it has "bill@intervista.net" in it.

if grep '^hax0r\.org$' /var/qmail/control/local; then
echo '&bill@intervista.net' >~bill/.qmail
fi

if grep '^hax0r\.org:alias-hax0r$' /var/qmail/control/virtualdomains; then
echo '&bill@intervista.net' >~alias/.qmail-hax0r-bill
fi

# I don't recommend using anything but a user name on the RHS in virtualdomains
if grep '^hax0r\.org:hax0r$' /var/qmail/control/virtualdomains; then
echo '&bill@intervista.net' >~alias/.qmail-hax0r-bill
fi

--
-russ <nelson@crynwr.com> http://www.crynwr.com/~nelson
Crynwr Software sells network driver support | PGP ok
521 Pleasant Valley Rd. | +1 315 268 1925 voice | Peace, Justice, Freedom:
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | pick two (only mostly true)