Hi! What am I doing wrong here? Mission: Delete old empty sub mailboxes in our Public mailspace acl-file contents: MailingLists user=dag lrwstipekxa MailingLists/* user=dag lrwstipekxa Didn't work from my mail client so tried: Command tried: % doveadm mailbox delete -s MailingLists/Glibc -u dag doveadm(dag): Error: Can't delete mailbox MailingLists/Glibc: Permission denied % doveadm acl debug -u dag "MailingLists/Egcs" doveadm(dag): Info: Mailbox 'Egcs' is in namespace 'MailingLists/' doveadm(dag): Info: Mailbox path: /usr/local/var/mail/MailingLists/mailboxes/Egcs/dbox-Mails doveadm(dag): Info: All message flags are shared across users in mailbox doveadm(dag): Info: User dag has rights: lookup read write write-seen write-deleted insert post expunge create delete admin doveadm(dag): Error: Mailbox not found from dovecot-acl-list, rebuilding doveadm(dag): Info: Mailbox is in public namespace doveadm(dag): Info: Mailbox MailingLists/Egcs is visible in LIST Must be a config I have wrong. Would like to get rid of them... Best Dag
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 17 Dec 2015, Dag Nygren wrote:> What am I doing wrong here? > > Mission: Delete old empty sub mailboxes in our Public mailspace > > acl-file contents: > > MailingLists user=dag lrwstipekxa > MailingLists/* user=dag lrwstipekxa > > Didn't work from my mail client so tried: > > Command tried: > > % doveadm mailbox delete -s MailingLists/Glibc -u dag > doveadm(dag): Error: Can't delete mailbox MailingLists/Glibc: Permission deniedThis looks like problems with the file system permissions.> > % doveadm acl debug -u dag "MailingLists/Egcs" > doveadm(dag): Info: Mailbox 'Egcs' is in namespace 'MailingLists/' > doveadm(dag): Info: Mailbox path: /usr/local/var/mail/MailingLists/mailboxes/Egcs/dbox-Mails > doveadm(dag): Info: All message flags are shared across users in mailbox > doveadm(dag): Info: User dag has rights: lookup read write write-seen write-deleted insert post expunge create delete admin > doveadm(dag): Error: Mailbox not found from dovecot-acl-list, rebuilding > doveadm(dag): Info: Mailbox is in public namespace > doveadm(dag): Info: Mailbox MailingLists/Egcs is visible in LIST > > Must be a config I have wrong. > Would like to get rid of them... > > Best > Dag >- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEVAwUBVnKYuHz1H7kL/d9rAQIHvQgAptsGzVn7ijVYjJp8Ykr24VNMRoA6lPNP D/n6J6C3gepb7QthziiwAT2LO0kpYSIA1Em2VtXk/Ou+iiOrYql9cEumMf7M0ODV qcAsD5IPAnNOWkqlyoc/us8MUkmPiTPH8K4MRF8MFrdmYzxK/Shjt17SAB8k4ouJ swNMUaxmYPIdTS9HcKigdihyetcfen0roTTwxG5SDI9cE32CF89w4BOlHFz93tnb fnMqXQ+NxXODT6fB/kVK4Q4oStYfEjbhaF5IiPHZnVm1lbcjZhlWIlEgNLNZ38lf KGimqMa/Wz8srJ7EE8OVF3yTkODw2K1ppMFROYmN+G/oOR0XXPk9jA==dgfn -----END PGP SIGNATURE-----
On Thursday 17 December 2015 12:12:56 Steffen Kaiser wrote:> On Thu, 17 Dec 2015, Dag Nygren wrote: > > > What am I doing wrong here? > > > > Mission: Delete old empty sub mailboxes in our Public mailspace > > > > acl-file contents: > > > > MailingLists user=dag lrwstipekxa > > MailingLists/* user=dag lrwstipekxa > > > > Didn't work from my mail client so tried: > > > > Command tried: > > > > % doveadm mailbox delete -s MailingLists/Glibc -u dag > > doveadm(dag): Error: Can't delete mailbox MailingLists/Glibc: Permissiondenied> > This looks like problems with the file system permissions. >Thanks! But the files and directories are all owned by me (dag). Also: % doveadm acl get -u dag MailingLists ID Global Rights user=dag admin create delete expunge insert lookup post read write write-deleted write-seen % But (in spite of the "MailingLists/* user=dag lrwstipekxa") % doveadm acl get -u dag MailingLists/Egcs ID Global Rights % Isn't the MailingLists/* supposed to work? Dovecot version is: 2.2.19 Best Dag