Blame SOURCES/postfix-2.10.0-config.patch

4c1099
diff --git a/conf/main.cf b/conf/main.cf
4c1099
index 8d301aa..57e865f 100644
4c1099
--- a/conf/main.cf
4c1099
+++ b/conf/main.cf
4c1099
@@ -113,6 +113,10 @@ mail_owner = postfix
4c1099
 #inet_interfaces = all
4c1099
 #inet_interfaces = $myhostname
4c1099
 #inet_interfaces = $myhostname, localhost
4c1099
+inet_interfaces = localhost
4c1099
+
4c1099
+# Enable IPv4, and IPv6 if supported
4c1099
+inet_protocols = all
4c1099
 
4c1099
 # The proxy_interfaces parameter specifies the network interface
4c1099
 # addresses that this mail system receives mail on by way of a
4c1099
@@ -157,7 +161,7 @@ mail_owner = postfix
4c1099
 #
4c1099
 # See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
4c1099
 #
4c1099
-#mydestination = $myhostname, localhost.$mydomain, localhost
4c1099
+mydestination = $myhostname, localhost.$mydomain, localhost
4c1099
 #mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
4c1099
 #mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
4c1099
 #	mail.$mydomain, www.$mydomain, ftp.$mydomain
4c1099
@@ -379,7 +383,7 @@ unknown_local_recipient_reject_code = 550
4c1099
 # "postfix reload" to eliminate the delay.
4c1099
 #
4c1099
 #alias_maps = dbm:/etc/aliases
4c1099
-#alias_maps = hash:/etc/aliases
4c1099
+alias_maps = hash:/etc/aliases
4c1099
 #alias_maps = hash:/etc/aliases, nis:mail.aliases
4c1099
 #alias_maps = netinfo:/aliases
4c1099
 
4c1099
@@ -390,7 +394,7 @@ unknown_local_recipient_reject_code = 550
4c1099
 #
4c1099
 #alias_database = dbm:/etc/aliases
4c1099
 #alias_database = dbm:/etc/mail/aliases
4c1099
-#alias_database = hash:/etc/aliases
4c1099
+alias_database = hash:/etc/aliases
4c1099
 #alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
4c1099
 
4c1099
 # ADDRESS EXTENSIONS (e.g., user+foo)
4c1099
@@ -460,7 +464,27 @@ unknown_local_recipient_reject_code = 550
4c1099
 #
4c1099
 # Cyrus IMAP over LMTP. Specify ``lmtpunix      cmd="lmtpd"
4c1099
 # listen="/var/imap/socket/lmtp" prefork=0'' in cyrus.conf.
4c1099
-#mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
4c1099
+#mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
4c1099
+
4c1099
+# If using the cyrus-imapd IMAP server deliver local mail to the IMAP
4c1099
+# server using LMTP (Local Mail Transport Protocol), this is prefered
4c1099
+# over the older cyrus deliver program by setting the
4c1099
+# mailbox_transport as below:
4c1099
+#
4c1099
+# mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
4c1099
+#
4c1099
+# The efficiency of LMTP delivery for cyrus-imapd can be enhanced via
4c1099
+# these settings.
4c1099
+#
4c1099
+# local_destination_recipient_limit = 300
4c1099
+# local_destination_concurrency_limit = 5
4c1099
+#
4c1099
+# Of course you should adjust these settings as appropriate for the
4c1099
+# capacity of the hardware you are using. The recipient limit setting
4c1099
+# can be used to take advantage of the single instance message store
4c1099
+# capability of Cyrus. The concurrency limit can be used to control
4c1099
+# how many simultaneous LMTP sessions will be permitted to the Cyrus
4c1099
+# message store. 
4c1099
 #
4c1099
 # Cyrus IMAP via command line. Uncomment the "cyrus...pipe" and
4c1099
 # subsequent line in master.cf.
4c1099
@@ -480,8 +504,7 @@ unknown_local_recipient_reject_code = 550
4c1099
 # the main.cf file, otherwise the SMTP server will reject mail for    
4c1099
 # non-UNIX accounts with "User unknown in local recipient table".
4c1099
 #
4c1099
-#fallback_transport = lmtp:unix:/file/name
4c1099
-#fallback_transport = cyrus
4c1099
+#fallback_transport = lmtp:unix:/var/lib/imap/socket/lmtp
4c1099
 #fallback_transport =
4c1099
 
4c1099
 # The luser_relay parameter specifies an optional destination address
4c1099
@@ -654,4 +677,3 @@ sample_directory =
4c1099
 # readme_directory: The location of the Postfix README files.
4c1099
 #
4c1099
 readme_directory =
4c1099
-inet_protocols = ipv4
4c1099
diff --git a/conf/master.cf b/conf/master.cf
4c1099
index acc67d7..bc15d38 100644
4c1099
--- a/conf/master.cf
4c1099
+++ b/conf/master.cf
4c1099
@@ -92,14 +92,14 @@ scache    unix  -       -       n       -       1       scache
4c1099
 # Also specify in main.cf: cyrus_destination_recipient_limit=1
4c1099
 #
4c1099
 #cyrus     unix  -       n       n       -       -       pipe
4c1099
-#  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
4c1099
+#  user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
4c1099
 #
4c1099
 # ====================================================================
4c1099
 #
4c1099
 # Old example of delivery via Cyrus.
4c1099
 #
4c1099
 #old-cyrus unix  -       n       n       -       -       pipe
4c1099
-#  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
4c1099
+#  flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
4c1099
 #
4c1099
 # ====================================================================
4c1099
 #