Okay, this is a foolish newbie question. I'm having trouble wrapping my
head around the problem.

We have two ways of accepting mail for a domain. We can either treat it
as a local, *real* domain, or we can treat it as a virtual domain which
supplements a real domain.

If we treat it as a local real domain, we put it in control/rcpthosts
and control/locals. Mail addressed to [EMAIL PROTECTED] and
[EMAIL PROTECTED] will be delivered to the local user foobar.

If we treat it as a virtual domain, we put it in control/rcpthosts and
control/virtualdomains but *not* control/locals. In
control/virtualdomains we put

@virtualdomain.org:username

(question - is the prepend *required*?)

Now all mail to virtualdomain.org will be sent to the local extension
address [EMAIL PROTECTED]

But I still want to make sure that mail is delivered to the local user
recipient, so I create the file

~username/.qmail-recipient

and I put

&recipient

in it.

You can probably see by now that I have a common user space. What I want
to do is prevent mail sent to [EMAIL PROTECTED] from also
being accepted as [EMAIL PROTECTED] I look at the above
virtualdomains scenario and ask myself why I am even bothering with
virtualdomains, since putting both domains in control/locals and
control/rcpthosts will get me the same result.

Did that make any sense?

Thanks,

Stephen Bosch

Reply via email to