Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1577605
 поиск   регистрация   авторизация 
 
Группа :: Система/Серверы
Пакет: dovecot

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Патч: dovecot-1.0-rc24-alt-conf.patch


diff -Naur dovecot-1.0.rc24.orig/dovecot-example.conf dovecot-1.0.rc24/dovecot-example.conf
--- dovecot-1.0.rc24.orig/dovecot-example.conf	2007-03-02 11:54:04 +0300
+++ dovecot-1.0.rc24/dovecot-example.conf	2007-03-02 11:58:35 +0300
@@ -10,14 +10,14 @@
 # any of the lines. Exception to this are paths, they're just examples with
 # the real defaults being based on configure options. The paths listed here
 # are for configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
-# --with-ssldir=/etc/ssl
+# --with-ssldir=/var/lib/ssl --libexecdir=/usr/lib
 
 # Base directory where to store runtime data.
 #base_dir = /var/run/dovecot/
 
 # Protocols we want to be serving: imap imaps pop3 pop3s
 # If you only want to use dovecot-auth, you can set this to "none".
-#protocols = imap imaps
+#protocols = imap imaps pop3 pop3s
 
 # IP or host address where to listen in for connections. It's not currently
 # possible to specify multiple addresses. "*" listens in all IPv4 interfaces.
@@ -88,8 +88,8 @@
 # dropping root privileges, so keep the key file unreadable by anyone but
 # root. Included doc/mkcert.sh can be used to easily generate self-signed
 # certificate, just make sure to update the domains in dovecot-openssl.cnf
-#ssl_cert_file = /etc/ssl/certs/dovecot.pem
-#ssl_key_file = /etc/ssl/private/dovecot.pem
+ssl_cert_file = /var/lib/ssl/certs/dovecot.pem
+ssl_key_file = /var/lib/ssl/private/dovecot.pem
 
 # If key file is password protected, give the password here. Alternatively
 # give it when starting dovecot with -p parameter.
@@ -248,7 +248,7 @@
 
 # Grant access to these extra groups for mail processes. Typical use would be
 # to give "mail" group write access to /var/mail to be able to create dotlocks.
-#mail_extra_groups =
+mail_extra_groups = mail
 
 # Allow full filesystem access to clients. There's no access checks other than
 # what the operating system does for the active UID/GID. It works with both
@@ -290,6 +290,7 @@
 # Dotlocking uses some tricks which may create more disk I/O than other locking
 # methods. NOTE: If you use NFS, remember to change also mmap_disable setting!
 #lock_method = fcntl
+lock_method = fcntl
 
 # Drop all privileges before exec()ing the mail process. This is mostly
 # meant for debugging, otherwise you don't get core dumps. It could be a small
@@ -487,19 +488,19 @@
 
 protocol imap {
   # Login executable location.
-  #login_executable = /usr/libexec/dovecot/imap-login
+  #login_executable = /usr/lib/dovecot/imap-login
 
   # IMAP executable location. Changing this allows you to execute other
   # binaries before the imap process is executed.
   #
   # This would write rawlogs into ~/dovecot.rawlog/ directory:
-  #   mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap
+  #   mail_executable = /usr/lib/dovecot/rawlog /usr/lib/dovecot/imap
   #
   # This would attach gdb into the imap process and write backtraces into
   # /tmp/gdbhelper.* files:
-  #   mail_executable = /usr/libexec/dovecot/gdbhelper /usr/libexec/dovecot/imap
+  #   mail_executable = /usr/lib/dovecot/gdbhelper /usr/lib/dovecot/imap
   #
-  #mail_executable = /usr/libexec/dovecot/imap
+  #mail_executable = /usr/lib/dovecot/imap
 
   # Maximum IMAP command line length in bytes. Some clients generate very long
   # command lines with huge mailboxes, so you may need to raise this if you get
@@ -552,11 +553,11 @@
 
 protocol pop3 {
   # Login executable location.
-  #login_executable = /usr/libexec/dovecot/pop3-login
+  #login_executable = /usr/lib/dovecot/pop3-login
 
   # POP3 executable location. See IMAP's mail_executable above for examples
   # how this could be changed.
-  #mail_executable = /usr/libexec/dovecot/pop3
+  #mail_executable = /usr/lib/dovecot/pop3
 
   # Don't try to set mails non-recent or seen with POP3 sessions. This is
   # mostly intended to reduce disk I/O. With maildir it doesn't move files
@@ -601,7 +602,7 @@
   # installations. %08Xu%08Xv will be the new default, so use it for new
   # installations.
   #
-  #pop3_uidl_format = 
+  pop3_uidl_format = %08Xu%08Xv
 
   # POP3 logout format string:
   #  %t - number of TOP commands
@@ -658,7 +659,7 @@
 ##
 
 # Executable location
-#auth_executable = /usr/libexec/dovecot/dovecot-auth
+#auth_executable = /usr/lib/dovecot/dovecot-auth
 
 # Set max. process size in megabytes.
 #auth_process_size = 256
@@ -951,7 +952,7 @@
   #ssl_username_from_cert = no
 
   # It's possible to export the authentication interface to other programs:
-  #socket listen {
+  socket listen {
     #master {
       # Master socket is typically used to give Dovecot's local delivery
       # agent access to userdb so it can find mailbox locations. It can
@@ -971,7 +972,13 @@
       #path = /var/run/dovecot/auth-client
       #mode = 0660
     #}
-  #}
+#    client {#postfix
+#      path = /var/spool/postfix/private/auth
+#      mode = 0660
+#      user = postfix
+#      group = postfix
+#    }#postfix
+  }
 }
 
 # If you wish to use another authentication server than dovecot-auth, you can
 
design & coding: Vladimir Lettiev aka crux © 2004-2005