[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: Want alias to server multiple user accounts



Hello Dave,

Friday, June 4, 2004, 5:18:42 PM, you wrote:

DS> nednieuws | charles <charles@xxxxxxxxxxxxx> wrote:

>>DS> lahaya.nl:alias-lahaya
>>
>>DS> Then info@xxxxxxxxx would be handled by ~alias/.qmail-lahaya-info. In
>>DS> other words, instead of simply prefixing "alias", we prefix
>>DS> "alias-lahaya", which will be unique to that domain. Each unique
>>DS> virtual domain should have a unique prefix.
>>
>>Okay, so then the /only/ difference would be that by making the domain
>>virtual the manager for that domain is someone that has rights to modify
>>/var/qmail, and by making the user virtual that user can be the
>>manager of that particular address?

DS> Uh... no.

DS> There are two major differences between local domains and virtual
DS> domains:

DS>   1) All local domains share the same "namespace", so
DS>      info@localdomain1 is indistinguishable from
DS>      info@localdomain2. With virtual domains, it's *possible* to give
DS>      each domain its own private namespace.

DS>   2) Local domains are managed by the system manager. Adding a local
DS>      user requires adding a system account. Adding an local alias
DS>      requires writing to ~alias. Virtual domains are managed by a
DS>      small set of local users (usually one user per domain), although
DS>      sometimes the local pseudo user "alias" is used when the domain
DS>      is managed directly by the qmail admin.

DS> That all looks pretty complicated, but the virtual domain mechanism
DS> itself is dead simple. If there's an entry in control/virtualdomains
DS> like:

DS>   example.com:foo-bar

DS> Then mail to whatever@xxxxxxxxxxx is redirected to the *local*
DS> recipient foo-bar-whatever.

DS> That's it. That's the entire qmail virtual domain mechanism. The whole
DS> business above about namespaces and managing domains is really just
DS> a(n intentional) side effect.

DS> If you understand that, and you understand how qmail handles local
DS> delivery, you're all set.

It's so incredible that every time I get more information, there will
be more questions: now that I have everything setup for lahaya, I'm
messing with something that I can't get to work.

It used to be easy: my local account name in
/var/qmail/alias/.qmail-postmaster and every
postmaster@xxxxxxxxxxxxxxx gets delivered to me. Do I now have to
create a postmaster account for every virtual domain that I host?

-- 
Regards, Charles.