2013-04-05 11:22 keltezéssel, Szládovics Péter írta:
> 2013-04-05 09:48 keltezéssel, Szládovics Péter írta:
>> 2013-04-04 22:15 keltezéssel, Jean Raby írta:
>>> On 13-04-04 3:53 PM, Szládovics Péter wrote:
>>>> 2013-04-04 20:23 keltezéssel, Ludovic Marcotte írta:
>>>>> On 04/04/13 14:19, Szládovics Péter wrote:
>>>>>>> I ask, because it is not sufficient to add an user to the list of
>>>>>>>> privileged users.
>>>>>>>> You have to double click its name in the list and explicitly set
>>>>>>> some
>>>>>>>> privileges for her.
>>>>>> Yes, I know. I did it as well.
>>>>> Do you still see what you gave when you edit back the access rights
>>>>> for the
>>>>> mail folder?
>>>>>
>>>> Yes, when I dblclick the user's name, every option are checked.
>>> Are you sure the ACL / shared mailbox setup is ok on the dovecot side?
>>>
>>> Have a look here: http://wiki2.dovecot.org/SharedMailboxes/Shared
>>> In particular, check the "Shared mailbox listing" section.
>>>
>>> If this isn't setup properly, dovecot won't return the shared
>>> mailboxes to SOGo,
>>> SOGo won't have any way of knowing that the shared mailbox exists
>>> (even if the user has access to it).
>> Thanks! It's missing.
>> I'll try it, and report the results.
>
> Hmmm. I set it up, delegated some folder, but the other users
> folderlist didn't see any changes.
>
> /var/mail/shared-mailboxes.db has been created with 666 rights, and it
> contains correct informations.
>
> I tried to restart sogo service, but it didn't help.
>
> I think there is some misconfigured thing yet... but where and what?
The problem there is at the IMAP side, because the thunderbird even see
the shared folders.
My dovecot config is:
#################
disable_plaintext_auth = yes
log_path = /var/log/dovecot.message
log_timestamp = "%Y-%m-%d %H:%M:%S "
#auth_debug=yes
#mail_debug=yes
mail_location = maildir:/var/mail/%u
mail_privileged_group = mail
ssl = required
ssl_cert = </etc/ssl/sogo/DOMAIN.local.pem
ssl_key = </etc/ssl/sogo/DOMAIN.local.np.key
ssl_ca = </etc/ssl/sogo/ca.pem
passdb {
driver = passwd-file
args = /etc/dovecot/master-users
master = yes
pass = yes
}
passdb {
args = /etc/dovecot/dovecot-ldap.conf
driver = ldap
}
passdb {
driver = static
args = nopassword=y allow_nets=127.0.0.1/32
}
passdb {
driver = pam
}
protocols = imap pop3 sieve
service auth {
unix_listener auth-master {
group = vmail
mode = 0600
user = vmail
}
unix_listener auth-userdb {
user = vmail
}
user = root
}
userdb {
args = /etc/dovecot/dovecot-ldap.conf
driver = ldap
}
userdb {
driver = passwd
}
protocol lda {
hostname = mail.DOMAIN.local
log_path =
mail_plugins = sieve quota
postmaster_address = [email protected]
}
protocol imap {
mail_plugins = quota imap_quota imap_acl acl
}
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
}
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date ihave
service managesieve-login {
inet_listener sieve {
port = 4190
}
inet_listener sieve_deprecated {
port = 2000
}
service_count = 1
}
plugin {
sieve = /var/mail/sieve/%n.sieve
sieve_dir = /var/mail/sieve/%n/
quota = maildir
quota_rule2 = Trash:storage=+100M
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=80%% quota-warning 80 %u
quota_warning3 = -storage=80%% quota-warning below %u
acl_shared_dict = file:/var/mail/shared-mailboxes.db
acl = vfile
}
service quota-warning {
executable = script /usr/local/bin/quota-warning.sh
user = vmail
unix_listener quota-warning {
user = vmail
}
}
#################
Dovecot LDAP config:
#################
hosts = 127.0.0.1:389
dn = cn=administrator,cn=users,dc=DOMAIN,dc=local
dnpass = ********
auth_bind = yes
tls = no
deref = never
ldap_version = 3
base = cn=users,dc=DOMAIN,dc=local
scope = subtree
user_attrs =
=home=/var/mail,=uid=5000,=gid=5000,maxStorage=quota_rule=*:storage=%$M,=quota_rule2=Trash:storage=+100M
user_filter =
(&(sAMAccountName=%u)(objectClass=person)(!(userAccountControl=514)))
pass_filter =
(&(sAMAccountName=%u)(objectClass=person)(!(userAccountControl=514)))
pass_attrs = userPassword=password,sAMAccountName=user
#################
--
[email protected]
https://inverse.ca/sogo/lists