diff --git a/postfix/COMPATIBILITY b/postfix/COMPATIBILITY index e9a27b111..494efe453 100644 --- a/postfix/COMPATIBILITY +++ b/postfix/COMPATIBILITY @@ -3,6 +3,7 @@ /usr/spool/mail yes (compile time option) /var/mail yes (compile time option) /var/spool/mail yes (compile time option) +8bitmime yes (including 8bit to quoted-printable conversion) :include: yes (mail to /file and |command is off by default) aliases yes (can enable/disable mail to /file or |command) bare newlines yes (but will send CRLF) @@ -14,7 +15,7 @@ delivered-to yes (configurable with prepend_delivered_header) dsn not yet (bounces have DSN form) errors-to: yes esmtp yes -etrn support yes (uses per-destination log or flushes entire queue) +etrn support yes (per-destination log for authorized destinations only) fcntl locking yes (runtime configurable) flock locking yes (runtime configurable) home mailbox yes @@ -28,7 +29,8 @@ mail to file yes (configurable for .forward, aliases, :include:) maildir yes (in home, system mailspool, /file/name/ alias) mailertable yes (it's called transport) mailq yes -majordomo yes (edit approve script to delete /delivered-to/i) +majordomo yes (edit approve script to delete /^delivered-to:/i) +mime yes (including 8bit to quoted-printable conversion) mime conversion not yet; postfix uses just-send-eight mysql tables yes (contributed) netinfo tables yes (contributed) diff --git a/postfix/HISTORY b/postfix/HISTORY index 4a33442ff..9d8a06eba 100644 --- a/postfix/HISTORY +++ b/postfix/HISTORY @@ -6592,6 +6592,23 @@ Apologies for any names omitted. Patch by Sebastian Schaffert @ wastl.net. File: global/deliver_pass.c. +20020604 + + Workaround: Solaris non-blocking read() can fail on a socket + with unread data according to ioctl FIONREAD. Incredible. + Diagnosis by Max Pashkov. File: smtp/smtp-sink.c. + + Weirdstuff: sender-based routing. This will become more + useful once per-address transport map entries are done. + File: src/qmgr/qmgr_message.c. + +20020605 + + Safety: header_address_token_limit limits the amount of + memory and CPU that we're willing to spend while parsing + addresses in message headers. The limit is expressed as a + number of tokens. File: global/tok822_parse.c + Open problems: Medium: old maildrop files are no longer readable by the diff --git a/postfix/INSTALL b/postfix/INSTALL index b0e551e2a..05f45601f 100644 --- a/postfix/INSTALL +++ b/postfix/INSTALL @@ -474,7 +474,7 @@ the Postfix queue directories (/var/spool/postfix). This provides a significant barrier against intrusion. The barrier is not impenetrable, but every little bit helps. -With the exception of the Postfix local delivery and `pipe' daemons, +With the exception of the Postfix daemons that deliver mail locally, every Postfix daemon can run chrooted. Sites with high security requirements should consider to chroot diff --git a/postfix/README_FILES/FILTER_README b/postfix/README_FILES/FILTER_README index d2c598cdc..3a8de5787 100644 --- a/postfix/README_FILES/FILTER_README +++ b/postfix/README_FILES/FILTER_README @@ -372,7 +372,7 @@ localhost:10026 inet n - n - - smtpd -o local_recipient_maps= -o virtual_maps= -o virtual_mailbox_maps= - -o cleanup_service=cleanup2 + -o cleanup_service_name=cleanup2 -o mynetworks=127.0.0.0/8 -o mynetworks_style=host -o smtpd_restriction_classes= diff --git a/postfix/conf/master.cf b/postfix/conf/master.cf index 2e5068f11..d7ae64c33 100644 --- a/postfix/conf/master.cf +++ b/postfix/conf/master.cf @@ -19,7 +19,8 @@ # # Unprivileged: whether the service runs with root privileges or as # the owner of the Postfix system (the owner name is controlled by the -# mail_owner configuration variable in the main.cf file). +# mail_owner configuration variable in the main.cf file). Only the +# pipe, virtual and local delivery daemons require privileges. # # Chroot: whether or not the service runs chrooted to the mail queue # directory (pathname is controlled by the queue_directory configuration @@ -87,10 +88,12 @@ lmtp unix - - n - - lmtp # # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. -# The Cyrus deliver program has changed incompatibly. +# The Cyrus deliver program has changed incompatibly, multiple times. # -cyrus unix - n n - - pipe +old-cyrus unix - n n - - pipe flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} +cyrus unix - n n - - pipe + user=cyrus argv=/cyrus/bin/deliver -e -r ${recipient} -m ${extension} ${user} uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) ifmail unix - n n - - pipe diff --git a/postfix/conf/pcre_table b/postfix/conf/pcre_table index fd020255f..6039eadee 100644 --- a/postfix/conf/pcre_table +++ b/postfix/conf/pcre_table @@ -47,21 +47,21 @@ # matching is case insensitive. # # m (default: off) -# Toggles the PCRE_MULTILINE flag. When the flag is +# Toggles the PCRE_MULTILINE flag. When this flag is # on, the ^ and $ metacharacters match immediately # after and immediately before a newline character, # respectively, in addition to matching at the start # and end of the subject string. # # s (default: on) -# Toggle the PCRE_DOTALL flag. When the flag is on, +# Toggles the PCRE_DOTALL flag. When this flag is on, # the . metacharacter matches the newline character. # With Postfix versions prior to 20020528, The flag # is off by default, which is inconvenient for multi- # line message header matching. # # x (default: off) -# Toggles the pcre extended flag. When the flag is +# Toggles the pcre extended flag. When this flag is # on, whitespace in the pattern (other than in a # character class) and characters between a # outside # a character class and the next newline character @@ -71,7 +71,7 @@ # # A (default: off) # Toggles the PCRE_ANCHORED flag. When this flag is -# set, the pattern is forced to be "anchored", that +# on, the pattern is forced to be "anchored", that # is, it is constrained to match only at the start of # the string which is being searched (the "subject # string"). This effect can also be achieved by @@ -79,7 +79,7 @@ # # E (default: off) # Toggles the PCRE_DOLLAR_ENDONLY flag. When this -# flag is set, a $ metacharacter in the pattern +# flag is on, a $ metacharacter in the pattern # matches only at the end of the subject string. # Without this flag, a dollar also matches immedi- # ately before the final character if it is a newline @@ -89,18 +89,18 @@ # # U (default: off) # Toggles the ungreedy matching flag. When this flag -# is set, the pattern matching engine inverts the +# is on, the pattern matching engine inverts the # "greediness" of the quantifiers so that they are # not greedy by default, but become greedy if fol- # lowed by "?". This flag can also set by a (?U) # modifier within the pattern. # # X (default: off) -# Toggles the PCRE_EXTRA flag. When this flag is -# set, any backslash in a pattern that is followed by -# a letter that has no special meaning causes an -# error, thus reserving these combinations for future -# expansion. +# Toggles the PCRE_EXTRA flag. When this flag is on, +# any backslash in a pattern that is followed by a +# letter that has no special meaning causes an error, +# thus reserving these combinations for future expan- +# sion. # # Each pattern is applied to the entire lookup key string. # Depending on the application, that string is an entire diff --git a/postfix/conf/sample-resource.cf b/postfix/conf/sample-resource.cf index 13c7211b5..c6cdbc32f 100644 --- a/postfix/conf/sample-resource.cf +++ b/postfix/conf/sample-resource.cf @@ -61,11 +61,18 @@ fork_attempts = 5 fork_delay = 1s # The header_size_limit parameter limits the amount of memory in -# bytes used for processing a message header. If a header is larger, -# the remainder of the entire message is treated as message body. +# bytes used for storing a message header. If a header is larger, +# the remainder of the header is descarded. # header_size_limit = 102400 +# The header_address_token_limit limits the amount of memory and CPU +# that Postfix will spend while rewriting addresses in message headers. +# The limit is expressed as a token count. Tokens beyond the limit are +# discarded. +# +header_address_token_limit = 10240 + # The line_length_limit parameter limits the amount of memory in # bytes used for handling input lines. Longer lines are chopped up # into pieces and reconstructed upon delivery. diff --git a/postfix/conf/sample-smtpd.cf b/postfix/conf/sample-smtpd.cf index cb36e4dc7..87273646e 100644 --- a/postfix/conf/sample-smtpd.cf +++ b/postfix/conf/sample-smtpd.cf @@ -125,7 +125,7 @@ strict_rfc821_envelopes = no # response. This prevents naive clients from going into an error - # disconnect - connect - error loop. # -smtpd_error_sleep_time = 5 +smtpd_error_sleep_time = 1s # The smtpd_soft_error_limit parameter specifies an error count lower # limit. When an SMTP client has made this number of errors within @@ -138,7 +138,7 @@ smtpd_soft_error_limit = 10 # limit. The SMTP server disconnects after an SMTP client makes this # number of errors within a session. # -smtpd_hard_error_limit = 100 +smtpd_hard_error_limit = 20 # # UCE RESTRICTIONS diff --git a/postfix/html/pcre_table.5.html b/postfix/html/pcre_table.5.html index bdf83fb85..b03d47107 100644 --- a/postfix/html/pcre_table.5.html +++ b/postfix/html/pcre_table.5.html @@ -48,21 +48,21 @@ PCRE_TABLE(5) PCRE_TABLE(5) matching is case insensitive. m (default: off) - Toggles the PCRE_MULTILINE flag. When the flag is + Toggles the PCRE_MULTILINE flag. When this flag is on, the ^ and $ metacharacters match immediately after and immediately before a newline character, respectively, in addition to matching at the start and end of the subject string. s (default: on) - Toggle the PCRE_DOTALL flag. When the flag is on, + Toggles the PCRE_DOTALL flag. When this flag is on, the . metacharacter matches the newline character. With Postfix versions prior to 20020528, The flag is off by default, which is inconvenient for multi- line message header matching. x (default: off) - Toggles the pcre extended flag. When the flag is + Toggles the pcre extended flag. When this flag is on, whitespace in the pattern (other than in a character class) and characters between a # outside a character class and the next newline character @@ -72,7 +72,7 @@ PCRE_TABLE(5) PCRE_TABLE(5) A (default: off) Toggles the PCRE_ANCHORED flag. When this flag is - set, the pattern is forced to be "anchored", that + on, the pattern is forced to be "anchored", that is, it is constrained to match only at the start of the string which is being searched (the "subject string"). This effect can also be achieved by @@ -80,7 +80,7 @@ PCRE_TABLE(5) PCRE_TABLE(5) E (default: off) Toggles the PCRE_DOLLAR_ENDONLY flag. When this - flag is set, a $ metacharacter in the pattern + flag is on, a $ metacharacter in the pattern matches only at the end of the subject string. Without this flag, a dollar also matches immedi- ately before the final character if it is a newline @@ -90,18 +90,18 @@ PCRE_TABLE(5) PCRE_TABLE(5) U (default: off) Toggles the ungreedy matching flag. When this flag - is set, the pattern matching engine inverts the + is on, the pattern matching engine inverts the "greediness" of the quantifiers so that they are not greedy by default, but become greedy if fol- lowed by "?". This flag can also set by a (?U) modifier within the pattern. X (default: off) - Toggles the PCRE_EXTRA flag. When this flag is - set, any backslash in a pattern that is followed by - a letter that has no special meaning causes an - error, thus reserving these combinations for future - expansion. + Toggles the PCRE_EXTRA flag. When this flag is on, + any backslash in a pattern that is followed by a + letter that has no special meaning causes an error, + thus reserving these combinations for future expan- + sion. Each pattern is applied to the entire lookup key string. Depending on the application, that string is an entire diff --git a/postfix/html/pipe.8.html b/postfix/html/pipe.8.html index 46f3cc5db..168c3d21b 100644 --- a/postfix/html/pipe.8.html +++ b/postfix/html/pipe.8.html @@ -252,8 +252,8 @@ PIPE(8) PIPE(8) Limit the time for delivery to external command, for delivery via the named transport. The default limit is taken from the command_time_limit parame- - ter. The limit is enforced by the Postfix queue - manager. + ter. The limit is enforced by the pipe delivery + agent. SEE ALSO bounce(8) non-delivery status reports diff --git a/postfix/html/postconf.1.html b/postfix/html/postconf.1.html index ef968e45c..c3c8038bc 100644 --- a/postfix/html/postconf.1.html +++ b/postfix/html/postconf.1.html @@ -73,22 +73,32 @@ POSTCONF(1) POSTCONF(1) is available only on systems with support for Berkeley DB databases. - ldap Perform lookups using the LDAP protocol. + ldap (read-only) + Perform lookups using the LDAP protocol. This is described in an LDAP_README file. - pcre A lookup table based on Perl Compatible Reg- - ular Expressions. The file format is + mysql (read-only) + Perform lookups using the MYSQL protocol. + This is described in a MYSQL_README file. + + pcre (read-only) + A lookup table based on Perl Compatible Reg- + ular Expressions. The file format is described in pcre_table(5). - regexp A lookup table based on regular expressions. - The file format is described in reg- - exp_table(5). + regexp (read-only) + A lookup table based on regular expressions. + The file format is described in reg- + exp_table(5). - static A table that always returns the same result. - For example, static:foobar always returns - the string foobar. + static (read-only) + A table that always returns its name as + lookup result. For example, static:foobar + always returns the string foobar as lookup + result. - unix A limited way to query the UNIX authentica- + unix (read-only) + A limited way to query the UNIX authentica- tion database. The following tables are implemented: diff --git a/postfix/html/postdrop.1.html b/postfix/html/postdrop.1.html index d45e5188f..be2201642 100644 --- a/postfix/html/postdrop.1.html +++ b/postfix/html/postdrop.1.html @@ -51,7 +51,7 @@ POSTDROP(1) POSTDROP(1) alternate_config_directories configuration parame- ter value. - Only the super-user is allowed to specify arbitrary + Only the superuser is allowed to specify arbitrary directory names. FILES diff --git a/postfix/html/postfix.1.html b/postfix/html/postfix.1.html index 2254bd621..78adcb06a 100644 --- a/postfix/html/postfix.1.html +++ b/postfix/html/postfix.1.html @@ -8,7 +8,7 @@ POSTFIX(1) POSTFIX(1) postfix [-c config_dir] [-D] [-v] command DESCRIPTION - This command is reserved for the super-user. To submit + This command is reserved for the superuser. To submit mail, use the Postfix sendmail command. The postfix command controls the operation of the Postfix diff --git a/postfix/html/postqueue.1.html b/postfix/html/postqueue.1.html index c5ba1927a..8540fa965 100644 --- a/postfix/html/postqueue.1.html +++ b/postfix/html/postqueue.1.html @@ -69,7 +69,7 @@ POSTQUEUE(1) POSTQUEUE(1) alternate_config_directories configuration parame- ter value. - Only the super-user is allowed to specify arbitrary + Only the superuser is allowed to specify arbitrary directory names. FILES diff --git a/postfix/html/postsuper.1.html b/postfix/html/postsuper.1.html index d4dbb09a5..44642dbb6 100644 --- a/postfix/html/postsuper.1.html +++ b/postfix/html/postsuper.1.html @@ -1,5 +1,4 @@
- POSTSUPER(1) POSTSUPER(1) NAME @@ -11,7 +10,7 @@ POSTSUPER(1) POSTSUPER(1) DESCRIPTION The postsuper command does maintenance jobs on the Postfix - queue. Use of the command is restricted to the super-user. + queue. Use of the command is restricted to the superuser. By default, postsuper performs the operations requested with the -s and -p command-line options on all Postfix @@ -135,6 +134,5 @@ POSTSUPER(1) POSTSUPER(1) P.O. Box 704 Yorktown Heights, NY 10598, USA - 1 - + POSTSUPER(1)diff --git a/postfix/html/rate.html b/postfix/html/rate.html index 576c06560..11fa2dc43 100644 --- a/postfix/html/rate.html +++ b/postfix/html/rate.html @@ -360,7 +360,7 @@ client. The behavior is controlled by the following parameters: -
+
+