Blame SOURCES/postfix-2.10.0-config.patch

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