summaryrefslogtreecommitdiff
path: root/mail/dovecot/patches/patch-ab
blob: 599e5e47e75f6e363a70e75b3283b97b7225193e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
$NetBSD: patch-ab,v 1.5 2004/05/29 15:42:51 cube Exp $

--- dovecot-example.conf.orig	2003-12-20 05:14:19.000000000 +0100
+++ dovecot-example.conf
@@ -1,17 +1,15 @@
 ## Dovecot 1.0 configuration file
 
 # Default values are shown after each value, it's not required to uncomment
-# any of the lines. Exception to this are paths, they're just examples
-# with real defaults being based on configure options. The paths listed here
-# are for configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
-# --with-ssldir=/etc/ssl
+# any of the lines. Exception to this are paths, they're just examples with
+# real defaults being based on configure options.
 
 # Base directory where to store runtime data.
 #base_dir = /var/run/dovecot/
 
 # Protocols we want to be serving:
 #  imap imaps pop3 pop3s
-#protocols = imap imaps
+protocols = imap pop3
 
 # IP or host address where to listen in for connections. It's not currently
 # possible to specify multiple addresses. "*" listens in all IPv4 interfaces.
@@ -27,7 +27,7 @@
 #pop3s_listen = 
 
 # Disable SSL/TLS support.
-#ssl_disable = no
+ssl_disable = yes
 
 # PEM encoded X.509 SSL/TLS certificate and private key. They're opened before
 # dropping root privileges, so keep the key file unreadable by anyone but
@@ -81,7 +81,7 @@
 login = imap
 
 # Executable location.
-#login_executable = /usr/libexec/dovecot/imap-login
+login_executable = @PREFIX@/libexec/dovecot/imap-login
 
 # User to use for the login process. Create a completely new user for this,
 # and don't use it anywhere else. The user must also belong to a group where
@@ -126,7 +126,7 @@
 login = pop3
 
 # Exception to above rule being the executable location.
-#login_executable = /usr/libexec/dovecot/pop3-login
+login_executable = @PREFIX@/libexec/dovecot/pop3-login
 
 ##
 ## Mail processes
@@ -318,7 +316,7 @@ login = pop3
 ##
 
 # Executable location
-#imap_executable = /usr/libexec/dovecot/imap
+imap_executable = @PREFIX@/libexec/dovecot/imap
 
 # Set max. process size in megabytes. Most of the memory goes to mmap()ing
 # files, so it shouldn't harm much even if this limit is set pretty high.
@@ -326,14 +326,14 @@
 
 # Support for dynamically loadable modules.
 #imap_use_modules = no
-#imap_modules = /usr/lib/dovecot/imap
+imap_modules = @PREFIX@/lib/dovecot/imap
 
 ##
 ## POP3 process
 ##
 
 # Executable location
-#pop3_executable = /usr/libexec/dovecot/pop3
+pop3_executable = @PREFIX@/libexec/dovecot/pop3
 
 # Set max. process size in megabytes. Most of the memory goes to mmap()ing
 # files, so it shouldn't harm much even if this limit is set pretty high.
@@ -341,7 +341,7 @@
 
 # Support for dynamically loadable modules.
 #pop3_use_modules = no
-#pop3_modules = /usr/lib/dovecot/pop3
+pop3_modules = @PREFIX@/lib/dovecot/pop3
 
 ##
 ## Authentication processes
@@ -390,9 +390,10 @@
 #   vpopmail: vpopmail authentication
 #   ldap <config path>: LDAP, see doc/dovecot-ldap.conf
 #   pgsql <config path>: a PostgreSQL database, see doc/dovecot-pgsql.conf
-auth_passdb = pgsql /usr/local/etc/dovecot-pgsql.conf
+#auth_passdb = pgsql /usr/local/etc/dovecot-pgsql.conf
+auth_passdb = passwd
 
-#auth_executable = /usr/libexec/dovecot/dovecot-auth
+auth_executable = @PREFIX@/libexec/dovecot/dovecot-auth
 
 # Set max. process size in megabytes.
 #auth_process_size = 256