Global ACL is not working

rokit

New member
Joined
Nov 8, 2013
Messages
2
Hi, could you help me please? I don't know where i turn wrong, it seems i did everything by the book, maybe not, please help!

Code:
# 2.0.19: /etc/dovecot/dovecot.conf
# OS: Linux 3.5.0-42-generic i686 Ubuntu 12.04.3 LTS ext4
auth_debug = yes
auth_debug_passwords = yes
auth_default_realm = vnet.arnet
auth_failure_delay = 1 secs
auth_mechanisms = plain login
auth_realms = vnet.arnet
auth_verbose = yes
auth_verbose_passwords = plain
base_dir = /var/run/dovecot/
debug_log_path = /var/log/mail/dovecot-debug.log
first_valid_gid = 5000
first_valid_uid = 5000
info_log_path = /var/log/mail/dovecot-info.log
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
listen = 10.0.1.61
log_path = /var/log/mail/dovecot.log
mail_debug = yes
mail_gid = vmail
mail_location = maildir:/var/mail/%d/%n
mail_plugins = acl
mail_uid = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
namespace {
  inbox = yes
  location = 
  prefix = 
  separator = /
  type = private
}
namespace {
  list = no
  location = maildir:/var/mail/%%d/%%n/:INDEX=/var/mail/%%d/%%n/
  prefix = shared/%%d/%%n/
  separator = /
  subscriptions = no
  type = shared
}
namespace {
  list = yes
  location = maildir:/var/mail/Public/
  prefix = Public/
  separator = /
  subscriptions = yes
  type = public
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
plugin {
  acl = vfile:/var/mail/global-acls:cache_secs=300
  acl_anyone = allow
  acl_shared_dict = file:/var/mail/shared-mailboxes.db
  autocreate = Sent
  autocreate2 = Trash
  autocreate3 = Drafts
  autosubscribe = Sent
  autosubscribe2 = Trash
  autosubscribe3 = Drafts
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  mail_log_fields = uid box msgid size
  sieve = /var/mail/%d/%n/.dovecot.sieve
  sieve_dir = /var/mail/%d/%n/sieve
  sieve_global_dir = /etc/dovecot/sieve
}
postmaster_address = [email protected]
protocols = imap pop3 sieve
service auth {
  unix_listener /var/spool/postfix/private/dovecot-auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0600
    user = vmail
  }
}
service dict {
  unix_listener dict {
    group = vmail
    mode = 0600
    user = vmail
  }
}
service imap-login {
  inet_listener imap {
    port = 143
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
}
service pop3-login {
  inet_listener pop3 {
    port = 110
  }
  inet_listener pop3s {
    port = 995
    ssl = yes
  }
}
ssl_cert = </etc/ssl/certs/ssl-mail.pem
ssl_cipher_list = ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM
ssl_key = </etc/ssl/private/ssl-mail.key
userdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
protocol lda {
  deliver_log_format = msgid=%m: %$
  mail_plugins = acl sieve autocreate
  rejection_reason = Your message to <%t> was automatically rejected:%n%r
}
protocol imap {
  imap_client_workarounds = delay-newmail
  imap_id_log = *
  imap_logout_format = bytes=%i/%o
  mail_max_userip_connections = 10
  mail_plugins = acl imap_acl autocreate
}
protocol sieve {
  managesieve_implementation_string = Dovecot Pigeonhole
  managesieve_logout_format = bytes=%i/%o
}
protocol pop3 {
  mail_max_userip_connections = 10
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
 
Code:
imap([email protected]): Debug: Effective uid=5000, gid=5000, home=
imap([email protected]): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/mail/mail.com/unknown
imap([email protected]): Debug: maildir++: root=/var/mail/mail.com/unknown, index=, control=, inbox=/var/mail/mail.com/unknown, alt=
imap([email protected]): Debug: acl: initializing backend with data: vfile:/var/mail/global-acls:cache_secs=300
imap([email protected]): Debug: acl: acl username = [email protected]
imap([email protected]): Debug: acl: owner = 1
imap([email protected]): Debug: acl vfile: Global ACL directory: /var/mail/global-acls
imap([email protected]): Debug: Namespace : type=shared, prefix=shared/%d/%n/, sep=/, inbox=no, hidden=no, list=no, subscriptions=no location=maildir:/var/mail/%d/%n/:INDEX=/var/mail/%d/%n/
imap([email protected]): Debug: shared: root=/var/run/dovecot/, index=, control=, inbox=, alt=
imap([email protected]): Debug: acl: initializing backend with data: vfile:/var/mail/global-acls:cache_secs=300
imap([email protected]): Debug: acl: acl username = [email protected]
imap([email protected]): Debug: acl: owner = 0
imap([email protected]): Debug: acl vfile: Global ACL directory: /var/mail/global-acls
imap([email protected]): Debug: Namespace : type=public, prefix=Public/, sep=/, inbox=no, hidden=no, list=yes, subscriptions=yes location=maildir:/var/mail/Public/
imap([email protected]): Debug: maildir++: root=/var/mail/Public, index=, control=, inbox=, alt=
imap([email protected]): Debug: acl: initializing backend with data: vfile:/var/mail/global-acls:cache_secs=300
imap([email protected]): Debug: acl: acl username = [email protected]
imap([email protected]): Debug: acl: owner = 0
imap([email protected]): Debug: acl vfile: Global ACL directory: /var/mail/global-acls
[COLOR="#FF0000"]imap([email protected]): Debug: acl vfile: file /var/mail/global-acls/ not found[/COLOR]
imap([email protected]): Debug: Namespace : Using permissions from /var/mail/mail.com/unknown: mode=0700 gid=-1
[COLOR="#FF0000"]imap([email protected]): Debug: acl vfile: file /var/mail/global-acls/INBOX not found[/COLOR]
imap([email protected]): Debug: acl vfile: reading file /var/mail/mail.com/unknown/dovecot-acl
 
You are on the wrong website. This website is for directadmin users only.
 
Back
Top