On Thu, 19 Aug 2004, Erik Norgaard wrote: > 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.
It occured to me, if I can't select the mailbox, how did I get the mail in there in the first place? My script transfers mail using the imap protocol. Well, for speed I transfered the mail on localhost. It turns out that imap defaultdomain works perfectly - but only on loopback interface (now that's really usefull :-)) Here is what I get: Telnetsession on loopback interface: [EMAIL PROTECTED] norgaard]$ telnet 127.0.0.1 143 Trying 127.0.0.1... Connected to localhost.example.com. Escape character is '^]'. * OK top.example.com Cyrus IMAP4 v2.2.8 server ready 1 login "[EMAIL PROTECTED]" ****** 1 OK User logged in 2 namespace * NAMESPACE (("" ".")) (("Other Users." ".")) (("Shared Folders." ".")) 2 OK Completed Telnet session on real interface: [EMAIL PROTECTED] norgaard]$ telnet 192.168.0.4 143 Trying 192.168.0.4... Connected to top.168.192.in-addr.arpa. Escape character is '^]'. * OK top.example.com Cyrus IMAP4 v2.2.8 server ready 1 login "[EMAIL PROTECTED]" "Bh7u#eYh" 1 OK User logged in 2 namespace * NAMESPACE NIL (("Other Users." ".")) (("Shared Folders." ".")) 2 OK Completed This also explains why I had Squirrelmail working since it was running on the same host (I guess I just changed the servername and things - now obviously - stopped working). Mystery deepens...! Regards, Erik > imapd.conf: Sorry, i missed this line out: defaultdomain: example.com GnuPG Key: http://www.locolomo.org/home/norgaard/norgaard.gpg.asc pub 1024D/B02CC311 2004-04-05 Erik Norgaard <[EMAIL PROTECTED]> 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