setquota problem
Ken Murchison
ken at oceana.com
Sat Mar 8 16:17:39 EST 2003
Paul Bossi wrote:
> Here's the problem, any attempt to SETQUOTA on a mailbox
> in a domain with first character of a digit, e.g.
> "4demo.com", fails:
>
> Mar 8 00:41:14 linux imap[20406]: IOERROR: creating quota
> file /var/imap/domain/q/4demo.com/quota/s/user.someuser.NEW:
> No such file or directory
>
> dir_hash_c is the cyrus imapd function that computes the
> "q" location in that path named above:
>
> /var/imap/domain/q/4demo.com/quota/s/user.someuser.NEW
>
> This path *always* FAILS when using mkimap tools to
> create the directories as is recommended:
>
> mkimap -d 4demo.com
>
> The mkimap utility in tools directory does a simple
> "substr($domain, 0, 1) instead of this hash algorithm
> involving special treatment of q.
Grab the latest 2.2 code from CVS. As of Thursday, you no longer need
to run mkimap -d to create domains. imapd creates the paths to the
needed files (mailboxes, seen state, subscriptions, quotas, sieve
scripts) on the fly.
--
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