diff --git a/postfix/0README b/postfix/0README index 9023f6fd7..8538cebe2 100644 --- a/postfix/0README +++ b/postfix/0README @@ -2,8 +2,13 @@ Purpose of this document ======================== This document provides a road map of the Postfix mail system source -code distribution. I suggest that you take a few minutes to read -this file, and then proceed with the INSTALL instructions. +code distribution. I suggest that you + +- take a few minutes to read this file, + +- review the RELEASE_NOTES file for incompatible changes, + +- and then proceed with the INSTALL instructions. Introduction ============ diff --git a/postfix/BEWARE b/postfix/BEWARE deleted file mode 100644 index 1b0c41829..000000000 --- a/postfix/BEWARE +++ /dev/null @@ -1,11 +0,0 @@ -LINUX SYSLOGD PERFORMANCE -========================= - -LINUX syslogd uses synchronous writes by default, which is very -expensive. For services such as mail it is recommended that you -disable synchronous logfile writes by editing /etc/syslog.conf and -by prepending a - to the logfile name: - - mail.* -/var/log/mail.log - -Send a "kill -HUP" to the syslogd to make the change effective. diff --git a/postfix/FILTER_README b/postfix/FILTER_README index 709a009b7..adb7d28fd 100644 --- a/postfix/FILTER_README +++ b/postfix/FILTER_README @@ -178,6 +178,11 @@ log in, and can be given a "*" password and non-existent shell and home directory. This user handles all potentially dangerous mail content - that is why it should be a separate account. +In the above example, Postfix listens on port localhost:10025. If +you want to have your filter listening on port localhost:10025 +instead of Postfix, then you must run your filter as a stand-alone +program. + The /some/where/filter command is most likely a PERL script. PERL has modules that make talking SMTP easy. The command-line specifies that mail should be sent back into Postfix via localhost port 10026. diff --git a/postfix/HISTORY b/postfix/HISTORY index cee5cc5d3..d51dc47eb 100644 --- a/postfix/HISTORY +++ b/postfix/HISTORY @@ -4948,6 +4948,15 @@ Apologies for any names omitted. Code cleanup: Postfix should now run with no alias database. Code cleanup: local_destination_recipient_limit and - local_destination_concurrency_limit are not first-class + local_destination_concurrency_limit have become first-class configuration parameters. Files: global/mail_params.h, *qmgr/qmgr.c, postconf/postconf.c. + +20010226 + + Documentation suggestions by Lars Hecking and Richard + Huxton, Matthias Andree and many others. + + Code cleanup: some queue/transport operations need to be + moved, after the code cleanup of the recipient/concurrency + limit handling. Patrik Rak. Files: *qmgr/qmgr_message.c. diff --git a/postfix/RELEASE_NOTES b/postfix/RELEASE_NOTES index 6c8a4c82d..1372a752f 100644 --- a/postfix/RELEASE_NOTES +++ b/postfix/RELEASE_NOTES @@ -1,3 +1,8 @@ +Release 20010228 differs from snapshot 20010228 in that the virtual +delivery agent and nqmgr queue manager are left out. That software +will become part of the official release when it has not changed +in a while. + Incompatible changes with snapshot-20010225 =========================================== diff --git a/postfix/conf/main.cf b/postfix/conf/main.cf index a618ef772..ee1c90c70 100644 --- a/postfix/conf/main.cf +++ b/postfix/conf/main.cf @@ -4,6 +4,9 @@ # The general format is lines with parameter = value pairs. Lines # that begin with whitespace continue the previous line. A value can # contain references to other $names or ${name}s. +# +# NOTE - CHANGE NO MORE THAN 2-3 PARAMETERS AT A TIME, AND TEST IF +# POSTFIX STILL WORKS AFTER EVERY CHANGE. # SOFT BOUNCE # @@ -129,6 +132,9 @@ mail_owner = postfix # through Postfix. See the smtpd_recipient_restrictions parameter # in file sample-smtpd.cf. # +# You can specify the list of "trusted" network addresses by hand +# or you can let Postfix do it for you (which is the default). +# # By default (mynetworks_style = subnet), Postfix "trusts" SMTP # clients in the same IP subnetworks as the local machine. # On Linux, this does works correctly only with interfaces specified @@ -136,7 +142,9 @@ mail_owner = postfix # # Specify "mynetworks_style = class" when Postfix should "trust" SMTP # clients in the same IP class A/B/C networks as the local machine. -# This used to be the default. It is appropriate for service providers. +# Don't do this with a dialup site - it would cause Postfix to "trust" +# your entire provider's network. Instead, specify an explicit +# mynetworks list by hand, as described below. # # Specify "mynetworks_style = host" when Postfix should "trust" # only the local machine. @@ -145,10 +153,12 @@ mail_owner = postfix # mynetworks_style = subnet # mynetworks_style = host -# Instead of using mynetworks_style to implicitly derive the mynetworks -# list from local machine addresses, you can specify an explicit list -# of network/netmask patterns, where the mask specifies the number of -# bits in the network part of a host address. +# Alternatively, you can specify the mynetworks list by hand, in +# which case Postfix ignores the mynetworks_style setting. +# +# Specify an explicit list of network/netmask patterns, where the +# mask specifies the number of bits in the network part of a host +# address. # # You can also specify the absolute pathname of a pattern file instead # of listing the patterns here. diff --git a/postfix/conf/sample-misc.cf b/postfix/conf/sample-misc.cf index 27ddd9a75..14f9e19b2 100644 --- a/postfix/conf/sample-misc.cf +++ b/postfix/conf/sample-misc.cf @@ -218,12 +218,17 @@ myorigin = $myhostname # through Postfix. See the smtpd_recipient_restrictions parameter # in file sample-smtpd.cf. # +# You can specify the list of "trusted" network addresses by hand +# or you can let Postfix do it for you (which is the default). +# # By default (mynetworks_style = subnet), Postfix "trusts" SMTP # clients in the same IP subnetworks as the local machine. # # Specify "mynetworks_style = class" when Postfix should "trust" SMTP # clients in the same IP class A/B/C networks as the local machine. -# This used to be the default. It is appropriate for service providers. +# Don't do this with a dialup site - it would cause Postfix to "trust" +# your entire provider's network. Instead, specify an explicit +# mynetworks list by hand, as described below. # # Specify "mynetworks_style = host" when Postfix should "trust" # only the local machine. @@ -232,10 +237,12 @@ myorigin = $myhostname # mynetworks_style = subnet # mynetworks_style = host -# Instead of using mynetworks_style to implicitly derive the mynetworks -# list from local machine addresses, you can specify an explicit list -# of network/netmask patterns, where the mask specifies the number of -# bits in the network part of a host address. +# Alternatively, you can specify the mynetworks list by hand, in +# which case Postfix ignores the mynetworks_style setting. +# +# Specify an explicit list of network/netmask patterns, where the +# mask specifies the number of bits in the network part of a host +# address. # # You can also specify the absolute pathname of a pattern file instead # of listing the patterns here. diff --git a/postfix/conf/sample-smtpd.cf b/postfix/conf/sample-smtpd.cf index aa80fd291..ec7714d60 100644 --- a/postfix/conf/sample-smtpd.cf +++ b/postfix/conf/sample-smtpd.cf @@ -108,12 +108,17 @@ smtpd_hard_error_limit = 100 # through Postfix. See the smtpd_recipient_restrictions parameter # in file sample-smtpd.cf. # +# You can specify the list of "trusted" network addresses by hand +# or you can let Postfix do it for you (which is the default). +# # By default (mynetworks_style = subnet), Postfix "trusts" SMTP # clients in the same IP subnetworks as the local machine. # # Specify "mynetworks_style = class" when Postfix should "trust" SMTP # clients in the same IP class A/B/C networks as the local machine. -# This used to be the default. It is appropriate for service providers. +# Don't do this with a dialup site - it would cause Postfix to "trust" +# your entire provider's network. Instead, specify an explicit +# mynetworks list by hand, as described below. # # Specify "mynetworks_style = host" when Postfix should "trust" # only the local machine. @@ -122,10 +127,12 @@ smtpd_hard_error_limit = 100 mynetworks_style = subnet # mynetworks_style = host -# Instead of using mynetworks_style to implicitly derive the mynetworks -# list from local machine addresses, you can specify an explicit list -# of network/netmask patterns, where the mask specifies the number of -# bits in the network part of a host address. +# Alternatively, you can specify the mynetworks list by hand, in +# which case Postfix ignores the mynetworks_style setting. +# +# Specify an explicit list of network/netmask patterns, where the +# mask specifies the number of bits in the network part of a host +# address. # # You can also specify the absolute pathname of a pattern file instead # of listing the patterns here. diff --git a/postfix/html/backstage.html b/postfix/html/backstage.html index 5ce551c04..577a3c032 100644 --- a/postfix/html/backstage.html +++ b/postfix/html/backstage.html @@ -57,6 +57,22 @@ or in order to resolve a destination. queue status. This is the program behind the mailq command. +

+ +

  • The flush daemon improves the +performance of the SMTP ETRN request, and of its command-line +equivalent, sendmail -qRdestination, for selected +destinations. For other destinations, Postfix silently falls +back to the equivalent of sendmail -q. + +

    + +

  • The spawn daemon listens on a TCP +port, UNIX-domain socket or FIFO, and runs non-Postfix commands on +request, with the socket or FIFO connected to the standard input, +output and error streams. It is currently used only in an example +of the Postfix external content filtering system. +
    diff --git a/postfix/html/basic.html b/postfix/html/basic.html index d0fb4f374..3333296b7 100644 --- a/postfix/html/basic.html +++ b/postfix/html/basic.html @@ -335,7 +335,10 @@ is to let Postfix do the work for you.
    class
    Trust SMTP clients in the class A/B/C networks -that Postfix is connected to. +that Postfix is connected to. Don't do this with a dialup site +- it would cause Postfix to "trust" your entire provider's network. +Instead, specify an explicit mynetworks list by hand, as described +below.

    @@ -352,8 +355,10 @@ subnetworks that Postfix is connected to.

    -To specify the list of trusted networks by hand, specify -network blocks in CIDR (network/mask) notation, for example: +Alternatively, you can specify the mynetworks list by hand, +in which case Postfix ignores the mynetworks_style setting. +To specify the list of trusted networks by hand, specify network +blocks in CIDR (network/mask) notation, for example:

    @@ -363,6 +368,11 @@ network blocks in CIDR (network/mask) notation, for example:

    +

    + +You can also specify the absolute pathname of a pattern file instead +of listing the patterns in the main.cf file. +

    My own network addresses

    The inet_interfaces parameter specifies all network interface diff --git a/postfix/html/faq.html b/postfix/html/faq.html index 0e39f9d05..d48c5be2f 100644 --- a/postfix/html/faq.html +++ b/postfix/html/faq.html @@ -22,10 +22,12 @@