1

Topic: some issues with 0.8.0

==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL):
0.8.0 with MySQL
- Linux/BSD distribution name and version:
Ubuntu 12.04 LTS
- Any related log? Log is helpful for troubleshooting.
====

i have some problems with acl after a fresh install.
first the required imap plugins are not enabled: acl imap_acl
then i got userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: Permission denied
which i fixed by adding a additional section tu service auth:
unix_listener auth-userdb {
        user = vmail
    }
then i got this error when i login as a user that can see some mailboxes:
Query failed, retrying: Unknown column 'mailbox.enablelib' in 'where clause'
this one i fixed with adding the column to mailbox table with default 1
then i got this error when i login as a user that can see some mailboxes:
Query failed, retrying: Unknown column 'storage' in 'where clause'
this one i fixed with adding the column to mailbox table with default 1
and now i got this:
Couldn't create namespace 'Shared/' for user xxx@xxx.xxx: userdb didn't return a home directory, but mail_location used it (%h): mdbox:/%Lh/:INDEX=/%Lh/


it also seems to be that a required table is not created during install, because in dovecot.log i see this one:
dict: Error: sql dict iterate: Invalid/unmapped path: shared/shared-boxes/anyone/

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: some issues with 0.8.0

There're some bugs of sharing IMAP folder in iRedMail-0.8.0, but all were fixed and will be available in next release.
Please refer to this tutorial to fix it:
http://www.iredmail.org/wiki/index.php? … .8.0-0.8.1

WARNING: This upgrade tutorial is not yet finished, and still a DRAFT, please just apply steps related to IMAP share folder.

3 (edited by BigMichi1 2012-05-20 14:04:50)

Re: some issues with 0.8.0

there is a typo in the mysql part:

CREATE INDEX idx_mailbox_doveadm ON mailbox (doveadm);

should be

CREATE INDEX idx_mailbox_doveadm ON mailbox (enabledoveadm);


and how about the error:

dict: Error: sql dict iterate: Invalid/unmapped path: shared/shared-boxes/anyone/

i think here is the anyone share mapping missing:

CREATE TABLE anyone_shares (
  from_user varchar(100) not null,
  dummy char(1) DEFAULT '1',    -- always '1' currently
  primary key (from_user)
);

map {
  pattern = shared/shared-boxes/anyone/$from
  table = anyone_shares
  value_field = dummy

  fields {
    from_user = $from
  }
}

4

Re: some issues with 0.8.0

Hi BigMichi1,

Thanks for your feedback, i updated upgrade tutorial, it should be ok now. smile
http://www.iredmail.org/wiki/index.php? … .8.0-0.8.1

This fix will be available in iRedMail-0.8.1:
https://bitbucket.org/zhb/iredmail/chan … f03945832c