Stephen Bosch <[EMAIL PROTECTED]> wrote:
> 
> Okay, this is a foolish newbie question. I'm having trouble wrapping my
> head around the problem.

A newbie who has apparently read, and understood, most of the documenation,
FAQs, Life with qmail, ... what a novelty!
 
> In control/virtualdomains we put
> 
> @virtualdomain.org:username
> 
> (question - is the prepend *required*?)

If you mean whatever is after the colon, yes -- an empty prepend means the
domain is not virtual.  If you mean an optional "-extension" after a username
after the colon, then that is indeed optional.  It's one of the few areas
which I find djb's documentation isn't perfectly clear on.
 
> 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.

If you mean to say that you _want_ email to any_address@vdomain1 and
any_address@vdomain2 to be interchangeable with mail to any_address@localdomain,
then just putting those domain names into locals makes more sense.
Virtual domains add flexibility for other things, though.
 
> Did that make any sense?

Mostly.

Charles
-- 
--------------------------------------------------------------
Charles Cazabon                           <[EMAIL PROTECTED]>
QCC Communications Corporation                   Saskatoon, SK
My opinions do not necessarily represent those of my employer.
--------------------------------------------------------------

Reply via email to