Shared Namespace wird nicht angezeigt

Carsten Stamm carsten.stamm at stamm-networks.de
Sa Jun 16 13:57:34 CEST 2018


  Hallo Klaus,

erstmal vielen Dank für deine Antwort(en). Leider bin ich damit auch  
nicht zum Erfolg gekommen. Ich habe wie von dir angeraten die  
Namespaces umgedreht und erhalte jetzt in Horde erstmal keine Ordner  
mehr im INBOX/ Namespace. Diese sind aber über Ordner anzeigen  
einsehbar. Thunderbird findet nicht alle Ordner und ich kann sie nicht  
abonnieren. Vll hängt das ja zusammen? Trotzdem sehe ich immer noch  
nicht den Namespace shared. 

Ich versuche gleich mal ein paar Daten hier bereit zu stellen außer  
der doveconf -n Ausgabe. 

Viele Grüße
Carsten

Zitat von Klaus Tachtler <klaus at tachtler.net>:

> Hallo Carsten,
>
> also noch mal als Zusammenfassung, Deine "subscriptions" müssen  
> genau anders herum sein:
>
> namespace {
> hidden = no
> inbox = no
> list = children
> location = maildir:%%h/Maildir:INDEX=%h/shared/%%u:CONTROL=%h/shared/%%u
> prefix = shared/%%u/
> separator = /
> subscriptions = no ----------> hier: subscriptions = yes
> type = shared
> }
>
> UND
>
> namespace inbox {
> inbox = yes
> location =
> mailbox Drafts {
>    auto = subscribe
>    special_use = \Drafts
> }
> mailbox Sent {
>    auto = subscribe
>    special_use = \Sent
> }
> mailbox Trash {
>    auto = subscribe
>    special_use = \Trash
> }
> prefix = INBOX/
> separator = /
> subscriptions = yes ----------> hier: subscriptions = no
> type = private
> }
>
> Grüße
> Klaus.
>
>> Hallo zusammen,
>>
>> ich wende mich heute an euch, da ich mit meinem Dovecot nicht so  
>> Recht weiter komme. Ich habe hier folgendes Szenario:
>>
>> Postfix/Dovecot in Kombination mit einem Horde Webmailer.
>>
>> Das funktioniert dank einschlägiger Tutorials soweit auch ganz gut.  
>> Alles macht seinen Job und nun würde ich gerne die Funktionalität  
>> etwas vergrößern. Hierzu soll Shared Namespace bzw. ACLs eingeführt  
>> werden, damit der Admin das Adminpostfach einsehen oder vll noch  
>> das vom Webmaster ohne einen weiteren Account hinzufügen zu müssen.  
>> Dazu habe ich das Dokuwiki von Nausch  
>> (https://dokuwiki.nausch.org/doku.php/centos:mail_c7:dovecot_7)  
>> durchgearbeitet und die entsprechenden Einträge gesetzt. Natürlich  
>> habe ich auch bei Tächtler vorbei geschaut und so wirklich schlau  
>> bin ich leider immer noch nicht.
>>
>> Ich habe hier erstmal nur Benutzer aus einer Maildomain genommen  
>> (stamm-networks) und habe für den anderen die Berechtigungen  
>> gesetzt. Soweit auch alles prima auch über Horde funktioniert das  
>> einwandfrei. Hier der Auszug aus dem vfile:
>>
>> shared/shared-boxes/user/admin at stamm-networks.de/info at stamm-networks.de[1]
>> 1
>>
>> ===
>> doveconf -n Auszug:
>>
>> # 2.2.10: /etc/dovecot/dovecot.conf
>> # OS: Linux 3.10.0-514.10.2.el7.x86_64 x86_64 CentOS Linux release  
>> 7.3.1611 (Core)  xfs
>> auth_mechanisms = plain login digest-md5 cram-md5
>> disable_plaintext_auth = no
>> log_timestamp = "%Y-%m-%d %H:%M:%S "
>> login_log_format_elements = user=<%u> method=%m rip=%r mpid=%e %c  
>> %k session=<%{session}>
>> mail_gid = vmail
>> mail_location = maildir:/srv/vmail/%d/%n/Maildir
>> mail_plugins = zlib quota acl notify mail_log
>> mail_uid = vmail
>> 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
>> mbox_write_locks = fcntl
>> namespace {
>>   hidden = no
>>   inbox = no
>>   list = children
>>   location =  
>> maildir:%%h/Maildir:INDEX=%h/shared/%%u:CONTROL=%h/shared/%%u
>>   prefix = shared/%%u/
>>   separator = /
>>   subscriptions = no
>>   type = shared
>> }
>> namespace inbox {
>>   inbox = yes
>>   location =
>>   mailbox Drafts {
>>     auto = subscribe
>>     special_use = \Drafts
>>   }
>>   mailbox Sent {
>>     auto = subscribe
>>     special_use = \Sent
>>   }
>>   mailbox Trash {
>>     auto = subscribe
>>     special_use = \Trash
>>   }
>>   prefix = INBOX/
>>   separator = /
>>   subscriptions = yes
>>   type = private
>> }
>> passdb {
>>   args = /etc/dovecot/dovecot-sql.conf.ext
>>   driver = sql
>> }
>> plugin {
>>   acl = vfile
>>   acl_shared_dict = file:/srv/vmail/shared-mailboxes
>>   fts = lucene
>>   fts_autoindex = yes
>>   fts_lucene = whitespace_chars=@.
>>   sieve = ~/.dovecot.sieve
>>   sieve_dir = ~/sieve
>>   zlib_save = gz
>>   zlib_save_level = 6
>> }
>> protocols = imap pop3 lmtp sieve
>> service auth-worker {
>>   user = root
>> }
>> service auth {
>>   inet_listener {
>>     address = *
>>     port = 3659
>>   }
>>   unix_listener auth-userdb {
>>     group = vmail
>>     user = vmail
>>   }
>> }
>> service dict {
>>   unix_listener dict {
>>     group = vmail
>>     mode = 0600
>>     user = vmail
>>   }
>> }
>> service imap-login {
>>   inet_listener imap {
>>     address = *
>>   }
>>   inet_listener imaps {
>>     address = *
>>     port = 993
>>     ssl = yes
>>   }
>> }
>> service lmtp {
>>   inet_listener lmtp {
>>     address = 5.189.128.55
>>     port = 24
>>   }
>>   unix_listener lmtp {
>>     group = vmail
>>     mode = 0666
>>     user = vmail
>>   }
>> }
>> service managesieve-login {
>>   inet_listener sieve {
>>     address = *
>>     port = 4190
>>   }
>> }
>> service pop3-login {
>>   inet_listener pop3 {
>>     address = 5.189.128.55
>>     port = 110
>>   }
>>   inet_listener pop3s {
>>     address = 5.189.128.55
>>     port = 995
>>     ssl = yes
>>   }
>> }
>> ssl = required
>> ssl_cert = </etc/letsencrypt/live/mail.stamm-networks.de/fullchain.pem[2]
>> ssl_cipher_list =  
>> EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH+aRSA+RC4:EECDH:EDH+aRSA:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4
>> ssl_dh_parameters_length = 4096
>> ssl_key = </etc/letsencrypt/live/mail.stamm-networks.de/privkey.pem[3]
>> ssl_prefer_server_ciphers = yes
>> ssl_protocols = !SSLv2 !SSLv3
>> userdb {
>>   args = /etc/dovecot/dovecot-sql.conf.ext
>>   driver = sql
>> }
>> verbose_proctitle = yes
>> protocol lmtp {
>>   mail_plugins = zlib quota acl notify mail_log sieve
>> }
>> protocol imap {
>>   mail_plugins = zlib quota acl notify mail_log imap_quota imap_acl
>> }
>>
>> ===
>>
>> Was mache ich denn falsch, dass ich die Abos nicht sehen kann? Die  
>> Berechtigungen werden korrekt vergeben, aber ich kann anschließend  
>> den Namespace "shared" nicht im Account des anderen Users sehen.
>>
>> Vielen vielen Dank schonmal für euren Rat!
>>
>> Viele Grüße
>> Carsten
>
> ----- Ende der Nachricht von Carsten Stamm  
> <carsten.stamm at stamm-networks.de> -----
>
> --
>
> ------------------------------------------------
> e-Mail  : klaus at tachtler.net
> Homepage: https://www.tachtler.net
> DokuWiki:  
> https://dokuwiki.tachtler.net------------------------------------------------



Links:
------
[1] http://stamm-networks.de/info@stamm-networks.de
[2] http://mail.stamm-networks.de/fullchain.pem
[3] http://mail.stamm-networks.de/privkey.pem

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://listen.jpberlin.de/pipermail/dovecot/attachments/20180616/b1c146b1/attachment.html>


Mehr Informationen über die Mailingliste Dovecot