Index: [Article Count Order] [Thread]

Date:  Wed, 30 Jan 2008 15:52:37 -0600
From:  "Gerald Waugh" <gwaugh (at mark) frontstreetnetworks.com>
Subject:  [coba-e:11842] Re: Virtusertable problem, GUI adds user (at mark) www.domain.tld but not user (at mark) domain.tld
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <018601c8638a$716af210$0101a8c0@systemax>
In-Reply-To:  <47A0DB9E.7010908 (at mark) dogsbody.org>
X-Mail-Count: 11842

> 
> > Strange issue, all of a sudden when we add users,
> > The GUI Add User, adds user (at mark) www.domain.tld but not 
> user (at mark) domain.tld to 
> > virtusertable.
> > 
> > It worked, for the domain.tld, but now it's broken!
> > 
> > So email to user (at mark) www.domain.tld works but user (at mark) domain.tld does not 
> > work. We can edit virtusertable to fix, but....
> 
> This is not strange at all.  It is in fact the normal and 
> default behaviour.
> 
> If you have a site with three addresses "one", "two" & 
> "three" as well as three 
> hostnames "www.example.com", "example.com" & 
> "mail.example.com" then instead of 
> having nine separate entries in virtusertable you will have five...
> 
>  (at mark) example.com             %1 (at mark) www.example.com
>  (at mark) mail.example.com        %1 (at mark) www.example.com
> one (at mark) www.example.com      one
> two (at mark) www.example.com      two
> three (at mark) www.example.com    three
> 
> 
> In this example www.example.com would be the name of the site 
> and "example.com" 
> / "mail.example.com" would be email aliases in the GUI.
> 
> It could be you had "example.com" as the site and 
"www.example.com" is the alias 
beforehand!?

The server has been operating for months with the vsites.
The virtusertable got screwed. Recognized by not being able to create or
delete users.
I delted all the duplicates, this fixed create/delete users.
But when adding a user their email would only work using
user (at mark) www.domain.tld
Of course we were able to add user (at mark) domain.tld and run makemap on
virtusertable and it worked.
Seems like all the "no such user here" entries were duplicates.
At one time I found a script that would rebuild virtusertable on a
Raq550.
Is there a script that will do that on CBQ???

Still not sure what the problem is, but will be working on it.
Everything works well and there are many users on these domains that
email does work,
It's only when adding new users that the problem ocurrs

Gerald