From aeab334cf6df2732c78855bcafb6ae544888b34f Mon Sep 17 00:00:00 2001
From: Wietse Venema
Date: Thu, 22 Apr 2004 00:00:00 -0500
Subject: [PATCH] postfix-2.2-20040422
---
postfix/AAAREADME | 5 +-
postfix/README_FILES/PACKAGE_README | 14 +-
postfix/README_FILES/QSHAPE_README | 26 +-
postfix/README_FILES/RESTRICTION_CLASS_README | 3 +-
postfix/README_FILES/SMTPD_ACCESS_README | 14 +-
.../{RELEASE_NOTES-2.2 => RELEASE_NOTES-2.1} | 18 +-
postfix/TODO-BEFORE-RELEASE | 28 -
postfix/conf/postfix-files | 1 +
postfix/conf/transport | 143 +-
postfix/html/Makefile.in | 7 +-
postfix/html/PACKAGE_README.html | 15 +-
postfix/html/QSHAPE_README.html | 28 +-
postfix/html/RESTRICTION_CLASS_README.html | 3 +-
postfix/html/SMTPD_ACCESS_README.html | 12 +-
.../html/STANDARD_CONFIGURATION_README.html | 4 +-
postfix/html/postconf.1.html | 32 +-
postfix/html/postconf.5.html | 30 +-
postfix/html/qshape.1.html | 117 +
postfix/html/transport.5.html | 141 +-
postfix/man/junk | 2796 +++++++++++++++++
postfix/man/man1/postconf.1 | 4 +
postfix/man/man5/postconf.5 | 26 +-
postfix/man/man5/transport.5 | 60 +-
postfix/mantools/postlink | 2 +
postfix/proto/PACKAGE_README.html | 15 +-
postfix/proto/QSHAPE_README.html | 28 +-
postfix/proto/RESTRICTION_CLASS_README.html | 3 +-
postfix/proto/SMTPD_ACCESS_README.html | 12 +-
postfix/proto/postconf.proto | 30 +-
postfix/proto/transport | 62 +-
postfix/src/global/mail_version.h | 2 +-
postfix/src/postconf/postconf.c | 4 +
postfix/src/smtpd/Makefile.in | 3 +
33 files changed, 3310 insertions(+), 378 deletions(-)
rename postfix/{RELEASE_NOTES-2.2 => RELEASE_NOTES-2.1} (97%)
delete mode 100644 postfix/TODO-BEFORE-RELEASE
create mode 100644 postfix/html/qshape.1.html
create mode 100644 postfix/man/junk
diff --git a/postfix/AAAREADME b/postfix/AAAREADME
index ef5fe0553..937c7091e 100644
--- a/postfix/AAAREADME
+++ b/postfix/AAAREADME
@@ -97,10 +97,6 @@ navigate faster.
The PORTING file discusses how to go about porting Postfix to other
UNIX platforms.
-The TODO file lists things that still need to be done. If you want
-to set your teeth into one of those problems, drop me a note at
-wietse@porcupine.org to avoid duplication of effort.
-
Documentation:
README_FILES/ Instructions for specific Postfix features
@@ -123,6 +119,7 @@ Command-line utilities:
src/postalias/ Alias database management
src/postcat/ List Postfix queue file
src/postconf/ Configuration utility
+ src/postdrop/ Postfix mail submission program
src/postfix/ Postfix administrative interface
src/postkick/ Postfix IPC for shell scripts
src/postlock/ Postfix locking for shell scripts
diff --git a/postfix/README_FILES/PACKAGE_README b/postfix/README_FILES/PACKAGE_README
index dcbb679f9..2ca445ae2 100644
--- a/postfix/README_FILES/PACKAGE_README
+++ b/postfix/README_FILES/PACKAGE_README
@@ -85,12 +85,14 @@ IInnssttaalllliinngg aa pprree--bbuuiilltt PPoossttffi
* Create the necessary mail_owner account and setgid_group group for
exclusive use by Postfix.
- * Execute the post-install script in the Postfix configuration directory to
- set ownership and permission of Postfix files and directories. Specify any
- non-default settings for mail_owner or setgid_group on the post-install
- command line:
+ * Execute the postfix command to set ownership and permission of Postfix
+ files and directories, and to update Postfix configuration files. If
+ necessary, specify any non-default settings for mail_owner or setgid_group
+ on the postfix command line:
- # sh post-install upgrade-package setgid_group=xxx mail_owner=yyy
+ # postfix set-permissions upgrade-configuration \
+ setgid_group=xxx mail_owner=yyy
- This will also update the main.cf and master.cf files if necessary.
+ With Postfix versions before 2.1 you achieve the same result by invoking
+ the post-install script directly.
diff --git a/postfix/README_FILES/QSHAPE_README b/postfix/README_FILES/QSHAPE_README
index 0a0c8f961..fc04162d5 100644
--- a/postfix/README_FILES/QSHAPE_README
+++ b/postfix/README_FILES/QSHAPE_README
@@ -4,13 +4,15 @@ PPoossttffiixx BBoottttlleenneecckk AAnnaallyyssiiss
PPuurrppoossee ooff tthhiiss ddooccuummeenntt
-This document describes the "qshape" program which helps the administrator
+This document describes the qshape(1) program which helps the administrator
understand the Postfix queue message distribution sorted by time and by sender
-or recipient domain. qshape is bundled with the Postfix 2.1 source under the
-"auxiliary" directory. In order to understand the output of qshape, it useful
-to understand the various Postfix queues. To this end the role of each Postfix
-queue directory is described briefly in the "Background info: Postfix queue
-directories" section near the end of this document.
+or recipient domain. qshape(1) is bundled with the Postfix 2.1 source under the
+"auxiliary" directory.
+
+In order to understand the output of qshape(1), it useful to understand the
+various Postfix queues. To this end the role of each Postfix queue directory is
+described briefly in the "Background info: Postfix queue directories" section
+near the end of this document.
This document covers the following topics:
@@ -32,8 +34,8 @@ This document covers the following topics:
IInnttrroodduucciinngg tthhee qqsshhaappee ttooooll
-When mail is draining slowly or the queue is unexpectedly large, run "qshape"
-as the super-user (root) to help zero in on the problem. The "qshape" program
+When mail is draining slowly or the queue is unexpectedly large, run qshape(1)
+as the super-user (root) to help zero in on the problem. The qshape(1) program
displays a tabular view of the Postfix queue contents.
* On the horizontal axis, it displays the queue age with fine granularity for
@@ -133,7 +135,7 @@ suggest strategies to reduce congestion.
$ egrep 'qmgr.*(panic|fatal|error|warning):' /var/log/maillog
When all else fails try the Postfix mailing list for help, but please don't
-forget to include the top 10 or 20 lines of "qshape" output.
+forget to include the top 10 or 20 lines of qshape(1) output.
EExxaammppllee 11:: HHeeaalltthhyy qquueeuuee
@@ -188,7 +190,7 @@ The domains shown are mostly bulk-mailers and all the volume is the tail end of
the time distribution, showing that short term arrival rates are moderate.
Larger numbers and lower message ages are more indicative of current trouble.
Old mail still going nowhere is largely harmless so long as the active and
-incoming queues are short. We can also see that the groups.msg.com
+incoming queues are short. We can also see that the groups.msn.com
undeliverables are low rate steady stream rather than a concentrated dictionary
attack that is now over.
@@ -214,7 +216,7 @@ Congestion was reported with the active and incoming queues large and not
shrinking despite very large delivery agent process limits. The thread is
archived at: http://groups.google.com/groups?th=636626c645f5bbde
-Using an older version of "qshape" it was quickly determined that all the
+Using an older version of qshape(1) it was quickly determined that all the
messages were for just a few destinations:
$ qshape (show incoming and active queue status)
@@ -597,6 +599,6 @@ strategies) to reduce the chances of repeated complete deferred queue flushes.
CCrreeddiittss
-The "qshape" program was developed by Victor Duchovni of Morgan Stanley, who
+The qshape(1) program was developed by Victor Duchovni of Morgan Stanley, who
also wrote the initial version of this document.
diff --git a/postfix/README_FILES/RESTRICTION_CLASS_README b/postfix/README_FILES/RESTRICTION_CLASS_README
index 7b62659ce..0dc53a08d 100644
--- a/postfix/README_FILES/RESTRICTION_CLASS_README
+++ b/postfix/README_FILES/RESTRICTION_CLASS_README
@@ -65,7 +65,8 @@ SMTP client IP address, and therefore is subject to IP spoofing.
...the usual stuff...
/etc/postfix/access:
- all permit_mynetworks,reject
+ all@my.domain permit_mynetworks,reject
+ all@my.hostname permit_mynetworks,reject
Specify ddbbmm instead of hhaasshh if your system uses ddbbmm files instead of ddbb files.
To find out what map types Postfix supports, use the command ppoossttccoonnff --mm.
diff --git a/postfix/README_FILES/SMTPD_ACCESS_README b/postfix/README_FILES/SMTPD_ACCESS_README
index 26fcbe611..3e442b0c6 100644
--- a/postfix/README_FILES/SMTPD_ACCESS_README
+++ b/postfix/README_FILES/SMTPD_ACCESS_README
@@ -77,29 +77,29 @@ apply to all SMTP mail.
SMTPD_PROXY_README document. This happens while Postfix receives mail,
before it is stored in the incoming queue.
- * Require that the client sends the HELO or EHLO command before sending the
+ * Requiring that the client sends the HELO or EHLO command before sending the
MAIL FROM or ETRN command. This may cause problems with home-grown
applications that send mail. For this reason, the requirement is disabled
by default ("smtpd_helo_required = no").
- * Disallow illegal syntax in MAIL FROM or RCPT TO commands. This may cause
+ * Disallowing illegal syntax in MAIL FROM or RCPT TO commands. This may cause
problems with home-grown applications that send mail, and with ancient PC
mail clients. For this reason, the requirement is disabled by default
("strict_rfc821_envelopes = no").
- o Disallow RFC 822 address syntax (example: "MAIL FROM: the dude
+ o Disallowing RFC 822 address syntax (example: "MAIL FROM: the dude
").
- o Disallow addresses that are not enclosed with <> (example: "MAIL FROM:
- dude@example.com").
+ o Disallowing addresses that are not enclosed with <> (example: "MAIL
+ FROM: dude@example.com").
- * Reject mail from a non-existent sender address. This form of egress
+ * Rejecting mail from a non-existent sender address. This form of egress
filtering helps to slow down worms and other malware, but may cause
problems with home-grown software that sends out mail software with an
unreplyable address. For this reason the requirement is disabled by default
("smtpd_reject_unlisted_sender = no").
- * Reject mail for a non-existent recipient address. This form of ingress
+ * Rejecting mail for a non-existent recipient address. This form of ingress
filtering helps to keep the mail queue free of undeliverable MAILER-DAEMON
messages. This requirement is enabled by default
("smtpd_reject_unlisted_recipient = yes").
diff --git a/postfix/RELEASE_NOTES-2.2 b/postfix/RELEASE_NOTES-2.1
similarity index 97%
rename from postfix/RELEASE_NOTES-2.2
rename to postfix/RELEASE_NOTES-2.1
index ddc2aa428..87e3d5b1d 100644
--- a/postfix/RELEASE_NOTES-2.2
+++ b/postfix/RELEASE_NOTES-2.1
@@ -5,19 +5,19 @@ incompatibility.
The official Postfix release is called 2.1.x where 2=major release
number, 1=minor release number, x=patchlevel. Snapshot releases
-are now called 2.2-yyyymmdd where yyyymmdd is the release date
-(yyyy=year, mm=month, dd=day). The mail_release_date configuration
-parameter contains the release date (both for official release and
-snapshot release). Patches are issued for the official release
-and change the patchlevel and the release date. Patches are never
-issued for snapshot releases.
+are called 2.2-yyyymmdd where yyyymmdd is the release date (yyyy=year,
+mm=month, dd=day). The mail_release_date configuration parameter
+contains the release date (both for official release and snapshot
+release). Patches are issued for the official release and change
+the patchlevel and the release date. Patches are never issued for
+snapshot releases.
Major changes - critical
------------------------
-You must stop Postfix 1.x before upgrading. This is because the
-master-child protocols have changed, and nothing will work with
-the old master daemon process.
+If you run Postfix 1.x or earlier then you must stop Postfix before
+upgrading. This is because the master-child protocols have changed,
+and very little will work with the old master daemon process.
[Incompat 20021119] You can upgrade Postfix 2.0 without stopping.
After upgrading an existing Postfix 2.0 system you must use "postfix
diff --git a/postfix/TODO-BEFORE-RELEASE b/postfix/TODO-BEFORE-RELEASE
deleted file mode 100644
index 9a311b8ec..000000000
--- a/postfix/TODO-BEFORE-RELEASE
+++ /dev/null
@@ -1,28 +0,0 @@
-Documentation needed before official release:
-=============================================
-
-- RELEASE_NOTES file with all changes since Postfix version 2.0.
-
-Tools cleanup
-=============
-
-Remove mantools script for 2.0 to 2.1 migration:
-
- docparam docuseparam double makepostconf makepostconflinks
- readme2html specmiss spell useparam user2var var2user
-
-Functionality to be removed before official release:
-====================================================
-
-- The anvil daemon. Its user interface needs to evolve.
-
- find . type f -print | xargs grep -i anvil
-
-- The tcp_table dictionary type. It's a weak protocol, and the
-SMTPD policy delegation protocol provides a superior mechanism.
-
- find . type f -print | xargs egrep -i 'tcp_table|tcp-based'
-
-- Change top-level Makefile.stable/snapshot, makedefs.stable/snapshot
-
-- Delete TODO-BEFORE-RELEASE :-)
diff --git a/postfix/conf/postfix-files b/postfix/conf/postfix-files
index a6da7df7e..7f48a82f7 100644
--- a/postfix/conf/postfix-files
+++ b/postfix/conf/postfix-files
@@ -325,6 +325,7 @@ $html_directory/postlog.1.html:f:root:-:644
$html_directory/postmap.1.html:f:root:-:644
$html_directory/postqueue.1.html:f:root:-:644
$html_directory/postsuper.1.html:f:root:-:644
+$html_directory/qshape.1.html:f:root:-:644
$html_directory/proxymap.8.html:f:root:-:644
$html_directory/qmgr.8.html:f:root:-:644
$html_directory/qmqp-sink.1.html:f:root:-:644
diff --git a/postfix/conf/transport b/postfix/conf/transport
index b3f011d37..9f6265515 100644
--- a/postfix/conf/transport
+++ b/postfix/conf/transport
@@ -75,11 +75,9 @@
# a domain name hierarchy, as described in section "TABLE
# LOOKUP".
#
-# The result is of the form transport:nexthop. The trans-
-# port field specifies a mail delivery transport such as
-# smtp or local. The nexthop field specifies where and how
-# to deliver mail. More details are given in section "RESULT
-# FORMAT".
+# The result is of the form transport:nexthop and specifies
+# how or where to deliver mail. This is described in section
+# "RESULT FORMAT".
#
# TABLE LOOKUP
# With lookups from indexed files such as DB or DBM, or from
@@ -114,129 +112,134 @@
# mon@hostname).
#
# RESULT FORMAT
-# The transport field specifies the name of a mail delivery
+# The lookup result is of the form transport:nexthop. The
+# transport field specifies a mail delivery transport such
+# as smtp or local. The nexthop field specifies where and
+# how to deliver mail.
+#
+# The transport field specifies the name of a mail delivery
# transport (the first name of a mail delivery service entry
# in the Postfix master.cf file).
#
-# The interpretation of the nexthop field is transport
-# dependent. In the case of SMTP, specify host:service for a
-# non-default server port, and use [host] or [host]:port in
-# order to disable MX (mail exchanger) DNS lookups. The []
+# The interpretation of the nexthop field is transport
+# dependent. In the case of SMTP, specify a service on a
+# non-default port as host:service, and disable MX (mail
+# exchanger) DNS lookups with [host] or [host]:port. The []
# form is required when you specify an IP address instead of
# a hostname.
#
-# A null transport and null nexthop result means "do not
-# change": use the delivery transport and nexthop informa-
-# tion that would be used when the entire transport table
+# A null transport and null nexthop result means "do not
+# change": use the delivery transport and nexthop informa-
+# tion that would be used when the entire transport table
# did not exist.
#
-# A non-null transport field with a null nexthop field
+# A non-null transport field with a null nexthop field
# resets the nexthop information to the recipient domain.
#
-# A null transport field with non-null nexthop field does
+# A null transport field with non-null nexthop field does
# not modify the transport information.
#
# EXAMPLES
-# In order to deliver internal mail directly, while using a
-# mail relay for all other mail, specify a null entry for
-# internal destinations (do not change the delivery trans-
-# port or the nexthop information) and specify a wildcard
+# In order to deliver internal mail directly, while using a
+# mail relay for all other mail, specify a null entry for
+# internal destinations (do not change the delivery trans-
+# port or the nexthop information) and specify a wildcard
# for all other destinations.
#
# my.domain :
# .my.domain :
# * smtp:outbound-relay.my.domain
#
-# In order to send mail for foo.org and its subdomains via
-# the uucp transport to the UUCP host named foo:
+# In order to send mail for example.com and its subdomains
+# via the uucp transport to the UUCP host named example:
#
-# foo.org uucp:foo
-# .foo.org uucp:foo
+# example.com uucp:example
+# .example.com uucp:example
#
-# When no nexthop host name is specified, the destination
-# domain name is used instead. For example, the following
-# directs mail for user@foo.org via the slow transport to a
-# mail exchanger for foo.org. The slow transport could be
-# something that runs at most one delivery process at a
-# time:
+# When no nexthop host name is specified, the destination
+# domain name is used instead. For example, the following
+# directs mail for user@example.com via the slow transport
+# to a mail exchanger for example.com. The slow transport
+# could be configured to run at most one delivery process at
+# a time:
#
-# foo.org slow:
+# example.com slow:
#
# When no transport is specified, Postfix uses the transport
-# that matches the address domain class (see TRANSPORT FIELD
-# discussion above). The following sends all mail for
-# foo.org and its subdomains to host gateway.foo.org:
+# that matches the address domain class (see DESCRIPTION
+# above). The following sends all mail for example.com and
+# its subdomains to host gateway.example.com:
#
-# foo.org :[gateway.foo.org]
-# .foo.org :[gateway.foo.org]
+# example.com :[gateway.example.com]
+# .example.com :[gateway.example.com]
#
-# In the above example, the [] are used to suppress MX
-# lookups. The result would likely point to your local
-# machine.
+# In the above example, the [] suppress MX lookups. This
+# prevents mail routing loops when your machine is primary
+# MX host for example.com.
#
-# In the case of delivery via SMTP, one may specify host-
+# In the case of delivery via SMTP, one may specify host-
# name:service instead of just a host:
#
-# foo.org smtp:bar.org:2025
+# example.com smtp:bar.example:2025
#
-# This directs mail for user@foo.org to host bar.org port
-# 2025. Instead of a numerical port a symbolic name may be
-# used. Specify [] around the hostname in order to disable
-# MX lookups.
+# This directs mail for user@example.com to host bar.example
+# port 2025. Instead of a numerical port a symbolic name may
+# be used. Specify [] around the hostname if MX lookups must
+# be disabled.
#
# The error mailer can be used to bounce mail:
#
-# .foo.org error:mail for *.foo.org is not deliv-
-# erable
+# .example.com error:mail for *.example.com is not
+# deliverable
#
-# This causes all mail for user@anything.foo.org to be
+# This causes all mail for user@anything.example.com to be
# bounced.
#
# REGULAR EXPRESSION TABLES
-# This section describes how the table lookups change when
+# This section describes how the table lookups change when
# the table is given in the form of regular expressions. For
-# a description of regular expression lookup table syntax,
+# a description of regular expression lookup table syntax,
# see regexp_table(5) or pcre_table(5).
#
-# Each pattern is a regular expression that is applied to
-# the entire address being looked up. Thus,
-# some.domain.hierarchy is not looked up via its parent
-# domains, nor is user+foo@domain looked up as user@domain.
+# Each pattern is a regular expression that is applied to
+# the entire address being looked up. Thus,
+# some.domain.hierarchy is not looked up via its parent
+# domains, nor is user+foo@domain looked up as user@domain.
#
-# Patterns are applied in the order as specified in the
-# table, until a pattern is found that matches the search
+# Patterns are applied in the order as specified in the
+# table, until a pattern is found that matches the search
# string.
#
-# Results are the same as with indexed file lookups, with
-# the additional feature that parenthesized substrings from
+# Results are the same as with indexed file lookups, with
+# the additional feature that parenthesized substrings from
# the pattern can be interpolated as $1, $2 and so on.
#
# TCP-BASED TABLES
-# This section describes how the table lookups change when
+# This section describes how the table lookups change when
# lookups are directed to a TCP-based server. For a descrip-
-# tion of the TCP client/server lookup protocol, see
-# tcp_table(5). This feature is not available in Postfix
+# tion of the TCP client/server lookup protocol, see
+# tcp_table(5). This feature is not available in Postfix
# version 2.1.
#
-# Each lookup operation uses the entire recipient address
-# once. Thus, some.domain.hierarchy is not looked up via
-# its parent domains, nor is user+foo@domain looked up as
+# Each lookup operation uses the entire recipient address
+# once. Thus, some.domain.hierarchy is not looked up via
+# its parent domains, nor is user+foo@domain looked up as
# user@domain.
#
# Results are the same as with indexed file lookups.
#
# CONFIGURATION PARAMETERS
-# The following main.cf parameters are especially relevant.
-# The text below provides only a parameter summary. See
+# The following main.cf parameters are especially relevant.
+# The text below provides only a parameter summary. See
# postconf(5) for more details including examples.
#
# empty_address_recipient
-# The address that is looked up instead of the null
+# The address that is looked up instead of the null
# sender address.
#
# parent_domain_matches_subdomains
-# List of Postfix features that use domain.tld pat-
-# terns to match sub.domain.tld (as opposed to
+# List of Postfix features that use domain.tld pat-
+# terns to match sub.domain.tld (as opposed to
# requiring .domain.tld patterns).
#
# transport_maps
@@ -248,13 +251,13 @@
# postmap(1), Postfix lookup table manager
#
# README FILES
-# Use "postconf readme_directory" or "postconf html_direc-
+# Use "postconf readme_directory" or "postconf html_direc-
# tory" to locate this information.
# DATABASE_README, Postfix lookup table overview
# FILTER_README, external content filter
#
# LICENSE
-# The Secure Mailer license must be distributed with this
+# The Secure Mailer license must be distributed with this
# software.
#
# AUTHOR(S)
diff --git a/postfix/html/Makefile.in b/postfix/html/Makefile.in
index e7a7fc3df..043407236 100644
--- a/postfix/html/Makefile.in
+++ b/postfix/html/Makefile.in
@@ -11,7 +11,8 @@ COMMANDS= mailq.1.html newaliases.1.html postalias.1.html postcat.1.html \
postconf.1.html postfix.1.html postkick.1.html postlock.1.html \
postlog.1.html postdrop.1.html postmap.1.html sendmail.1.html \
postqueue.1.html postsuper.1.html smtp-source.1.html \
- smtp-sink.1.html qmqp-source.1.html qmqp-sink.1.html
+ smtp-sink.1.html qmqp-source.1.html qmqp-sink.1.html \
+ qshape.1.html
CONFIG = access.5.html aliases.5.html canonical.5.html relocated.5.html \
transport.5.html virtual.5.html pcre_table.5.html regexp_table.5.html \
cidr_table.5.html tcp_table.5.html header_checks.5.html \
@@ -201,6 +202,10 @@ qmqp-sink.1.html: ../src/smtpstone/qmqp-sink.c
PATH=../mantools:$$PATH; \
srctoman $? | $(AWK) | nroff -man | uniq | $(MAN2HTML) | postlink >$@
+qshape.1.html: ../auxiliary/qshape/qshape.pl
+ PATH=../mantools:$$PATH; \
+ srctoman - $? | $(AWK) | nroff -man | uniq | $(MAN2HTML) | postlink >$@
+
access.5.html: ../proto/access
PATH=../mantools:$$PATH; \
srctoman - $? | $(AWK) | nroff -man | uniq | $(MAN2HTML) | postlink >$@
diff --git a/postfix/html/PACKAGE_README.html b/postfix/html/PACKAGE_README.html
index 19027e3b5..3aa2a9361 100644
--- a/postfix/html/PACKAGE_README.html
+++ b/postfix/html/PACKAGE_README.html
@@ -118,17 +118,18 @@ on non-Postfix directories that need to be created in the process.
Create the necessary mail_owner account and setgid_group
group for exclusive use by Postfix.
- Execute the post-install script in the Postfix configuration
-directory to set ownership and permission of Postfix files and
-directories. Specify any non-default settings for mail_owner or
-setgid_group on the post-install command line:
+ Execute the postfix command to set ownership and permission
+of Postfix files and directories, and to update Postfix configuration
+files. If necessary, specify any non-default settings for mail_owner
+or setgid_group on the postfix command line:
-# sh post-install upgrade-package setgid_group=xxx mail_owner=yyy
+# postfix set-permissions upgrade-configuration \
+ setgid_group=xxx mail_owner=yyy
- This will also update the main.cf and master.cf files if
-necessary.
+ With Postfix versions before 2.1 you achieve the same result
+by invoking the post-install script directly.
diff --git a/postfix/html/QSHAPE_README.html b/postfix/html/QSHAPE_README.html
index ba9f161cc..c15d95efd 100644
--- a/postfix/html/QSHAPE_README.html
+++ b/postfix/html/QSHAPE_README.html
@@ -19,16 +19,18 @@
Purpose of this document
- This document describes the "qshape" program which helps the
+
This document describes the qshape(1) program which helps the
administrator understand the Postfix queue message distribution
-sorted by time and by sender or recipient domain. qshape is bundled
-with the Postfix 2.1 source under the "auxiliary" directory. In
-order to understand the output of qshape, it useful to understand
-the various Postfix queues. To this end the role of each Postfix
-queue directory is described briefly in the "Background info:
-Postfix queue directories" section near the end of this document.
+sorted by time and by sender or recipient domain. qshape(1) is
+bundled with the Postfix 2.1 source under the "auxiliary" directory.
+ In order to understand the output of qshape(1), it useful to
+understand the various Postfix queues. To this end the role of each
+Postfix queue directory is described briefly in the "Background
+info: Postfix queue directories" section near the end of this
+document.
+
This document covers the following topics:
When mail is draining slowly or the queue is unexpectedly large,
-run "qshape" as the super-user (root) to help zero in on the problem.
-The "qshape" program displays a tabular view of the Postfix queue
+run qshape(1) as the super-user (root) to help zero in on the problem.
+The qshape(1) program displays a tabular view of the Postfix queue
contents.
@@ -217,7 +219,7 @@ $ egrep 'qmgr.*(panic|fatal|error|warning):' /var/log/maillog
When all else fails try the Postfix mailing list for help, but
-please don't forget to include the top 10 or 20 lines of "qshape"
+please don't forget to include the top 10 or 20 lines of qshape(1)
output.
@@ -290,7 +292,7 @@ is the tail end of the time distribution, showing that short term
arrival rates are moderate. Larger numbers and lower message ages
are more indicative of current trouble. Old mail still going nowhere
is largely harmless so long as the active and incoming queues are
-short. We can also see that the groups.msg.com undeliverables are
+short. We can also see that the groups.msn.com undeliverables are
low rate steady stream rather than a concentrated dictionary attack
that is now over.
@@ -322,7 +324,7 @@ queues large and not shrinking despite very large delivery agent
process limits. The thread is archived at:
http://groups.google.com/groups?th=636626c645f5bbde
- Using an older version of "qshape" it was quickly determined
+
Using an older version of qshape(1) it was quickly determined
that all the messages were for just a few destinations:
@@ -780,7 +782,7 @@ queue flushes.
- The "qshape" program was developed by Victor Duchovni of Morgan
+
The qshape(1) program was developed by Victor Duchovni of Morgan
Stanley, who also wrote the initial version of this document.