Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@sogo codebluealarms.co.za]# cat /etc/dovecot-ldap.conf
- hosts = CB2012r2DC:3268
- dn = cn=Administrator,cn=Users,dc=cb,dc=local
- dnpass = password
- ldap_version = 3
- base = dc=cb,dc=local
- scope = subtree
- auth_bind = yes
- user_attrs = sAMAccountName=user
- user_filter = (&(ObjectClass=person)(sAMAccountName=%u))
- pass_filter = (&(ObjectClass=person)(sAMAccountName=%u))
- pass_attrs = sAMAccountName=user
- [root@sogo dovecot]# cat dovecot.conf
- disable_plaintext_auth = no
- info_log_path = /var/log/dovecot_lda.log
- log_path = /var/log/dovecot_lda.log
- log_timestamp = "%Y-%m-%d %H:%M:%S "
- mail_gid = 500
- mail_location = maildir:/home/vhostmail/domain.com/%u/Maildir
- mail_privileged_group = mail
- mail_uid = 500
- mail_debug = yes
- mail_plugins = acl
- 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
- #auth_verbose = yes
- #auth_debug = yes
- #auth_debug_passwords = yes
- passdb {
- args = /etc/dovecot-ldap.conf
- driver = ldap
- }
- protocols = imap pop3 sieve
- service auth {
- unix_listener auth-client {
- mode = 0600
- }
- unix_listener auth-master {
- group = vhostmail
- mode = 0600
- user = vhostmail
- }
- user = root
- }
- service imap-login {
- user = dovecot
- }
- protocol imap {
- mail_plugins = $mail_plugins imap_acl
- }
- service pop3-login {
- user = dovecot
- # mail_plugins = acl imap_acl
- }
- ssl = no
- userdb {
- args = /etc/dovecot-ldap.conf
- driver = ldap
- }
- protocol lda {
- auth_socket_path = /var/run/dovecot/auth-master
- hostname = localhost
- mail_debug = yes
- info_log_path = /var/log/dovecot_lda.log
- log_path = /var/log/dovecot_lda.log
- mail_plugin_dir = /usr/lib/dovecot
- mail_plugins = sieve
- postmaster_address = postmaster@domain.com
- sendmail_path = /usr/lib/sendmail
- }
- service managesieve-login {
- user = dovecot
- inet_listener sieve {
- port = 4190
- }
- protocol sieve {
- #managesieve_logout_format = bytes=%i/%o
- #managesieve_implementation_string = Dovecot Pigeonhole
- #managesieve_implementation_string = Cyrus timsieved v2.2.13
- }
- }
- plugin {
- # Used by both the Sieve plugin and the ManageSieve protocol
- sieve = /home/vhostmail/domain.com/%u/.dovecot.sieve
- sieve_dir = /home/vhostmail/domain.com/%u/sieve
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement