diff --git a/postfix/HISTORY b/postfix/HISTORY index 3911a4883..7e074741d 100644 --- a/postfix/HISTORY +++ b/postfix/HISTORY @@ -15602,3 +15602,16 @@ Apologies for any names omitted. Final slution for the I/O event starvation problem when a timer call-back schedules a zero-delay timer request. File: util/events.c. + +20091231 + + Cleanup: the non-shared, in-memory hash table is now + accessible as the "internal:" map type. This simplifies + code by eliminating some special cases. Files: util/dict_ht.c, + util/dict_open.c, and documentation. + +20100101 + + Bugfix: the mantools/postlink script applied hyperlinks + for the "virtual:" transport to "/etc/postfix/virtual:". + Symptom reported by Christoph Anton Mitterer. diff --git a/postfix/README_FILES/DATABASE_README b/postfix/README_FILES/DATABASE_README index 31796e0a6..284f391e5 100644 --- a/postfix/README_FILES/DATABASE_README +++ b/postfix/README_FILES/DATABASE_README @@ -204,6 +204,9 @@ To find out what database types your Postfix system supports, use the "ppooss created with the postmap(1) or postalias(1) command. The database name as used in "hash:table" is the database file name without the ".db" suffix. + iinntteerrnnaall + A non-shared, in-memory hash table. Its content are lost when a process + terminates. llddaapp (read-only) Perform lookups using the LDAP protocol. Configuration details are given in the ldap_table(5). diff --git a/postfix/RELEASE_NOTES b/postfix/RELEASE_NOTES index 95f1d77df..2782086a5 100644 --- a/postfix/RELEASE_NOTES +++ b/postfix/RELEASE_NOTES @@ -14,7 +14,7 @@ specifies the release date of a stable release or snapshot release. If you upgrade from Postfix 2.5 or earlier, read RELEASE_NOTES-2.6 before proceeding. -Incompatibility with snapshot 20091229 +Incompatibility with snapshot 20100101 ====================================== The verify(8) service now uses a persistent cache by default @@ -24,9 +24,9 @@ disable, specify "address_verify_map =" in main.cf. When periodic cache cleanup is enabled (the default), the postscreen(8) and verify(8) servers now require that their cache databases support the "delete" and "sequence" operations. To disable periodic cache -cleanup specify a zero xxx_cache_cleanup_interval. +cleanup specify a zero xxx_cache_cleanup_interval value. -Major changes with snapshot 20091229 +Major changes with snapshot 20100101 ==================================== Periodic cache cleanup for the postscreen(8) and verify(8) cache diff --git a/postfix/html/ADDRESS_REWRITING_README.html b/postfix/html/ADDRESS_REWRITING_README.html index 609060dea..e934bf310 100644 --- a/postfix/html/ADDRESS_REWRITING_README.html +++ b/postfix/html/ADDRESS_REWRITING_README.html @@ -785,7 +785,7 @@ commas.

/etc/postfix/main.cf: virtual_alias_maps = hash:/etc/postfix/virtual -/etc/postfix/virtual: +/etc/postfix/virtual: Wietse.Venema wietse diff --git a/postfix/html/DATABASE_README.html b/postfix/html/DATABASE_README.html index 642ce78c4..5d85c8bee 100644 --- a/postfix/html/DATABASE_README.html +++ b/postfix/html/DATABASE_README.html @@ -299,6 +299,11 @@ created with the postmap(1) or +
internal
+ +
A non-shared, in-memory hash table. Its content are lost when +a process terminates.
+
ldap (read-only)
Perform lookups using the LDAP protocol. Configuration details diff --git a/postfix/html/MULTI_INSTANCE_README.html b/postfix/html/MULTI_INSTANCE_README.html index 502b22da4..9bd65467f 100644 --- a/postfix/html/MULTI_INSTANCE_README.html +++ b/postfix/html/MULTI_INSTANCE_README.html @@ -211,7 +211,7 @@ href="STANDARD_CONFIGURATION_README.html#null_client">null client: # root mtaadmin+root=mta1 -/etc/postfix/virtual: +/etc/postfix/virtual: # Caretaker aliases: # root mtaadmin diff --git a/postfix/html/SOHO_README.html b/postfix/html/SOHO_README.html index 2e22103b4..6d59437bc 100644 --- a/postfix/html/SOHO_README.html +++ b/postfix/html/SOHO_README.html @@ -180,7 +180,7 @@ discussed the first half of this document.

9 /etc/postfix/canonical: 10 your-login-name your-account@your-isp.com 11 -12 /etc/postfix/virtual: +12 /etc/postfix/virtual: 13 your-account@your-isp.com your-login-name diff --git a/postfix/html/STANDARD_CONFIGURATION_README.html b/postfix/html/STANDARD_CONFIGURATION_README.html index bb746e369..90a42fdf6 100644 --- a/postfix/html/STANDARD_CONFIGURATION_README.html +++ b/postfix/html/STANDARD_CONFIGURATION_README.html @@ -319,7 +319,7 @@ All the mail to these two accounts is forwarded to an inside address. 1 /etc/postfix/main.cf: 2 virtual_alias_maps = hash:/etc/postfix/virtual 3 -4 /etc/postfix/virtual: +4 /etc/postfix/virtual: 5 postmaster postmaster@example.com 6 abuse abuse@example.com @@ -425,7 +425,7 @@ follows:

1 /etc/postfix/main.cf: 2 virtual_alias_maps = hash:/etc/postfix/virtual 3 -4 /etc/postfix/virtual: +4 /etc/postfix/virtual: 5 root root@localhost 6 . . . @@ -785,7 +785,7 @@ discussed the first half of this document.

9 /etc/postfix/canonical: 10 your-login-name your-account@your-isp.com 11 -12 /etc/postfix/virtual: +12 /etc/postfix/virtual: 13 your-account@your-isp.com your-login-name diff --git a/postfix/html/VIRTUAL_README.html b/postfix/html/VIRTUAL_README.html index 6b0d3abc0..9af7adbb8 100644 --- a/postfix/html/VIRTUAL_README.html +++ b/postfix/html/VIRTUAL_README.html @@ -167,7 +167,7 @@ below shows how to use this mechanism for the example.com domain. 2 virtual_alias_domains = example.com ...other hosted domains... 3 virtual_alias_maps = hash:/etc/postfix/virtual 4 - 5 /etc/postfix/virtual: + 5 /etc/postfix/virtual: 6 postmaster@example.com postmaster 7 info@example.com joe 8 sales@example.com jane @@ -271,7 +271,7 @@ section at the top of this document.

14 # @example.com example.com/catchall 15 ...virtual mailboxes for more domains... 16 -17 /etc/postfix/virtual: +17 /etc/postfix/virtual: 18 postmaster@example.com postmaster @@ -389,7 +389,7 @@ to a non-Postfix delivery agent:

12 # @example.com whatever 13 ...virtual mailboxes for more domains... 14 -15 /etc/postfix/virtual: +15 /etc/postfix/virtual: 16 postmaster@example.com postmaster @@ -486,7 +486,7 @@ as a mail forwarding domain:

2 virtual_alias_domains = example.com ...other hosted domains... 3 virtual_alias_maps = hash:/etc/postfix/virtual 4 - 5 /etc/postfix/virtual: + 5 /etc/postfix/virtual: 6 postmaster@example.com postmaster 7 joe@example.com joe@somewhere 8 jane@example.com jane@somewhere-else @@ -553,7 +553,7 @@ virtual addresses to the local delivery agent:

/etc/postfix/main.cf: virtual_alias_maps = hash:/etc/postfix/virtual -/etc/postfix/virtual: +/etc/postfix/virtual: listname-request@example.com listname-request listname@example.com listname owner-listname@example.com owner-listname @@ -601,7 +601,7 @@ table:

/etc/postfix/main.cf: virtual_alias_maps = hash:/etc/postfix/virtual -/etc/postfix/virtual: +/etc/postfix/virtual: user@domain.tld user@domain.tld, user@domain.tld@autoreply.mydomain.tld diff --git a/postfix/html/postconf.1.html b/postfix/html/postconf.1.html index 0a12cb196..8a4041dd3 100644 --- a/postfix/html/postconf.1.html +++ b/postfix/html/postconf.1.html @@ -140,67 +140,71 @@ POSTCONF(1) POSTCONF(1) is available on systems with support for Berkeley DB databases. + internal + A non-shared, in-memory hash table. Its con- + tent are lost when a process terminates. + ldap (read-only) - Perform lookups using the LDAP protocol. + Perform lookups using the LDAP protocol. This is described in ldap_table(5). mysql (read-only) - Perform lookups using the MYSQL protocol. + Perform lookups using the MYSQL protocol. This is described in mysql_table(5). pcre (read-only) A lookup table based on Perl Compatible Reg- - ular Expressions. The file format is + ular Expressions. The file format is described in pcre_table(5). pgsql (read-only) - Perform lookups using the PostgreSQL proto- + Perform lookups using the PostgreSQL proto- col. This is described in pgsql_table(5). proxy (read-only) - A lookup table that is implemented via the - Postfix proxymap(8) service. The table name + A lookup table that is implemented via the + Postfix proxymap(8) service. The table name syntax is type:name. regexp (read-only) A lookup table based on regular expressions. - The file format is described in regexp_ta- + The file format is described in regexp_ta- ble(5). sdbm An indexed file type based on hashing. This - is available on systems with support for + is available on systems with support for SDBM databases. static (read-only) - A table that always returns its name as - lookup result. For example, static:foobar - always returns the string foobar as lookup + A table that always returns its name as + lookup result. For example, static:foobar + always returns the string foobar as lookup result. tcp (read-only) Perform lookups using a simple request-reply - protocol that is described in tcp_table(5). + protocol that is described in tcp_table(5). This feature is not included with the stable Postfix release. unix (read-only) - A limited way to query the UNIX authentica- + A limited way to query the UNIX authentica- tion database. The following tables are implemented: unix:passwd.byname - The table is the UNIX password data- - base. The key is a login name. The - result is a password file entry in + The table is the UNIX password data- + base. The key is a login name. The + result is a password file entry in passwd(5) format. unix:group.byname The table is the UNIX group database. - The key is a group name. The result - is a group file entry in group(5) + The key is a group name. The result + is a group file entry in group(5) format. - Other table types may exist depending on how Post- + Other table types may exist depending on how Post- fix was built. -n Print parameter settings that are not left at their @@ -209,29 +213,29 @@ POSTCONF(1) POSTCONF(1) -t [template_file] Display the templates for delivery status notifica- - tion (DSN) messages. To override the built-in tem- - plates, specify a template file at the end of the + tion (DSN) messages. To override the built-in tem- + plates, specify a template file at the end of the command line, or specify a template file in main.cf - with the bounce_template_file parameter. To force - selection of the built-in templates, specify an + with the bounce_template_file parameter. To force + selection of the built-in templates, specify an empty template file name (in shell language: ""). - This feature is available with Postfix 2.3 and + This feature is available with Postfix 2.3 and later. -v Enable verbose logging for debugging purposes. Mul- - tiple -v options make the software increasingly + tiple -v options make the software increasingly verbose. - -# Edit the main.cf configuration file. The file is + -# Edit the main.cf configuration file. The file is copied to a temporary file then renamed into place. - The parameters specified on the command line are + The parameters specified on the command line are commented-out, so that they revert to their default - values. Specify a list of parameter names, not - name=value pairs. There is no postconf command to + values. Specify a list of parameter names, not + name=value pairs. There is no postconf command to perform the reverse operation. - This feature is available with Postfix 2.6 and + This feature is available with Postfix 2.6 and later. DIAGNOSTICS @@ -242,18 +246,18 @@ POSTCONF(1) POSTCONF(1) Directory with Postfix configuration files. CONFIGURATION PARAMETERS - The following main.cf parameters are especially relevant + The following main.cf parameters are especially relevant to this program. - The text below provides only a parameter summary. See + The text below provides only a parameter summary. See postconf(5) for more details including examples. config_directory (see 'postconf -d' output) - The default location of the Postfix main.cf and + The default location of the Postfix main.cf and master.cf configuration files. bounce_template_file (empty) - Pathname of a configuration file with bounce mes- + Pathname of a configuration file with bounce mes- sage templates. FILES @@ -267,7 +271,7 @@ POSTCONF(1) POSTCONF(1) DATABASE_README, Postfix lookup table overview 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/postconf.5.html b/postfix/html/postconf.5.html index 83c9a2abe..9bae584ca 100644 --- a/postfix/html/postconf.5.html +++ b/postfix/html/postconf.5.html @@ -12226,6 +12226,9 @@ access restriction is specified. This prevents the Postfix queue from filling up with undeliverable MAILER-DAEMON messages.

+

An address is always considered "known" when it matches a +virtual(5) alias or a canonical(5) mapping. +

+
internal
+ +
A non-shared, in-memory hash table. Its content are lost when +a process terminates.
+
ldap (read-only)
Perform lookups using the LDAP protocol. Configuration details diff --git a/postfix/proto/postconf.proto b/postfix/proto/postconf.proto index 5cb6237b2..46070e5d9 100644 --- a/postfix/proto/postconf.proto +++ b/postfix/proto/postconf.proto @@ -7846,6 +7846,9 @@ access restriction is specified. This prevents the Postfix queue from filling up with undeliverable MAILER-DAEMON messages.

+

An address is always considered "known" when it matches a +virtual(5) alias or a canonical(5) mapping. +