Default domain returns namespace NIL when virtual domains enabled
Erik Norgaard
norgaard at locolomo.org
Thu Aug 19 03:27:49 EDT 2004
Hi,
I have a problem using cyrus-imapd 2.2.8 with virtual domains
enabled. When I enable virtual domains my mail client cannot open
mailbox in the default domain.
After trying access by telnet, it appears not to be client problem.
Default domain is example.com, virtual domain is virtualdomain.com
The two mailaccounts has been populated with the same mail using
the same script.
Telnet session to default domain:
* OK top.example.com Cyrus IMAP4 v2.2.8 server ready
1 login norgaard ******
1 OK User logged in
2 namespace
* NAMESPACE NIL (("Other Users." ".")) (("Shared Folders." "."))
2 OK Completed
Telnet session to virtual domain:
* OK top.example.com Cyrus IMAP4 v2.2.8 server ready
1 login "norgaard at virtualdomain.com" ******
1 OK User logged in
2 namespace
* NAMESPACE (("" ".")) (("Other Users." ".")) (("Shared Folders." "."))
2 OK Completed
If I disable virtual domains i get access to my account in the
default domain:
* OK top.example.com Cyrus IMAP4 v2.2.8 server ready
1 login norgaard ******
1 OK User logged in
2 namespace
* NAMESPACE (("" ".")) (("Other Users." ".")) (("Shared Folders." "."))
2 OK Completed
If I try to add mailfolders with @example.com appended, then these
have '@example.com' truncated which is expected, but hence they are
inaccessible.
A workaround is to set the default domain to something nonexisting,
but this is really not a satisfying solution.
I first reported this as a client bug to the mozilla team (see
http://bugzilla.mozilla.org/show_bug.cgi?id=255698) because I
had Squirrelmail working, but this is no longer the case ?!
Sorry, but I have tried making cyrus behave for a week, so I have
got to a state where I really don't know what I have tried and not
tried.
But, the above error is permanent with my current setup.
Any hints?
Thanks, Erik
Server info: cyrus-imapd v. 2.2.8, cyrus-sasl/cyrus-sasl-saslauthd
v. 2.1.19, BerkeleyDB 4.1. OS: FreeBSD 4.10.
imapd.conf:
configdirectory: /var/imap
partition-default: /var/imap/spool
altnamespace: yes
virtdomains: yes
allowplaintext: yes
admins: cyrus root
defaultacl: anyone lrs
sieveusehomedir: false
sievedir: /var/imap/sieve
sasl_pwcheck_method: saslauthd
sasl_mech_list: plain
mailbox info (cyradm):
localhost.example.com> info *
{user.norgaard.arpwatch at virtualdomain.com}:
lastupdate: 18-Aug-2004 11:30:11 +0200
partition: default
size: 9908
{user.norgaard.arpwatch}:
lastupdate: 18-Aug-2004 11:30:11 +0200
partition: default
size: 9908
{user.norgaard.sent-mail-jul-2004 at virtualdomain.com}:
lastupdate: 18-Aug-2004 11:30:11 +0200
partition: default
size: 20958
{user.norgaard.sent-mail-jul-2004}:
lastupdate: 18-Aug-2004 11:30:11 +0200
partition: default
size: 20958
{user.norgaard.sent-mail at virtualdomain.com}:
lastupdate: 18-Aug-2004 11:30:11 +0200
partition: default
size: 115976
{user.norgaard.sent-mail}:
lastupdate: 18-Aug-2004 11:30:11 +0200
partition: default
size: 115976
{user.norgaard.spam at virtualdomain.com}:
lastupdate: 18-Aug-2004 11:30:11 +0200
partition: default
size: 69954
{user.norgaard.spam}:
lastupdate: 18-Aug-2004 11:30:11 +0200
partition: default
size: 69954
{user.norgaard at virtualdomain.com}:
lastupdate: 18-Aug-2004 11:30:11 +0200
partition: default
size: 216596
{user.norgaard}:
comment: Personal mailfolder
lastupdate: 18-Aug-2004 11:30:11 +0200
partition: default
size: 216596
GnuPG Key: http://www.locolomo.org/home/norgaard/norgaard.gpg.asc
pub 1024D/B02CC311 2004-04-05 Erik Norgaard <norgaard at locolomo.org>
Key fingerprint = 6C11 B9B1 52BD F16D 34AD 9893 D3EC E6DB B02C C311
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list