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
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10main.cf.dpatch by LaMont Jones <lamont@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad work/conf/main.cf /tmp/dpep.OjJjJG/work/conf/main.cf
--- work/conf/main.cf 2005-02-05 11:40:32.000000000 -0700
+++ /tmp/dpep.OjJjJG/work/conf/main.cf 2005-02-05 12:00:42.124976820 -0700
@@ -27,7 +27,7 @@
# See the files in examples/chroot-setup for setting up Postfix chroot
# environments on different UNIX systems.
#
-queue_directory = /var/spool/postfix
+#queue_directory = /var/spool/postfix
# The command_directory parameter specifies the location of all
# postXXX commands.
@@ -38,7 +38,7 @@
# daemon programs (i.e. programs listed in the master.cf file). This
# directory must be owned by root.
#
-daemon_directory = /usr/libexec/postfix
+daemon_directory = /usr/lib/postfix
# QUEUE AND PROCESS OWNERSHIP
#
@@ -49,7 +49,7 @@
# particular, don't specify nobody or daemon. PLEASE USE A DEDICATED
# USER.
#
-mail_owner = postfix
+#mail_owner = postfix
# The default_privs parameter specifies the default rights used by
# the local delivery agent for delivery to external file or command.
@@ -88,6 +88,11 @@
# myorigin also specifies the default domain name that is appended
# to recipient addresses that have no @domain part.
#
+# Debian GNU/Linux specific: Specifying a file name will cause the
+# first line of that file to be used as the name. The Debian default
+# is /etc/mailname.
+#
+#myorigin = /etc/mailname
#myorigin = $myhostname
#myorigin = $mydomain
@@ -253,6 +258,7 @@
#mynetworks = 168.100.189.0/28, 127.0.0.0/8
#mynetworks = $config_directory/mynetworks
#mynetworks = hash:/etc/postfix/network_table
+mynetworks = 127.0.0.0/8
# The relay_domains parameter restricts what destinations this system will
# relay mail to. See the smtpd_recipient_restrictions description in
@@ -433,8 +439,8 @@
# IF YOU USE THIS TO DELIVER MAIL SYSTEM-WIDE, YOU MUST SET UP AN
# ALIAS THAT FORWARDS MAIL FOR ROOT TO A REAL USER.
#
-#mailbox_command = /some/where/procmail
-#mailbox_command = /some/where/procmail -a "$EXTENSION"
+#mailbox_command = /usr/bin/procmail
+#mailbox_command = /usr/bin/procmail -a "$EXTENSION"
# The mailbox_transport specifies the optional transport in master.cf
# to use after processing aliases and .forward files. This parameter
@@ -536,6 +542,8 @@
#
#smtpd_banner = $myhostname ESMTP $mail_name
#smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
+smtpd_banner = $myhostname ESMTP $mail_name (@@DISTRO@@)
+
# PARALLEL DELIVERY TO THE SAME DESTINATION
#
@@ -560,7 +568,7 @@
# logging level when an SMTP client or server host name or address
# matches a pattern in the debug_peer_list parameter.
#
-debug_peer_level = 2
+#debug_peer_level = 2
# The debug_peer_list parameter specifies an optional list of domain
# or network patterns, /file/name patterns or type:name tables. When
|