The Green Avenger writes:
> I am having trouble configuring qmail to sent all mail to a 3rd level
> domain to /dev/null. After reading the FAQ and experimenting some, here's
> what I've done:
>
> /var/qmail/control/virtualdomains
>
> some.otherdomain.com:user1
> good.mydomain.com:user2
> bad.mydomain.com:user2-bad
>
> /home/user2/.qmail-bad-default
>
> | cat >/dev/null
>
> qmail's dotfile is owned by user1. What am I missing? Is there an easier
> way to do this?
Yes: echo '#' >/home/user2/.qmail-bad-default
No reason to invoke cat, or write anything to /dev/null.
Oh, wait, you say this *doesn't* work? What "trouble" are you having?
You're doing everything right, unless you haven't told us something.
--
-russ nelson <[EMAIL PROTECTED]> http://russnelson.com
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!