Author Topic: Problems with 2 plugins: sieve, acl  (Read 1638 times)

Offline maximise

  • Jr. Member
  • **
  • Posts: 18
Problems with 2 plugins: sieve, acl
« on: March 29, 2019, 08:48:07 AM »
Hello. Please help.
rc config:
Code: [Select]
$config['plugins'] = array('acl', 'archive', 'calendar', 'globaladdressbook', 'identity_select', 'libcalendaring', 'libkolab', 'markasjunk2', 'newmail_notifier', 'zipdownload', 'managesieve', 'jqueryui', 'hotkeys');
1. Plugin sieve
In dovecot.cong one arrow:
Code: [Select]
protocols = imap pop3 sieve
dovecot.log
Code: [Select]
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: protocols: Unknown protocol: sieve
What I did wrong?

2. acl

20-imap.conf
Code: [Select]
mail_plugins = $mail_plugins acl imap_acl
90-acl.conf
Code: [Select]
plugin {
    acl = vfile
}
# To let users LIST mailboxes shared by other users, Dovecot needs a
# shared mailbox dictionary. For example:
plugin {
  acl_shared_dict = file:/home/mail/shared-folders/shared-mailboxes.db
}

In settings of folders I have "share" but shared folders don't shows.

Dovecot.log:
Code: [Select]
Mar 29 15:24:34 auth: Debug: client in: AUTH    1       PLAIN   service=imap    secured session=ODHlwDqFRoFeZLUn        lip=192.168.8.49        rip=94.100.181.//       lport=993       rport=33094     resp=AGFkbWluQGljbGluaWMtY3QucnUAU1pVMjAxOWt4bQ== (previous base64 data may contain sensitive data)
Mar 29 15:24:34 auth-worker(18623): Debug: sql(admin@*mydomain*,94.100.181.//,<ODHlwDqFRoFeZLUn>): query: SELECT password FROM mailbox WHERE username = 'admin@*mydomain*'
Mar 29 15:24:34 auth: Debug: client passdb out: OK      1       user=admin@*mydomain*
Mar 29 15:24:34 auth: Debug: master in: REQUEST 2791702529      18627   1       47e306f866a8dbc6082af043f926de02        session_pid=18628       request_auth_token
Mar 29 15:24:34 auth-worker(18623): Debug: sql(admin@*mydomain*,94.100.181.39,<ODHlwDqFRoFeZLUn>): SELECT CONCAT('/home/mail/',LCASE(`domain`),'/',LCASE(`maildir`)), 1024 AS uid, 1024 AS gid FROM mailbox WHERE username = 'admin@*mydomain*'
Mar 29 15:24:34 auth: Debug: master userdb out: USER    2791702529      admin@*mydomain*     CONCAT('/home/mail/',LCASE(`domain`),'/',LCASE(`maildir`))=/home/mail/*mydomain*/*mydomain*/admin/        uid=1024        gid=1024     auth_token=34d2d4651481356d16776dc633caed145dc497df
Mar 29 15:24:34 imap-login: Info: Login: user=<admin@*mydomain*>, method=PLAIN, rip=94.100.181.//, lip=192.168.8.49, mpid=18628, TLS, session=<ODHlwDqFRoFeZLUn>
Mar 29 15:24:34 imap(admin@*mydomain*): Debug: Loading modules from directory: /usr/lib64/dovecot
Mar 29 15:24:34 imap(admin@*mydomain*): Debug: Module loaded: /usr/lib64/dovecot/lib01_acl_plugin.so
Mar 29 15:24:34 imap(admin@*mydomain*): Debug: Module loaded: /usr/lib64/dovecot/lib02_imap_acl_plugin.so
Mar 29 15:24:34 imap(admin@*mydomain*): Debug: Module loaded: /usr/lib64/dovecot/lib20_mailbox_alias_plugin.so
Mar 29 15:24:34 imap(admin@*mydomain*): Debug: Unknown userdb setting: plugin/CONCAT('/home/mail/',LCASE(`domain`),'/',LCASE(`maildir`))=/home/mail/*mydomain*/*mydomain*/admin/
Mar 29 15:24:34 imap(admin@*mydomain*): Debug: Effective uid=1024, gid=1024, home=
Mar 29 15:24:34 imap(admin@*mydomain*): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/home/mail/*mydomain*/admin@*mydomain*/
Mar 29 15:24:34 imap(admin@*mydomain*): Debug: maildir++: root=/home/mail/*mydomain*/admin@*mydomain*, index=, indexpvt=, control=, inbox=/home/mail/*mydomain*/admin@*mydomain*, alt=
Mar 29 15:24:34 imap(admin@*mydomain*): Debug: acl: initializing backend with data: vfile
Mar 29 15:24:34 imap(admin@*mydomain*): Debug: acl: acl username = admin@*mydomain*
Mar 29 15:24:34 imap(admin@*mydomain*): Debug: acl: owner = 1
Mar 29 15:24:34 imap(admin@*mydomain*): Debug: acl vfile: Global ACLs disabled
Mar 29 15:24:34 imap(admin@*mydomain*): Debug: INBOX: Mailbox opened because: STATUS
Mar 29 15:24:34 imap(admin@*mydomain*): Debug: acl vfile: reading file /home/mail/*mydomain*/admin@*mydomain*/dovecot-acl
Mar 29 15:24:34 imap(admin@*mydomain*): Debug: INBOX: Mailbox opened because: SELECT

Any solutions?