dovecot/dovecot.conf

Wed, 08 Feb 2012 20:07:00 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 08 Feb 2012 20:07:00 +0200
changeset 588
300d43423c2e
parent 238
642966b63c34
child 608
09548e292fb1
permissions
-rw-r--r--

Update version, adapt patch, correct PID writing, correct build on newer
FreeBSD releases, and most importantly introduce new patch to try to
avoid segfault caused by multiple network interfaces with the same (or
no) address. This is common when configuring bridges and tunnels.

     1 ##
     2 ##  dovecot.conf -- Dovecot server configuration
     3 ##
     5 protocols                  = imap
     7 protocol imap {
     8     listen                 = 127.0.0.1:143
     9     ssl_listen             = 127.0.0.1:993
    10     log_path               = @l_prefix@/var/dovecot/log/imap-error.log
    11     info_log_path          = @l_prefix@/var/dovecot/log/imap-info.log
    12     login_executable       = @l_prefix@/libexec/dovecot/imap-login
    13     mail_executable        = @l_prefix@/libexec/dovecot/rawlog @l_prefix@/libexec/dovecot/imap
    14 }
    16 ssl                        = yes
    17 ssl_cert_file              = @l_prefix@/etc/x509/example-server.crt.pem
    18 ssl_key_file               = @l_prefix@/etc/x509/example-server.key.pem
    20 log_path                   = @l_prefix@/var/dovecot/log/dovecot-error.log
    21 info_log_path              = @l_prefix@/var/dovecot/log/dovecot-info.log
    22 log_timestamp              = '%b %d %H:%M:%S '
    24 login_user                 = @l_nusr@
    25 login_processes_count      = 4
    26 login_max_processes_count  = 128
    27 login_max_connections      = 256
    29 mail_location              = mbox:~/.mail:INBOX=~/.mail/inbox
    30 mail_uid                   = @l_rusr@
    31 mail_gid                   = @l_rusr@
    32 mail_privileged_group      = @l_rusr@
    33 mbox_read_locks            = fcntl
    34 mbox_write_locks           = fcntl
    36 auth_realms                = example.com
    37 auth_default_realm         =
    38 auth_verbose               = yes
    39 disable_plaintext_auth     = no
    41 auth_debug                 = no
    42 auth_debug_passwords       = no
    43 mail_debug                 = no
    44 verbose_ssl                = no
    46 protocol lda {
    47     postmaster_address     = postmaster
    48     log_path               = @l_prefix@/var/dovecot/log/deliver-error.log
    49     info_log_path          = @l_prefix@/var/dovecot/log/deliver-info.log
    50 }
    52 auth default {
    53     mechanisms             = plain login
    54     passdb passwd {
    55     }
    56     userdb passwd {
    57     }
    58     socket listen {
    59         master {
    60             path           = @l_prefix@/var/dovecot/run/auth-master
    61             mode           = 0600
    62             user           = @l_rusr@
    63             group          = @l_rugrp@
    64         }
    65         client {
    66             path           = @l_prefix@/var/dovecot/run/auth-client
    67             mode           = 0660
    68             user           = @l_musr@
    69             group          = @l_mgrp@
    70         }
    71     }
    72 }

mercurial