2013-03-21 13:19:58 +00:00
|
|
|
diff --git a/conf/main.cf b/conf/main.cf
|
2017-03-02 09:52:00 +00:00
|
|
|
index 7af8bde..fbe5c62 100644
|
2013-03-21 13:19:58 +00:00
|
|
|
--- a/conf/main.cf
|
|
|
|
+++ b/conf/main.cf
|
2015-03-05 17:18:50 +00:00
|
|
|
@@ -132,6 +132,10 @@ mail_owner = postfix
|
2009-05-26 12:51:53 +00:00
|
|
|
#inet_interfaces = all
|
|
|
|
#inet_interfaces = $myhostname
|
|
|
|
#inet_interfaces = $myhostname, localhost
|
|
|
|
+inet_interfaces = localhost
|
|
|
|
+
|
|
|
|
+# Enable IPv4, and IPv6 if supported
|
|
|
|
+inet_protocols = all
|
|
|
|
|
|
|
|
# The proxy_interfaces parameter specifies the network interface
|
|
|
|
# addresses that this mail system receives mail on by way of a
|
2015-03-05 17:18:50 +00:00
|
|
|
@@ -176,7 +180,7 @@ mail_owner = postfix
|
2009-05-26 12:51:53 +00:00
|
|
|
#
|
|
|
|
# See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
|
|
|
|
#
|
|
|
|
-#mydestination = $myhostname, localhost.$mydomain, localhost
|
|
|
|
+mydestination = $myhostname, localhost.$mydomain, localhost
|
|
|
|
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
|
|
|
|
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
|
|
|
|
# mail.$mydomain, www.$mydomain, ftp.$mydomain
|
2015-03-05 17:18:50 +00:00
|
|
|
@@ -398,7 +402,7 @@ unknown_local_recipient_reject_code = 550
|
2009-05-26 12:51:53 +00:00
|
|
|
# "postfix reload" to eliminate the delay.
|
|
|
|
#
|
|
|
|
#alias_maps = dbm:/etc/aliases
|
|
|
|
-#alias_maps = hash:/etc/aliases
|
|
|
|
+alias_maps = hash:/etc/aliases
|
|
|
|
#alias_maps = hash:/etc/aliases, nis:mail.aliases
|
|
|
|
#alias_maps = netinfo:/aliases
|
|
|
|
|
2015-03-05 17:18:50 +00:00
|
|
|
@@ -409,7 +413,7 @@ unknown_local_recipient_reject_code = 550
|
2009-05-26 12:51:53 +00:00
|
|
|
#
|
|
|
|
#alias_database = dbm:/etc/aliases
|
|
|
|
#alias_database = dbm:/etc/mail/aliases
|
|
|
|
-#alias_database = hash:/etc/aliases
|
|
|
|
+alias_database = hash:/etc/aliases
|
|
|
|
#alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
|
|
|
|
|
|
|
|
# ADDRESS EXTENSIONS (e.g., user+foo)
|
2015-03-05 17:18:50 +00:00
|
|
|
@@ -479,7 +483,27 @@ unknown_local_recipient_reject_code = 550
|
2009-05-26 12:51:53 +00:00
|
|
|
#
|
2012-02-03 14:17:02 +00:00
|
|
|
# Cyrus IMAP over LMTP. Specify ``lmtpunix cmd="lmtpd"
|
|
|
|
# listen="/var/imap/socket/lmtp" prefork=0'' in cyrus.conf.
|
|
|
|
-#mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
|
2009-05-26 12:51:53 +00:00
|
|
|
+#mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
|
|
|
|
+
|
|
|
|
+# If using the cyrus-imapd IMAP server deliver local mail to the IMAP
|
|
|
|
+# server using LMTP (Local Mail Transport Protocol), this is prefered
|
|
|
|
+# over the older cyrus deliver program by setting the
|
|
|
|
+# mailbox_transport as below:
|
|
|
|
+#
|
|
|
|
+# mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
|
|
|
|
+#
|
|
|
|
+# The efficiency of LMTP delivery for cyrus-imapd can be enhanced via
|
|
|
|
+# these settings.
|
|
|
|
+#
|
|
|
|
+# local_destination_recipient_limit = 300
|
|
|
|
+# local_destination_concurrency_limit = 5
|
|
|
|
+#
|
|
|
|
+# Of course you should adjust these settings as appropriate for the
|
|
|
|
+# capacity of the hardware you are using. The recipient limit setting
|
|
|
|
+# can be used to take advantage of the single instance message store
|
|
|
|
+# capability of Cyrus. The concurrency limit can be used to control
|
|
|
|
+# how many simultaneous LMTP sessions will be permitted to the Cyrus
|
2014-02-12 14:32:42 +00:00
|
|
|
+# message store.
|
2012-02-03 14:17:02 +00:00
|
|
|
#
|
|
|
|
# Cyrus IMAP via command line. Uncomment the "cyrus...pipe" and
|
|
|
|
# subsequent line in master.cf.
|
2015-03-05 17:18:50 +00:00
|
|
|
@@ -499,8 +523,7 @@ unknown_local_recipient_reject_code = 550
|
2009-05-26 12:51:53 +00:00
|
|
|
# the main.cf file, otherwise the SMTP server will reject mail for
|
|
|
|
# non-UNIX accounts with "User unknown in local recipient table".
|
|
|
|
#
|
|
|
|
-#fallback_transport = lmtp:unix:/file/name
|
|
|
|
-#fallback_transport = cyrus
|
|
|
|
+#fallback_transport = lmtp:unix:/var/lib/imap/socket/lmtp
|
|
|
|
#fallback_transport =
|
|
|
|
|
|
|
|
# The luser_relay parameter specifies an optional destination address
|
2015-03-05 17:18:50 +00:00
|
|
|
@@ -673,4 +696,3 @@ sample_directory =
|
2013-03-21 13:19:58 +00:00
|
|
|
# readme_directory: The location of the Postfix README files.
|
|
|
|
#
|
|
|
|
readme_directory =
|
|
|
|
-inet_protocols = ipv4
|
|
|
|
diff --git a/conf/master.cf b/conf/master.cf
|
2017-03-02 09:52:00 +00:00
|
|
|
index b67ed59..a9633ba 100644
|
2013-03-21 13:19:58 +00:00
|
|
|
--- a/conf/master.cf
|
|
|
|
+++ b/conf/master.cf
|
2017-03-02 09:52:00 +00:00
|
|
|
@@ -96,14 +96,14 @@ scache unix - - n - 1 scache
|
2009-05-26 12:51:53 +00:00
|
|
|
# Also specify in main.cf: cyrus_destination_recipient_limit=1
|
|
|
|
#
|
|
|
|
#cyrus unix - n n - - pipe
|
|
|
|
-# user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
|
|
|
|
+# user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
|
|
|
|
#
|
|
|
|
# ====================================================================
|
|
|
|
#
|
2010-02-26 12:17:52 +00:00
|
|
|
# Old example of delivery via Cyrus.
|
|
|
|
#
|
|
|
|
#old-cyrus unix - n n - - pipe
|
|
|
|
-# flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
|
|
|
|
+# flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
|
|
|
|
#
|
|
|
|
# ====================================================================
|
|
|
|
#
|