Displaying 2 results from an estimated 2 matches for "writeseen".
Did you mean:
write_len
2016 Dec 16
2
doveadm acl set negative rights not supported?
Hi all,
I'm trying to set an ACL with negative rights. I have no problems setting it with standard IMAP commands, but I'm unable to do it with the doveadm acl command.
I tried:
sudo -u vmail doveadm acl set -u "user at domain" Spam user="-user at domain" lookup
(notice the "-" before the username)
Unfortunately, this adds a (positive) ACL for the user
2016 Dec 20
0
doveadm acl set negative rights not supported?
...;-'. There are two problems with this:
1. The '-username' version runs smoothly and does not throw any errors. However, it does *not* set negative rights. It adds a useless entry for a user named '-username'
2. If you try to specify the rights with a '-', such as '-writeseen', doveadm throws an error like this:
set: invalid option -- 'w'
So the solution is to add '--' to the command line signaling the end of the options:
sudo -u vmail doveadm acl set -u user at domain -- "Spam" user=user at domain -write-seen
Regards,
Peter
Peter Ben...