1

Topic: IMAP share folder

==== Required information ====
- iRedMail version: 0.8.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Centos 5.5
- Related log if you're reporting an issue:
====
I'm running dovecot 1.2.16

I'm upgrading from 0.8.0 to 0.8.1 following the relative guide, but when I try to "Add missing config for IMAP share folder in Dovecot" I found two problems:
I have no file /etc/dovecot/share-folder.conf
I have no "acl_anyone" parameter in /etc/dovecot.conf

I need your help!

----

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

2

Re: IMAP share folder

Could you please show us output of command "dovecot -n"?

3

Re: IMAP share folder

ZhangHuangbin wrote:

Could you please show us output of command "dovecot -n"?

[root@localhost ~]# dovecot -n
# 1.2.16: /etc/dovecot.conf
Warning: fd limit 1024 is lower than what Dovecot can use under full load (more than 2072). Either grow the limit or change login_max_processes_count and max_mail_processes settings
# OS: Linux 2.6.18-194.32.1.el5 x86_64 CentOS release 5.5 (Final)
log_path: /var/log/dovecot.log
protocols: pop3 pop3s imap imaps managesieve
listen(default): *
listen(imap): *
listen(pop3): *
listen(managesieve): *:2000
ssl_cert_file: /etc/pki/tls/certs/dominio.crt
ssl_key_file: /etc/pki/tls/private/dominio.key
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
login_executable(managesieve): /usr/libexec/dovecot/managesieve-login
login_process_per_connection: no
login_process_size: 96
login_max_processes_count: 8
login_max_connections: 512
max_mail_processes: 2048
mail_max_userip_connections(default): 100
mail_max_userip_connections(imap): 100
mail_max_userip_connections(pop3): 10
mail_max_userip_connections(managesieve): 10
mail_uid: 500
mail_gid: 500
mail_location: maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_executable(managesieve): /usr/libexec/dovecot/managesieve
mail_plugins(default): quota imap_quota
mail_plugins(imap): quota imap_quota
mail_plugins(pop3): quota
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/lib64/dovecot/imap
mail_plugin_dir(imap): /usr/lib64/dovecot/imap
mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3
mail_plugin_dir(managesieve): /usr/lib64/dovecot/managesieve
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
pop3_client_workarounds(managesieve):
lda:
  postmaster_address: root
  auth_socket_path: /var/run/dovecot/auth-master
  mail_plugins: sieve quota
  sieve_global_path: /var/vmail/sieve/dovecot.sieve
  log_path: /var/log/sieve.log
auth default:
  mechanisms: plain login
  default_realm: dominio.net
  user: vmail
  passdb:
    driver: ldap
    args: /etc/dovecot-ldap.conf
  userdb:
    driver: ldap
    args: /etc/dovecot-ldap.conf
  socket:
    type: listen
    client:
      path: /var/spool/postfix/dovecot-auth
      mode: 438
      user: postfix
      group: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 438
      user: vmail
      group: vmail
plugin:
  quota_warning: storage=85%% /usr/local/bin/dovecot-quota-warning.sh 85
  quota_warning2: storage=90%% /usr/local/bin/dovecot-quota-warning.sh 90
  quota_warning3: storage=95%% /usr/local/bin/dovecot-quota-warning.sh 95
  sieve: /var/vmail/sieve/%Ld/%Ln/dovecot.sieve
  sieve_dir: /var/vmail/sieve/%Ld/%Ln
  quota: dict:user::proxy::quotadict
  quota_rule: *:storage=100M
  expire: Trash 7 Trash/* 7 Junk 30
  expire_dict: proxy::expire
  auth_socket_path: /var/run/dovecot/auth-master
  sieve: /var/vmail/sieve/%Ld/%Ln/dovecot.sieve
dict:
  expire: db:/var/lib/dovecot/expire/expire.db
  quotadict: mysql:/etc/dovecot-used-quota.conf

4

Re: IMAP share folder

I checked iRedMail-0.8.0 source code, it has share folder related configurations. Is your iRedMail-0.8.0 upgraded from an earlier version?

5

Re: IMAP share folder

ZhangHuangbin wrote:

I checked iRedMail-0.8.0 source code, it has share folder related configurations. Is your iRedMail-0.8.0 upgraded from an earlier version?

Yes it is..may I have skipped some points during the upgrade procedure?

6

Re: IMAP share folder

You'd better not to skip upgrade steps except you clearly know what they're used for.