On Tue, Oct 10, 2000 at 05:32:16PM -0700, Barley wrote:
>
> I have a bunch of users @domain.com that have pop3 boxes. If something is
> sent to someone at domain.com who has no pop box then I want to provide an
> address to which all mail to @domain.com is sent if there is no boxholder
> assigned to it. In other words, any @domain.com mail for which there is no
> pop box user should go to this "catch-all" address. Do I put a wildcard rule
> after my other pop box rules in user assign? Thanks.
It depends on whether the domain is local or virtual, but in either case you'll
use some kind of .qmail-default file. If it's a local domain, you can just
stick a .qmail-default file in ~alias, the contents of which is the catch-all
address.
> Also, what is the appropriate way to simply take all email from a given
> address and forward it to another. Right now I have the user set up as a
> popbox holder and I specify the forward address in .qmail. It works, but it
> seems sort of involved to require use of pop boxes to forward mail. Anyway,
> was just wondering if there's a "righter" way ;)
Stick .qmail-whatever files in ~alias. (Again, this would be for a local
domain, but the concept is the same for a virtual domain.)
If you can't figure out how to set this up for a virtual domain, provide a
sample entry from your virtualdomains file and someone will be able to help
you.
Chris