dovecot/dovecot.conf

Sat, 24 Mar 2012 21:40:49 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 24 Mar 2012 21:40:49 +0100
changeset 414
fd611cde817f
parent 238
642966b63c34
child 608
09548e292fb1
permissions
-rw-r--r--

Introduce many changes to the buildconf and source code including:
(01) clean up, update, and partially update default config files,
(02) seems that Melware is unable to perform release engineering so
update chan_capi to new daily snapshot to solve echo problems,
(03) correct Asterisk inadequate hard coded gmime version check,
(04) force postgresql pthreads linkage to solve build problem,
(05) remove buggy hard coded LibXML configure definitions,
(06) remove local architecture specification to allow GCC
internal logic to determine proper CPU type instead,
(07) remove vendor sound install target causing uncontrolled
downloads and non RPM managed file installation,
(08) solve long outstanding bug in tcptls causing Asterisk
to ignore any intermediate CA certificate signatures,
(09) back out Digium engineering team's bright idea of replacing the
very portable and pervasive POSIX rand(1) with ast_random(), and
then not even implementing it causing all references to fail in
platforms not providing the very new POSIX.1-2008 mkdtemp(3)
function only distributed by BSD and some Linux,
(10) withdraw advanced linker symbol manipulations from SVR5 builds
until either Binutils supports hybrid versioned and anonymous
linker scripts or GCC stops hard coding versioned linker scripts,
(11) correct missing library linkage, some tailored to a specific OS,
(12) remove outdated logic for the no longer distributed gmime-config(1),
(13) remove local gmime buildconf hacks now that Asterisk has corrected
their own build configuration to almost portably support gmime,
(14) solve build problems relating to undetected LibXML paths,
(15) correct erroneous out of tree include definitions,
(16) improve some variable and comment naming,
(17) simplify sound language path hierarchy creation,
and correct australian english installation logic.

     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