[Dovecot] [dovecot] Problem with namespaces and dovecot -n
I'm running dovecot 2.0 revision 10622:de9d6dae7fe5 on AIX. I'm trying to see both namespaces that I have listed in mail.conf. namespace private { separator = / prefix = inbox = no hidden = no location = maildir:%h/Maildir list = yes } namespace private { separator = / prefix = #mbox/ location = mbox:%h:INBOX=/var/mail/%u inbox = yes hidden = no list = yes # for v1.1+ } Whichever namespace is last, I can see when running dovecot -n. Am I supposed to only see the last one printed? # 2.0.beta2: /usr/local/dovecot2.0beta2/etc/dovecot/dovecot.conf # OS: AIX 3 0001112AD300 auth_debug = yes auth_gssapi_hostname = $ALL auth_krb5_keytab = /etc/krb5/dovecot.keytab auth_mechanisms = plain gssapi disable_plaintext_auth = no listen = * login_greeting = Dovecot version 2 on tr27n12 ready. mail_full_filesystem_access = yes mail_location = mbox:%h:INBOX=/var/spool/mail/%Ju/%u mbox_lazy_writes = no mbox_write_locks = fcntl mmap_disable = yes namespace { hidden = no inbox = yes list = yes location = mbox:%h:INBOX=/var/mail/%u prefix = #mbox/ separator = / name = private } passdb { deny = no driver = pam master = no pass = no } With this config I have no folders. If I flip the namespaces in the config, I have no INBOX and can't login. Thanks, Jonathan smime.p7s Description: S/MIME cryptographic signature
Re: [Dovecot] [dovecot] Problem with namespaces and dovecot -n
On Wed, 2010-02-03 at 14:07 -0500, Jonathan Siegle wrote: I'm running dovecot 2.0 revision 10622:de9d6dae7fe5 on AIX. I'm trying to see both namespaces that I have listed in mail.conf. namespace private { Remove private part from above. In v2.0 it's name, and you can override namespace settings later by giving the same name. signature.asc Description: This is a digitally signed message part
[Dovecot] Problem with namespaces
[1.1.4 with http://hg.dovecot.org/dovecot-1.1/rev/b61424a50786 applied] I'm trying to use namespaces as described here for UW-IMAP compatibility: http://wiki.dovecot.org/Namespaces But I'm getting a problem with the hidden namespaces showing up in the LIST output. Here is a simplified transcript. The ~/Mail folder contains just two folders. The config given to imapd is as follows: MAIL=mbox:/home/cut/jru2/Mail:INBOX=/home/cut/jru2/.mail:INDEX=/var/state/dovecot-indexes/jru2 NAMESPACE_1=mbox:/home/cut/jru2/Mail:INBOX=/home/cut/jru2/.mail:INDEX=/var/state/dovecot-indexes/jru2 NAMESPACE_1_INBOX=1 NAMESPACE_1_LIST=1 NAMESPACE_1_PREFIX= NAMESPACE_1_SEP=/ NAMESPACE_1_SUBSCRIPTIONS=1 NAMESPACE_1_TYPE=private NAMESPACE_2=mbox:/home/cut/jru2/Mail:INBOX=/home/cut/jru2/.mail:INDEX=/var/state/dovecot-indexes/jru2 NAMESPACE_2_HIDDEN=1 NAMESPACE_2_LIST=0 NAMESPACE_2_PREFIX=mail/ NAMESPACE_2_SEP=/ NAMESPACE_2_SUBSCRIPTIONS=0 NAMESPACE_2_TYPE=private I would expect the second namespace not to be listed. But it is: in: 2 LIST * 3 LOGOUT out: * OK [RAWLOG TIMESTAMP] 2008-10-16 15:41:40 * LIST (\NoInferiors \UnMarked) / folder * LIST (\NoInferiors \UnMarked) / test * LIST (\NoInferiors \Marked) / INBOX * LIST (\Noselect \HasChildren) / mail * LIST (\NoInferiors \UnMarked) / mail/folder * LIST (\NoInferiors \UnMarked) / mail/test 2 OK List completed. * BYE Logging out 3 OK Logout completed. That's with hidden turned on, and the list option turned off. Am I missing something with my config? Tim. -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984
Re: [Dovecot] Problem with namespaces
On Thu, 2008-10-16 at 15:51 +0100, Tim Bishop wrote: The ~/Mail folder contains just two folders. The config given to imapd is as follows: MAIL=mbox:/home/cut/jru2/Mail:INBOX=/home/cut/jru2/.mail:INDEX=/var/state/dovecot-indexes/jru2 NAMESPACE_1=mbox:/home/cut/jru2/Mail:INBOX=/home/cut/jru2/.mail:INDEX=/var/state/dovecot-indexes/jru2 NAMESPACE_1_INBOX=1 .. Why do you set the environment manually? dovecot --exec-mail imap isn't enough? NAMESPACE_2_LIST=0 NAMESPACE_2_SUBSCRIPTIONS=0 These don't do what you think they do. Boolean settings are true as long as the environment exists, Dovecot doesn't even look at its value. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Problem with namespaces
On Thu, Oct 16, 2008 at 06:03:41PM +0300, Timo Sirainen wrote: On Thu, 2008-10-16 at 15:51 +0100, Tim Bishop wrote: The ~/Mail folder contains just two folders. The config given to imapd is as follows: MAIL=mbox:/home/cut/jru2/Mail:INBOX=/home/cut/jru2/.mail:INDEX=/var/state/dovecot-indexes/jru2 NAMESPACE_1=mbox:/home/cut/jru2/Mail:INBOX=/home/cut/jru2/.mail:INDEX=/var/state/dovecot-indexes/jru2 NAMESPACE_1_INBOX=1 .. Why do you set the environment manually? dovecot --exec-mail imap isn't enough? I'm using the post-login scripting approach to detect location of mbox directories and whether the user has maildir instead. NAMESPACE_2_LIST=0 NAMESPACE_2_SUBSCRIPTIONS=0 These don't do what you think they do. Boolean settings are true as long as the environment exists, Dovecot doesn't even look at its value. Ah! Thanks for the tip :-) Tim. -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984
Re: [Dovecot] Problem with namespaces
On Wed, 2008-08-20 at 11:39 +0300, Toms Trankalis (SZ) wrote: I can select SPAM and NOT_Spam, delete messages etc, but when I select Shared, it shows: Mailbox doesn't exist: Shared. As a client I used OE and Thunderbird. Already answered once, but here's again copypasted: Shared is a namespace prefix, not a mailbox. Why do you even want to select it? signature.asc Description: This is a digitally signed message part
[Dovecot] Problem with namespaces
Hi, I'm trying to create Shared folder with subfolders SPAM and NOT_Spam. Configuration: namespace public { separator = / prefix = Shared/ location = maildir:/vmail/%Ld/Shared:INDEX=/vmail/%Ld/%Ln/Shared hidden = no } Result I get (is exactly what I want): Inbox Drafts Sent Trash Shared --NOT_Spam --SPAM I can select SPAM and NOT_Spam, delete messages etc, but when I select Shared, it shows: Mailbox doesn't exist: Shared. As a client I used OE and Thunderbird. How to get rid of that message? I'm running latest Dovecot release 1.1.2 /Tom