# 2.4.1-4 (7d8c0e5759): /etc/dovecot/dovecot.conf
# Pigeonhole version 2.4.1-4 (0a86619f)
# OS: Linux 6.12.63+deb13-amd64 x86_64 Debian 13.3 ext4
# Hostname: deb13
# 4 default setting changes since version 2.4.0
dovecot_config_version = 2.4.0
auth_mechanisms = plain login
auth_username_format = %{user|username|lower}
debug_log_path = /var/log/dovecot-debug.log
dovecot_storage_version = 2.4.0
fts_autoindex = yes
fts_autoindex_max_recent_msgs = 999
fts_search_add_missing = yes
info_log_path = /var/log/dovecot.log
ldap_base = cn=Users,dc=gr4,dc=lan
ldap_uris = ldaps://gr4.lan
log_debug = category=auth
mail_driver = mdbox
mail_gid = vmail
mail_home = /home/%{user | username}
mail_inbox_path = /var/vhosts/%{user}
mail_path = /var/vhosts/%{user}
mail_privileged_group = mail
mail_uid = vmail
protocols {
  imap = yes
  lmtp = yes
}
ssl = required
ssl_client {
  require_valid_cert = no
}
passdb ldap {
  bind = yes
  bind_userdn = cn=%{user},cn=Users,dc=gr4,dc=lan
  filter = (&(objectClass=user)(sAMAccountName=%{user}))
}
userdb static {
  fields {
    gid = vmail
    uid = vmail
  }
}
namespace inbox {
  inbox = yes
  mailbox Drafts {
    special_use = "\\Drafts"
  }
  mailbox Junk {
    special_use = "\\Junk"
  }
  mailbox Trash {
    special_use = "\\Trash"
  }
  mailbox Sent {
    special_use = "\\Sent"
  }
  mailbox "Sent Messages" {
    special_use = "\\Sent"
  }
}
service imap-login {
  inet_listener imap {
    port = 0
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}
service pop3-login {
  inet_listener pop3 {
  }
  inet_listener pop3s {
  }
}
service submission-login {
  inet_listener submission {
  }
  inet_listener submissions {
  }
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
  }
}
service imap {
}
service pop3 {
}
service submission {
}
service auth {
  unix_listener auth-userdb {
  }
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
}
service auth-worker {
}
service dict {
  unix_listener dict {
  }
}
ssl_server {
  cert_file = /etc/dovecot/private/dovecot.pem
  key_file = /etc/dovecot/private/dovecot.key
}
protocol lmtp {
  postmaster_address = [email protected]
}
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to