Mark Donne wrote:
> One problem we have is for users that are domain
administrators across
> multiple domains.
>
> When thet view the "xadminusers.php" page and
view all users they see
> the same account listed more than once. It seems to
show the primary
> account for each alias, so if a user has 10 aliases
then their primary
> email address will display 10 times.
>
> The same result is seen in "adminusers.php".
> In the "Link E-mail Address/Alias" section
the "E-mail address/alias:"
> box is listing ok.
> In the "Link E-mail Address/Alias" section
the "User account:" box is
> showing an account for every alias (so the exact same
account is shown
> 10 times if that account has 10 aliases).
The problem you seem to be facing arises because you've got
users who
have addresses in multiple domains, and while they're just
aliases owned
by a common user account it means that those same user
accounts are
going to appear multiple times in an administrator's list if
he has
privileges over multiple domains.
To explain it another way, suppose you have two users, Alice
and Bob.
Alice has two e-mail addresses in different domains:
alice alpha.com
alice beta.com
Bob also has two addresses in different domains:
bob alpha.com
bob beta.com
Now there's a third user named Charlie who is granted domain
administration privileges for both the alpha.com
and beta.com domains.
When Charlie goes to the Admin->Users page to get a
list of the users
he has the right to manage, he sees both Alice and Bob
/twice/, because
they each appear in the both domains. When Charlie
administers the
alpha.com domain, alice alpha.com points to Alice,
and bob alpha.com
points to Bob; when he administers the beta.com
domain, alice beta.com
points to Alice again, and bob beta.com points to Bob
again.
If your point is that the scripts should be a bit smarter
and realize
that there's no need to list Alice twice and Bob twice, I
agree with
you; the user list that appears should be de-duped.
On the other hand, if you've got a situation where your
users have ten
aliases apiece, you may want to consider doing the aliasing
upstream at
your MTA (e.g. Postfix), such that they all get reduced to a
single
address before they reach amavisd-maia. That way there
would only be
one address per user to manage with Maia. The only
conceivable reason
for having Maia handle all of those aliases is to enable you
to
configure each individual alias with different filter
settings. If
you're just applying the same filter settings to all of a
given user
account's aliases, you might as well just do the aliasing
upstream and
simplify your life.
--
Robert LeBlanc <rjl renaissoft.com>
Renaissoft, Inc.
Maia Mailguard <http://www.maiamail
guard.com/>
_______________________________________________
Maia-users mailing list
Maia-users renaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
|