1

Topic: Anyone had success with ACL, if so please share your experience here.

==== Required information ====
- iRedMail version: 0.9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mySQL
- Web server (Apache or Nginx): Niginx
- Linux/BSD distribution name and version: CentOS6
- Related log if you're reporting an issue:
====

Hi,
Anyone have any success with ACL here. If so could you please share what kind of commands did you issue that made it work?
I am struggling to get ACL to work. Need to share entire e-mail(inbox,sent-box etc.)

Otherwise, please advise which folder for making symlinks. Really need to have this sorted out soon.


Below is the output for grep 'socket_path' :-

grep 'socket_path' /etc/dovecot/dovecot.conf
    auth_socket_path = /var/run/dovecot/auth-master
    auth_socket_path = /var/run/dovecot/auth-master

Below is the error I am getting.Please advise syntax to use. Request for help

[root@mail root]# doveadm acl get -u bob@mydomain.net -S /var/run/dovecot/auth-master -m Inbox
doveadm(bob@mydomain.net): Error: doveadm server sent invalid handshake: VERSION    1    1
doveadm(bob@mydomain.net): Error: /var/run/dovecot/auth-master: Internal failure for bob@mydomain.net
ID Global Rights

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Anyone had success with ACL, if so please share your experience here.

Why don't you just enable Roundcube's ACL Plugin and make it work from a GUI. Much easier than this, some other IMAP Clients have ACL Management features too, I've only ever managed ACL's from Telnet or from Roundcube's interface. The latter being much much easier and more powerful.

3

Re: Anyone had success with ACL, if so please share your experience here.

Try:

# doveadm acl get -u bob@mydomain.net -m Inbox

4

Re: Anyone had success with ACL, if so please share your experience here.

Just checked doveadm manual page, '-S' is used to specify doveadm socket path, not dovecot auth socket. so use /var/run/dovecot/auth-master is wrong.

iRedMail doesn't enable doveadm service by default, so it doesn't have a socket or network listener (IP:port).

5

Re: Anyone had success with ACL, if so please share your experience here.

Dear 7t3chguy,
oh yes!  thanks
i will just use the roundcube acl plugin. makes it so much easier.

Dear Zhang
thanks for looking it up. I will try the roundcube acl plugin first. If not then will try this.

Thanks guys!
Kevin