File _service:download_src_package:postfix-2.7.0-config.patch of Package postfix (Revision f91e9e1a53819bd67d9f22152e9524eb)
Currently displaying revision f91e9e1a53819bd67d9f22152e9524eb, show latest
x
1
diff -up postfix-2.7.0/conf/main.cf.config postfix-2.7.0/conf/main.cf
2
--- postfix-2.7.0/conf/main.cf.config 2007-12-18 14:50:25.000000000 +0100
3
+++ postfix-2.7.0/conf/main.cf 2010-02-26 12:28:14.000000000 +0100
4
5
#inet_interfaces = all
6
#inet_interfaces = $myhostname
7
#inet_interfaces = $myhostname, localhost
8
+inet_interfaces = localhost
9
+
10
+# Enable IPv4, and IPv6 if supported
11
+inet_protocols = all
12
13
# The proxy_interfaces parameter specifies the network interface
14
# addresses that this mail system receives mail on by way of a
15
16
#
17
# See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
18
#
19
-#mydestination = $myhostname, localhost.$mydomain, localhost
20
+mydestination = $myhostname, localhost.$mydomain, localhost
21
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
22
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
23
# mail.$mydomain, www.$mydomain, ftp.$mydomain
24
25
# "postfix reload" to eliminate the delay.
26
#
27
#alias_maps = dbm:/etc/aliases
28
-#alias_maps = hash:/etc/aliases
29
+alias_maps = hash:/etc/aliases
30
#alias_maps = hash:/etc/aliases, nis:mail.aliases
31
#alias_maps = netinfo:/aliases
32
33
34
#
35
#alias_database = dbm:/etc/aliases
36
#alias_database = dbm:/etc/mail/aliases
37
-#alias_database = hash:/etc/aliases
38
+alias_database = hash:/etc/aliases
39
#alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
40
41
# ADDRESS EXTENSIONS (e.g., user+foo)
42
43
#
44
# Cyrus IMAP over LMTP. Specify ``lmtpunix cmd="lmtpd"
45
# listen="/var/imap/socket/lmtp" prefork=0'' in cyrus.conf.
46
-#mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
47
+#mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
48
+
49
+# If using the cyrus-imapd IMAP server deliver local mail to the IMAP
50
+# server using LMTP (Local Mail Transport Protocol), this is prefered
51
+# over the older cyrus deliver program by setting the
52
+# mailbox_transport as below:
53
+#
54
+# mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
55
+#
56
+# The efficiency of LMTP delivery for cyrus-imapd can be enhanced via
57
+# these settings.
58
+#
59
+# local_destination_recipient_limit = 300
60
+# local_destination_concurrency_limit = 5
61
+#
62
+# Of course you should adjust these settings as appropriate for the
63
+# capacity of the hardware you are using. The recipient limit setting
64
+# can be used to take advantage of the single instance message store
65
+# capability of Cyrus. The concurrency limit can be used to control
66
+# how many simultaneous LMTP sessions will be permitted to the Cyrus
67
+# message store.
68
#
69
# Cyrus IMAP via command line. Uncomment the "cyrus...pipe" and
70
# subsequent line in master.cf.
71
72
# the main.cf file, otherwise the SMTP server will reject mail for
73
# non-UNIX accounts with "User unknown in local recipient table".
74
#
75
-#fallback_transport = lmtp:unix:/file/name
76
-#fallback_transport = cyrus
77
+#fallback_transport = lmtp:unix:/var/lib/imap/socket/lmtp
78
#fallback_transport =
79
80
# The luser_relay parameter specifies an optional destination address
81
diff -up postfix-2.7.0/conf/master.cf.config postfix-2.7.0/conf/master.cf
82
--- postfix-2.7.0/conf/master.cf.config 2010-02-03 22:01:27.000000000 +0100
83
+++ postfix-2.7.0/conf/master.cf 2010-02-26 12:31:55.000000000 +0100
84
85
# Also specify in main.cf: cyrus_destination_recipient_limit=1
86
#
87
#cyrus unix - n n - - pipe
88
-# user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
89
+# user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
90
#
91
# ====================================================================
92
#
93
# Old example of delivery via Cyrus.
94
#
95
#old-cyrus unix - n n - - pipe
96
-# flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
97
+# flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
98
#
99
# ====================================================================
100
#
101