Configure.Dovecot_2
author Pascal Volk <user@localhost.localdomain.org>
Sat, 05 Jan 2013 18:39:15 +0000
branchv0.7.x
changeset 674 995203a101e1
parent 632 152ea3e3e955
child 732 fae6a42add07
permissions -rw-r--r--
VMM/config: Post-2to3 fix. PEP8-ified imports.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
562
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
     1
# This document contains a minimal configuration for a vmm setup with
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
     2
# Dovecot v2.x.
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
     3
#
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
     4
# You could save this file as local.conf in the dovecot configuration directory
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
     5
# (commonly /etc/dovecot or /usr/local/etc/dovecot).
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
     6
# When you want to use this file as your configuration file for Dovecot, make
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
     7
# sure you have commented out the line "!include conf.d/*.conf". The last line
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
     8
# "!include_try local.conf" is sufficient.
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
     9
#
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    10
# Otherwise you have to apply the following settings to the configuration files
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    11
# in the conf.d directory.
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    12
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    13
### 
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    14
#  dovecot.conf
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    15
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    16
protocols = imap lmtp
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    17
# uncomment if your users should be able to manage their sieve scripts
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    18
#protocols = imap lmtp sieve
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    19
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    20
# uncomment if you want to use the quota plugin
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    21
#dict {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    22
#  quota = pgsql:/usr/local/etc/dovecot/dovecot-dict-sql.conf.ext
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    23
#}
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    24
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    25
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    26
# conf.d/10-auth.conf
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    27
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    28
auth_mechanisms = plain login cram-md5
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    29
passdb {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    30
  driver = sql
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    31
  args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    32
}
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    33
userdb {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    34
  driver = sql
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    35
  args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    36
}
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    37
#!include auth-system.conf.ext
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    38
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    39
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    40
# conf.d/10-mail.conf
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    41
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    42
first_valid_gid = 70000
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    43
first_valid_uid = 70000
564
55148bc6348e INSTALL: Added description how to create additional dove* user/group.
Pascal Volk <user@localhost.localdomain.org>
parents: 562
diff changeset
    44
mail_access_groups = dovemail
562
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    45
mail_location = maildir:~/Maildir
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    46
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    47
# uncomment if you want to use the quota plugin
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    48
#mail_plugins = quota
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    49
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    50
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    51
# conf.d/10-master.conf
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    52
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    53
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    54
# if you don't want to use secure imap, you have to disable the imaps listener
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    55
##service imap-login {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    56
##  inet_listener imaps {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    57
##    port = 0
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    58
##  }
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    59
##}
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    60
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    61
service lmtp {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    62
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    63
    user = postfix
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    64
    group = postfix
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    65
    mode = 0600
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    66
  }
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    67
}
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    68
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    69
service auth {
564
55148bc6348e INSTALL: Added description how to create additional dove* user/group.
Pascal Volk <user@localhost.localdomain.org>
parents: 562
diff changeset
    70
  user = doveauth
562
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    71
  unix_listener auth-userdb {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    72
  }
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    73
  unix_listener /var/spool/postfix/private/dovecot-auth {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    74
    user = postfix
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    75
    group = postfix
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    76
    mode = 0600
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    77
  }
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    78
}
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    79
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    80
service auth-worker {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    81
  unix_listener auth-worker {
564
55148bc6348e INSTALL: Added description how to create additional dove* user/group.
Pascal Volk <user@localhost.localdomain.org>
parents: 562
diff changeset
    82
    user = doveauth
562
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    83
    group = $default_internal_user
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    84
    mode = 0660
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    85
  }
564
55148bc6348e INSTALL: Added description how to create additional dove* user/group.
Pascal Volk <user@localhost.localdomain.org>
parents: 562
diff changeset
    86
  user = doveauth
562
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    87
}
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    88
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    89
service dict {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    90
  unix_listener dict {
564
55148bc6348e INSTALL: Added description how to create additional dove* user/group.
Pascal Volk <user@localhost.localdomain.org>
parents: 562
diff changeset
    91
    group = dovemail
55148bc6348e INSTALL: Added description how to create additional dove* user/group.
Pascal Volk <user@localhost.localdomain.org>
parents: 562
diff changeset
    92
    mode = 0660
562
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    93
  }
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    94
}
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    95
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    96
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    97
# conf.d/10-ssl.conf
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    98
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    99
# SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   100
#ssl = yes
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   101
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   102
ssl_cert = </etc/ssl/certs/dovecot.pem
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   103
ssl_key = </etc/ssl/private/dovecot.pem
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   104
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   105
# if you want to disable SSL/TLS, you have set 'ssl = no' and disable the
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   106
# imaps listener in conf.d/10-master.conf
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   107
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   108
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   109
# conf.d/15-lda.conf
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   110
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   111
postmaster_address = postmaster@YOUR-DOMAIN.TLD
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   112
recipient_delimiter = +
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   113
protocol lda {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   114
  # uncomment if you want to use the quota plugin
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   115
  #mail_plugins = $mail_plugins
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   116
  # uncomment if you want to use the quota and sieve plugins
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   117
  #mail_plugins = $mail_plugins sieve
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   118
}
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   119
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   120
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   121
# conf.d/20-imap.conf
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   122
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   123
protocol imap {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   124
  # uncomment if you want to use the quota plugin
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   125
  #mail_plugins = $mail_plugins imap_quota
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   126
}
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   127
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   128
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   129
# conf.d/20-lmtp.conf
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   130
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   131
protocol lmtp {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   132
  # uncomment if you want to use the quota plugin
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   133
  #mail_plugins = $mail_plugins
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   134
  # uncomment if you want to use the quota and sieve plugins
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   135
  #mail_plugins = $mail_plugins sieve
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   136
}
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   137
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   138
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   139
# conf.d/90-quota.conf
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   140
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   141
# uncomment if you want to use the quota plugin
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   142
#plugin {
632
152ea3e3e955 Documentation: Fixed dictionary quota URI.
Pascal Volk <user@localhost.localdomain.org>
parents: 564
diff changeset
   143
#  quota = dict:user:%{uid}:proxy::quota
562
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   144
#  quota_rule = *:storage=0:messages=0
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   145
#  quota_rule2 = Trash:storage=+100M
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   146
#}
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   147
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   148
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   149
# conf.d/90-sieve.conf
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   150
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   151
# uncomment if you want to use sieve (and maybe managesieve)
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   152
#plugin {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   153
#  recipient_delimiter = +
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   154
#  sieve = ~/.dovecot.sieve
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   155
#  sieve_dir = ~/sieve
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   156
#}
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   157
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   158
###############################################################################
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   159
#			    end of local configuration			      #
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   160
###############################################################################
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   161
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   162
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   163
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   164
# etc/dovecot/dovecot-sql.conf.ext
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   165
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   166
# apply this settings to your dovecot-sql.conf.ext
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   167
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   168
#driver = pgsql
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   169
#connect = host=localhost dbname=mailsys user=dovecot password=$Dovecot_PASS
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   170
#
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   171
#password_query = \
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   172
# SELECT userid AS "user", password FROM dovecotpassword('%Ln', '%Ld') WHERE %Ls
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   173
#
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   174
## uncomment this user_query if you want to use the quota plugin
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   175
#user_query = \
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   176
# SELECT home, uid, gid, mail, quota_rule FROM dovecotquotauser('%Ln', '%Ld')
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   177
## otherwise uncomment the following user_query
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   178
#user_query = SELECT home, uid, gid, mail FROM dovecotuser('%Ln', '%Ld')
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   179
#
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   180
#iterate_query = \
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   181
# SELECT local_part AS username, domain_name.domainname AS domain \
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   182
#   FROM users \
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   183
#        LEFT JOIN domain_data USING (gid) \
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   184
#        LEFT JOIN domain_name USING (gid)
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   185
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   186
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   187
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   188
# etc/dovecot/dovecot-dict-sql.conf.ext
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   189
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   190
# if you want to use the quota plugin add this lines to your
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   191
#  dovecot-dict-sql.conf.ext
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   192
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   193
#connect = host=localhost dbname=mailsys user=dovecot password=$Dovecot_PASS
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   194
#map {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   195
#  pattern = priv/quota/storage
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   196
#  table = userquota
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   197
#  username_field = uid
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   198
#  value_field = bytes
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   199
#}
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   200
#map {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   201
#  pattern = priv/quota/messages
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   202
#  table = userquota
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   203
#  username_field = uid
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   204
#  value_field = messages
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   205
#}