On Monday 24 November 2003 21:15, Robert Harris wrote:
> several good ideas...    nothing that pans out yet but id find out that the
> virtual domains are looping to the default domain  (admin wise an mailbox
> wise) unexplainably....    any more insights greatlt appreciated... :}
>
> subquery...  I do have "virtdomains: yes" set in imapd.conf if it was off
> or not acknowledged as being set would that cause the aforementioned
> problem? --Robert
>

> > configdirectory: /var/imap
> > partition-default: /var/spool/imap
> > admins: admin [EMAIL PROTECTED] [EMAIL PROTECTED]
> > virtdomains: yes
> > defaultdomain: exampleisp.net

Here's my imapd.conf for test purposes on test server:
(I suppose you have the line sasl_pwcheck_method: auxprop too)
for simple testing:

configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus [EMAIL PROTECTED] [EMAIL PROTECTED]
sasl_pwcheck_method: auxprop 
virtdomains: yes
defaultdomain: localdomain.net

with saslpasswd2 create admin cyrus:
saslpasswd2 -c cyrus
(asks for passwd etc.)
now you can login in with:
cyradm --auth plain --user cyrus localhost
and when you do lm you see e.g.:
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
etc..
you can create mailboxes with
cm [EMAIL PROTECTED]   
lm:
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)

for the different domains.
create admins for the different domains with:
saslpasswd2 -c -u unetix.net mailadmin etc..
if you login as
cyradm --auth plain --user  [EMAIL PROTECTED] localhost
and you do lm
you see:

user.unetix (\HasNoChildren)

only the mailboxes for that domain
create mailbix with cm:
cm user.guest2
lm :
user.guest2 (\HasNoChildren)
user.unetix (\HasNoChildren)

exit and login with
cyradm --auth plain --user cyrus localhost
lm gives:
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)
[EMAIL PROTECTED] (\HasNoChildren)

so , I suppose , cyrus is the overall admin, you may create create
mailboxes for all domains in the form of
cm user.<username>@<domain>
mailadmins for the different domains login with --user mailadmin@<domain>
and see and create only mailboxes in their domain without the domain 
extension. 
What doesn't work is the default domain, I have that line in the imapd.conf 
too but I think you might as well leave it out because you can't do anything 
with it. So forget about the default domain , it doesn't work, or it works 
completely different from what one expects which is the same.

Hope this helps
wim

This e-mail was scanned by RAV Antivirus!

Reply via email to