Public Folder Problems

Kevin km at bakdong.com
Mon Apr 24 12:44:33 EEST 2017


No volunteers? Maybe no one understands the cpanel dovecot setup. I 
certainly don't!

atb

On 10/04/2017 14:08 +0700, Kevin wrote:
> Hi,
>
> I've been trying to get a Public Folder namespace working, so far 
> without any luck. I've tried in my home folder, outside my home 
> folder, with and without acl. I can see the namespace (PUBLIC) in 
> Roundcube, but that's as far as I get. I've put a .FirstFolder under 
> the location, but it never appears. I've added dirs cur, new, and tmp 
> but no difference. No hints from the maillog.
>
> Could some kind soul please put me out of my misery!
>
> # 2.2.28 (bed8434): /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.32-642.15.1.el6.x86_64 x86_64 CentOS release 6.9 (Final)
> auth_cache_size = 8 k
> auth_mechanisms = plain login
> auth_username_chars = 
> "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$-=?^_{}~./@+%"
> dict {
>   expire = 
> sqlite:/usr/local/cpanel/etc/dovecot/dovecot-dict-expire.conf.ext
> }
> first_valid_uid = 201
> lda_mailbox_autocreate = yes
> lmtp_save_to_detail_mailbox = yes
> mail_access_groups = dovecot
> mail_location = maildir:~/mail
> mail_plugins = quota quota_clone
> mail_prefetch_count = 20
> mailbox_list_index = yes
> maildir_very_dirty_syncs = yes
> namespace inbox {
>   inbox = yes
>   location =
>   mailbox Archives {
>     auto = subscribe
>     special_use = \Archive
>   }
>   mailbox "Deleted Messages" {
>     auto = no
>     special_use = \Trash
>   }
>   mailbox Drafts {
>     auto = subscribe
>     special_use = \Drafts
>   }
>   mailbox Sent {
>     auto = subscribe
>     special_use = \Sent
>   }
>   mailbox "Sent Messages" {
>     auto = no
>     special_use = \Sent
>   }
>   mailbox Spam {
>     auto = create
>     special_use = \Junk
>   }
>   mailbox Trash {
>     auto = no
>     special_use = \Trash
>   }
>   mailbox not-Spam {
>     auto = create
>   }
>   prefix = INBOX.
>   separator = .
>   type = private
> }
> namespace one {
>   list = yes
>   location = maildir:/var/spool/pubmail
>   prefix = PUBLIC.
>   separator = .
>   type = public
> }
> passdb {
>   args = /usr/local/cpanel/bin/dovecot-wrap
>   driver = checkpassword
> }
> plugin {
>   acl = vfile
>   expire = Trash
>   expire2 = Deleted Messages
>   expire3 = INBOX.Deleted Messages
>   expire4 = INBOX.Trash
>   expire_cache = yes
>   expire_dict = proxy::expire
>   quota_exceeded_message = Mailbox is full / Blocks limit exceeded / 
> Inode limit exceeded
>   zlib_save = gz
> }
> protocols = lmtp imap
> service auth {
>   unix_listener auth-client {
>     mode = 0666
>   }
> }
> service config {
>   vsz_limit = 2 G
> }
> service dict {
>   unix_listener dict {
>     group = dovecot
>     mode = 0660
>   }
> }
> service imap-login {
>   client_limit = 500
>   inet_listener imap {
>     address = *,::
>   }
>   inet_listener imaps {
>     address = *,::
>   }
>   process_limit = 50
>   process_min_avail = 2
>   service_count = 0
>   vsz_limit = 128 M
> }
> service imap {
>   process_limit = 512
>   vsz_limit = 512 M
> }
> service lmtp {
>   client_limit = 1
>   process_limit = 500
>   unix_listener lmtp {
>     group = mail
>     mode = 0660
>     user = mailnull
>   }
>   vsz_limit = 512 M
> }
> service managesieve-login {
>   client_limit = 500
>   process_limit = 50
>   process_min_avail = 2
>   service_count = 0
>   vsz_limit = 128 M
> }
> service managesieve {
>   process_limit = 512
>   vsz_limit = 512 M
> }
> service pop3-login {
>   client_limit = 500
>   inet_listener pop3 {
>     address = *,::
>   }
>   inet_listener pop3s {
>     address = *,::
>   }
>   process_limit = 50
>   process_min_avail = 2
>   service_count = 0
>   vsz_limit = 128 M
> }
> service pop3 {
>   process_limit = 512
>   vsz_limit = 512 M
> }
> service quota-status {
>   executable = quota-status -p postfix
>   unix_listener quota-status {
>     mode = 0666
>   }
> }
> ssl_cert = </etc/dovecot/ssl/dovecot.crt
> ssl_cipher_list = 
> ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS
> ssl_key =  # hidden, use -P to show it
> ssl_protocols = !SSLv2 !SSLv3
> userdb {
>   driver = prefetch
> }
> userdb {
>   args = /usr/local/cpanel/etc/dovecot/cpauthd-dict.conf
>   driver = dict
> }
> userdb {
>   args = /usr/local/cpanel/bin/dovecot-wrap
>   driver = checkpassword
> }
> protocol imap {
>   imap_capability = +NAMESPACE
>   imap_idle_notify_interval = 24 mins
>   imap_logout_format = in=%i, out=%o, bytes=%i/%o
>   mail_max_userip_connections = 20
>   mail_plugins = acl quota imap_quota expire imap_zlib quota_clone 
> virtual
>   namespace sent {
>     hidden = yes
>     list = no
>     location = 
> virtual:/usr/local/cpanel/etc/dovecot/virtual/sent:INDEX=~/mail/virtual/%u
>     prefix = sent
>     separator = .
>   }
>   namespace spam {
>     hidden = yes
>     list = no
>     location = 
> virtual:/usr/local/cpanel/etc/dovecot/virtual/spam:INDEX=~/mail/virtual/%u
>     prefix = spam
>     separator = .
>   }
> }
> protocol pop3 {
>   mail_max_userip_connections = 3
>   mail_plugins = quota expire quota quota_clone virtual
>   namespace sent {
>     hidden = yes
>     list = no
>     location = 
> virtual:/usr/local/cpanel/etc/dovecot/virtual/sent:INDEX=~/mail/virtual/%u
>     prefix = sent
>     separator = .
>   }
>   namespace spam {
>     hidden = yes
>     list = no
>     location = 
> virtual:/usr/local/cpanel/etc/dovecot/virtual/spam:INDEX=~/mail/virtual/%u
>     prefix = spam
>     separator = .
>   }
>   pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s, 
> bytes=%i/%o
>   pop3_uidl_format = UID%u-%v
> }
> protocol lmtp {
>   mail_plugins = quota quota_clone
>   postmaster_address = root
>   quota_full_tempfail = no
> }
> protocol lda {
>   mail_plugins = quota quota_clone
>   postmaster_address = root
>   quota_full_tempfail = no
> }
>



More information about the dovecot mailing list