1 auth_mechanisms = plain
2 auth_ssl_require_client_cert = no
3 # NOTE: ne marche pas avec l'auth SASL depuis postfix qui ne fournit pas de certificat utilisateurice
4 auth_ssl_username_from_cert = yes
7 disable_plaintext_auth = yes
9 lda_mailbox_autocreate = no
10 lda_mailbox_autosubscribe = yes
12 log_timestamp = "%Y-%m-%d %H:%M:%S "
13 local_name imap.LOCAL_DOMAINNAME {
14 ssl_ca = </etc/dovecot/LOCAL_DOMAINNAME/imap/x509/crt+crl.self-signed.pem
15 ssl_cert = </etc/dovecot/LOCAL_DOMAINNAME/imap/x509/crt+crl.self-signed.pem
16 ssl_key = </etc/dovecot/LOCAL_DOMAINNAME/imap/x509/key.pem
18 local_name imap.cyclocoop.org {
19 ssl_ca = </etc/dovecot/cyclocoop.org/imap/x509/crt+crl.self-signed.pem
20 ssl_cert = </etc/dovecot/cyclocoop.org/imap/x509/crt+crl.self-signed.pem
21 ssl_key = </etc/dovecot/cyclocoop.org/imap/x509/key.pem
24 mail_home = /home/mail/data/%d/%n
25 mail_location = maildir:/home/mail/data/%d/%n/Maildir:INDEX=/var/lib/dovecot-index/%d/%n:CONTROL=/var/lib/dovecot-control/%d/%n
26 # NOTE: INDEX et CONTROL sont sur une partition sans quota comme le demande la doc
27 # VOIR: http://wiki2.dovecot.org/Quota/FS
40 mailbox "Sent Messages" {
52 location = maildir:/home/mail/data/%%d/%%n/Maildir:INDEX=/var/lib/dovecot-index/%d/%n/Shared/%%n:CONTROL=/var/lib/dovecot-control/%d/%n/Shared/%%n
58 mail_plugins = $mail_plugins acl quota
59 #mail_privileged_group = mail
60 #mail_access_groups = mail
62 args = scheme=plain username_format=%n /etc/dovecot/%d/passwd
66 acl = vfile:/etc/dovecot/acl/global.d
67 acl_shared_dict = file:/home/mail/acl/%d/shared.db
69 recipient_delimiter = +
70 sieve = /home/mail/data/%d/%n/sieve
71 sieve_after = /etc/dovecot/sieve/after.d/
72 sieve_before = /etc/dovecot/sieve/before.d/
73 sieve_dir = /home/mail/data/%d/%n/sieve.d/
74 sieve_global_dir = /etc/dovecot/sieve/global.d/
75 sieve_max_script_size = 1M
76 sieve_quota_max_scripts = 0
77 sieve_quota_max_storage = 10M
78 sieve_user_log = /home/mail/log/%d/sieve.%n.log
81 mail_plugins = $mail_plugins imap_acl imap_quota
95 auth_socket_path = /var/run/dovecot/auth-userdb
96 hostname = LOCAL_DOMAINNAME
99 mail_plugins = $mail_plugins sieve
100 postmaster_address = postmaster+dovecot+lda@LOCAL_DOMAINNAME
101 syslog_facility = mail
104 postmaster_address = postmaster+dovecot+lmtp@LOCAL_DOMAINNAME
105 mail_plugins = $mail_plugins sieve
106 #info_log_path = /tmp/dovecot-lmtp.log
112 #mail_max_userip_connections = 10
113 #managesieve_implementation_string = Dovecot Pigeonhole
114 managesieve_max_compile_errors = 5
115 #managesieve_max_line_length = 65536
116 #managesieve_notify_capability = mailto
117 #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
119 protocols = imap lmtp pop3 sieve
121 #executable = lmtp -L
122 process_min_avail = 2
123 unix_listener /var/spool/postfix/private/dovecot-lmtp {
132 unix_listener auth-userdb {
137 unix_listener /var/spool/postfix/private/auth {
145 # NOTE: most of the memory goes to mmap()ing files.
146 # You may need to increase this limit if you have huge mailboxes.
153 ssl_ca = </etc/dovecot/LOCAL_DOMAINNAME/imap/x509/crt+crl.self-signed.pem
154 ssl_cert = </etc/dovecot/LOCAL_DOMAINNAME/imap/x509/crt+crl.self-signed.pem
155 ssl_cipher_list = ALL:!LOW:!SSLv2:!EXP:!aNULL
156 ssl_key = </etc/dovecot/LOCAL_DOMAINNAME/imap/x509/key.pem
157 ssl_verify_client_cert = yes
162 # NOTE: this userdb is only used by lda.
163 args = username_format=%n /etc/dovecot/%d/passwd