On October 7, 2017 at 1:29 AM Aki Tuomi <[email protected]> wrote:
[..]Can
you provide mail_debug=yes logs?


Hi Aki,


I've set on /etc/dovecot/conf.d/10-logging.conf:

mail_debug = yes
debug_log_path = /var/log/dovecot.debug

and

on /etc/dovecot/dovecot.conf

protocol imap {
  mail_plugins = $mail_plugins mail_log notify
}



these are my "mail_debug" logs, but first I noticed that Dovecot returns a not file found "/var/vmail/mysite.org/booking/Maildir/dovecot-acl" (each for every directory) where I set *only* the global ACL file.


mail_plugins = acl
protocol imap {
  mail_plugins = $mail_plugins imap_acl
}

plugin {

  acl = vfile:/etc/dovecot/dovecot-acl
  acl_globals_only = yes
}


LOGS:

tail -f /var/log/dovecot.debug
Oct 09 22:26:35 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mail_log_plugin.so Oct 09 22:26:35 imap([email protected]): Debug: Effective uid=5000, gid=5000, home=/var/vmail/mysite.org/booking Oct 09 22:26:35 imap([email protected]): Debug: acl: No acl_shared_dict setting - shared mailbox listing is disabled Oct 09 22:26:35 imap([email protected]): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/vmail/mysite.org/booking/Maildir Oct 09 22:26:35 imap([email protected]): Debug: maildir++: root=/var/vmail/mysite.org/booking/Maildir, index=, indexpvt=, control=, inbox=/var/vmail/mysite.org/booking/Maildir, alt= Oct 09 22:26:35 imap([email protected]): Debug: acl: initializing backend with data: vfile:/etc/dovecot/dovecot-acl Oct 09 22:26:35 imap([email protected]): Debug: acl: acl username = [email protected]
Oct 09 22:26:35 imap([email protected]): Debug: acl: owner = 1
Oct 09 22:26:35 imap([email protected]): Debug: acl vfile: Global ACL file: /etc/dovecot/dovecot-acl Oct 09 22:26:35 imap([email protected]): Debug: acl vfile: file /var/vmail/mysite.org/booking/Maildir/dovecot-acl not found Oct 09 22:27:18 imap: Debug: Loading modules from directory: /usr/lib/dovecot/modules Oct 09 22:27:18 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so Oct 09 22:27:18 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so Oct 09 22:27:18 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib15_notify_plugin.so Oct 09 22:27:18 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mail_log_plugin.so Oct 09 22:27:18 imap([email protected]): Debug: Effective uid=5000, gid=5000, home=/var/vmail/mysite.org/booking Oct 09 22:27:18 imap([email protected]): Debug: acl: No acl_shared_dict setting - shared mailbox listing is disabled Oct 09 22:27:18 imap([email protected]): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/vmail/mysite.org/booking/Maildir Oct 09 22:27:18 imap([email protected]): Debug: maildir++: root=/var/vmail/mysite.org/booking/Maildir, index=, indexpvt=, control=, inbox=/var/vmail/mysite.org/booking/Maildir, alt= Oct 09 22:27:18 imap([email protected]): Debug: acl: initializing backend with data: vfile:/etc/dovecot/dovecot-acl Oct 09 22:27:18 imap([email protected]): Debug: acl: acl username = [email protected]
Oct 09 22:27:18 imap([email protected]): Debug: acl: owner = 1
Oct 09 22:27:18 imap([email protected]): Debug: acl vfile: Global ACL file: /etc/dovecot/dovecot-acl Oct 09 22:27:18 imap([email protected]): Debug: acl vfile: file /var/vmail/mysite.org/booking/Maildir/dovecot-acl not found Oct 09 22:27:18 imap([email protected]): Debug: acl vfile: file /var/vmail/mysite.org/booking/Maildir/.INBOX/Junk/dovecot-acl not found Oct 09 22:27:18 imap: Debug: Loading modules from directory: /usr/lib/dovecot/modules Oct 09 22:27:18 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so Oct 09 22:27:18 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so Oct 09 22:27:18 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib15_notify_plugin.so Oct 09 22:27:18 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mail_log_plugin.so Oct 09 22:27:18 imap([email protected]): Debug: Effective uid=5000, gid=5000, home=/var/vmail/mysite.org/booking Oct 09 22:27:18 imap([email protected]): Debug: acl: No acl_shared_dict setting - shared mailbox listing is disabled Oct 09 22:27:18 imap([email protected]): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/vmail/mysite.org/booking/Maildir Oct 09 22:27:18 imap([email protected]): Debug: maildir++: root=/var/vmail/mysite.org/booking/Maildir, index=, indexpvt=, control=, inbox=/var/vmail/mysite.org/booking/Maildir, alt= Oct 09 22:27:18 imap([email protected]): Debug: acl: initializing backend with data: vfile:/etc/dovecot/dovecot-acl Oct 09 22:27:18 imap([email protected]): Debug: acl: acl username = [email protected]
Oct 09 22:27:18 imap([email protected]): Debug: acl: owner = 1
Oct 09 22:27:18 imap([email protected]): Debug: acl vfile: Global ACL file: /etc/dovecot/dovecot-acl Oct 09 22:27:18 imap([email protected]): Debug: acl vfile: file /var/vmail/mysite.org/booking/Maildir/dovecot-acl not found

Thanks

Davide

Reply via email to