unix hierarchy delimiter

Joe Thomas joe_thomas at cnt.com
Fri Jan 30 10:54:18 EST 2004


	I also recently changed to 'unixhierachysep: yes' and
have a slightly different problem with INBOX*. In my case,
I've used the correct cm, however, I only get 1 set of INBOX^*
folders at the top level and no INBOX'es for individual users.
I use SquirrelMail as a WEB interface and everyone can see
anything in the INBOX'es.  I'm still in the process of bringing
the whole system up so I only have two or three users at the
moment for testing purposes. Anyways, if anyone has thoughts on
what might be going on, I'd appreciate hearing them.

Thanks!

FreeBSD 5.1-RELEASE 
bsdpan-Cyrus-IMAP-1.00/
bsdpan-Cyrus-SIEVE-managesieve-0.01/
cyrus-imapd-2.2.3/
cyrus-sasl-2.1.15/
cyrus-sasl-saslauthd-2.1.17_1/
db42-4.2.52_1/


name       : Cyrus IMAPD
version    : v2.2.3 2004/01/14 02:11:03
vendor     : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os         : FreeBSD
os-version : 5.1-RELEASE
environment: Built w/Cyrus SASL 2.1.17
             Running w/Cyrus SASL 2.1.17
             Built w/Sleepycat Software: Berkeley DB 4.2.52: (December  3,
2003)
             Running w/Sleepycat Software: Berkeley DB 4.2.52: (December  3,
2003)
             Built w/OpenSSL 0.9.7c 30 Sep 2003
             Running w/OpenSSL 0.9.7c 30 Sep 2003
             CMU Sieve 2.2
             TCP Wrappers
             mmap = shared
             lock = fcntl
             nonblock = fcntl
             auth = unix
             idle = poll



cyrus.conf:

START {
  recover       cmd="ctl_cyrusdb -r"
}

SERVICES {
  imap          cmd="imapd" listen="imap" prefork=0
  imaps         cmd="imapd -s" listen="imaps" prefork=0
  pop3          cmd="pop3d" listen="pop3" prefork=0
  pop3s         cmd="pop3d -s" listen="pop3s" prefork=0
  sieve         cmd="timsieved" listen="sieve" prefork=0
  lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
}

EVENTS {
  checkpoint    cmd="ctl_cyrusdb -c" period=30
  delprune      cmd="cyr_expire -E 3" at=0400
  tlsprune      cmd="tls_prune" at=0400
}


imapd.conf:

configdirectory: /var/imap
partition-default: /var/spool/imap
unixhierarchysep: yes
altnamespace: no
servername: XXXXXXXXXX.XXX
allowanonymouslogin: no
allowplaintext: yes
admins: root cyrus jpt
sieveusehomedir: false
sievedir: /var/imap/sieve
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sasldb
sasl_db_path: /usr/local/etc/sasldb2
tls_cert_file: /var/imap/server.pem
tls_key_file: /var/imap/server.pem





-----Original Message-----
From: Ken Murchison [mailto:ken at oceana.com]
Sent: Friday, January 30, 2004 6:50 AM
To: Pieter Vanmeerbeek
Cc: info-cyrus at lists.andrew.cmu.edu
Subject: Re: unix hierarchy delimiter


Pieter Vanmeerbeek wrote:

> Hi,
> 
> We are running a linux from scratch system and use the cyrus delivery 
> agent.
> One of our customers wants to use a '.' in the user names. I've search 
> the Internet and found the possibility to use the unix hierarchy 
> seperator as a delimiter and therefore allow '.'s in user names. I've 
> set ' unixhierarchysep: yes' in the imapd.conf config file but something 
> strange happens.
> Mail is stored on the 'mail/' partition. Before enabling the option 
> subfolders  were created in 'mail/user/' per user , for example 
> '/mail/user/user.pieter'. With the option enabled I was expecting a 
> 'mail/user/pieter.with.points' constructions, but I get 
> 'mail/user^pieter^with^points' instead . The mailboxes are constructed 
> and a login is possible, but I can't access the INBOx folder :
> 
> *ERROR : Could not complete request.*
> Query: SELECT "INBOX"
> Reason Given: Mailbox does not exist

You created the mailbox incorrectly.  If using cyradm, you should have done:

cm user/peter.with.points

NOT:

cm user.peter.with.points

If you change the hiersep,you have to *use* it. ;)



> 
> 
> Can anyone explain me what's wrong? This is our version information :
> 
> localhost> ver
> name       : Cyrus IMAPD
> version    : v2.2.3 2004/01/14 02:11:03
> vendor     : Project Cyrus
> support-url: http://asg.web.cmu.edu/cyrus
> os         : Linux
> os-version : 2.4.20-axs-3
> environment: Built w/Cyrus SASL 2.1.17
>             Running w/Cyrus SASL 2.1.17
>             Built w/Sleepycat Software: Berkeley DB 4.1.25: (December 
> 19, 2002)
>             Running w/Sleepycat Software: Berkeley DB 4.1.25: (December 
> 19, 2002)
>             Built w/OpenSSL 0.9.6g 9 Aug 2002
>             Running w/OpenSSL 0.9.6d 9 May 2002
>             mmap = shared
>             lock = fcntl
>             nonblock = fcntl
>             auth = unix
>             idle = poll
> 
> 
> thanks,
> Pieter
> 
> 
> 
> 
> -- 
> Security check and anti-virus control on this e-mail has been done by 
> aXs GUARD
> (http://www.axsguard.com)


-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp




More information about the Info-cyrus mailing list