Configure.Dovecot_2
author Pascal Volk <user@localhost.localdomain.org>
Wed, 27 Jun 2012 20:20:00 +0000
branchv0.6.x
changeset 563 b17a9d7a59ae
parent 562 b5bb7b34e831
child 564 55148bc6348e
permissions -rw-r--r--
INSTALL: Updated documentation.
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
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    44
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
    45
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    46
# 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
    47
#mail_plugins = quota
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    48
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
# 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
    51
###
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
# 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
    54
##service imap-login {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    55
##  inet_listener imaps {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    56
##    port = 0
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    57
##  }
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
service lmtp {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    61
  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
    62
    user = postfix
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    63
    group = postfix
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    64
    mode = 0600
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    65
  }
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
service auth {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    69
  user = nobody
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    70
  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
    71
  }
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    72
  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
    73
    user = postfix
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    74
    group = postfix
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    75
    mode = 0600
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    76
  }
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
service auth-worker {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    80
  unix_listener auth-worker {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    81
    user = nobody
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    82
    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
    83
    mode = 0660
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    84
  }
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    85
  user = nobody
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    86
}
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
service dict {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    89
  unix_listener dict {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    90
    # we need mode 0666, because we have a GID/domain and a UID/user
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    91
    mode = 0666
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    92
  }
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
# 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
    97
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
    98
# 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
    99
#ssl = yes
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   100
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   101
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
   102
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
   103
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   104
# 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
   105
# 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
   106
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
# 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
   109
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   110
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
   111
recipient_delimiter = +
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   112
protocol lda {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   113
  # 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
   114
  #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
   115
  # 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
   116
  #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
   117
}
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
# 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
   121
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   122
protocol imap {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   123
  # 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
   124
  #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
   125
}
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
# 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
   129
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   130
protocol lmtp {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   131
  # 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
   132
  #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
   133
  # 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
   134
  #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
   135
}
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
# 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
   139
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   140
# 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
   141
#plugin {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   142
#  quota = dict:user:%{uid}::proxy::quota
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   143
#  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
   144
#  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
   145
#}
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
# 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
   149
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   150
# 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
   151
#plugin {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   152
#  recipient_delimiter = +
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   153
#  sieve = ~/.dovecot.sieve
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   154
#  sieve_dir = ~/sieve
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   155
#}
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
#			    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
   159
###############################################################################
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
# 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
   164
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   165
# 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
   166
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   167
#driver = pgsql
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   168
#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
   169
#
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   170
#password_query = \
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   171
# 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
   172
#
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   173
## 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
   174
#user_query = \
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   175
# 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
   176
## 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
   177
#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
   178
#
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   179
#iterate_query = \
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   180
# 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
   181
#   FROM users \
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   182
#        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
   183
#        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
   184
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
# 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
   188
###
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   189
# 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
   190
#  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
   191
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   192
#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
   193
#map {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   194
#  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
   195
#  table = userquota
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   196
#  username_field = uid
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   197
#  value_field = bytes
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   198
#}
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   199
#map {
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   200
#  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
   201
#  table = userquota
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   202
#  username_field = uid
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   203
#  value_field = messages
b5bb7b34e831 Configure.Dovecot_2: Added configuration documentation for Dovecot_2 >= 2.0.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff changeset
   204
#}