]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.2-20050211
authorWietse Venema <wietse@porcupine.org>
Fri, 11 Feb 2005 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <viktor@dukhovni.org>
Tue, 5 Feb 2013 06:30:42 +0000 (06:30 +0000)
50 files changed:
postfix/COMPATIBILITY
postfix/HISTORY
postfix/README_FILES/ADDRESS_REWRITING_README
postfix/README_FILES/STANDARD_CONFIGURATION_README
postfix/RELEASE_NOTES
postfix/conf/aliases
postfix/conf/canonical
postfix/conf/generic [moved from postfix/conf/generics with 86% similarity]
postfix/conf/postfix-files
postfix/conf/virtual
postfix/html/ADDRESS_REWRITING_README.html
postfix/html/Makefile.in
postfix/html/STANDARD_CONFIGURATION_README.html
postfix/html/aliases.5.html
postfix/html/canonical.5.html
postfix/html/generic.5.html [moved from postfix/html/generics.5.html with 84% similarity]
postfix/html/postconf.5.html
postfix/html/postfix-manuals.html
postfix/html/postfix.1.html
postfix/html/smtp.8.html
postfix/html/virtual.5.html
postfix/man/Makefile.in
postfix/man/man1/postfix.1
postfix/man/man5/aliases.5
postfix/man/man5/canonical.5
postfix/man/man5/generic.5 [moved from postfix/man/man5/generics.5 with 90% similarity]
postfix/man/man5/postconf.5
postfix/man/man5/virtual.5
postfix/man/man8/smtp.8
postfix/mantools/manlint.stop
postfix/mantools/postlink
postfix/proto/ADDRESS_REWRITING_README.html
postfix/proto/Makefile.in
postfix/proto/STANDARD_CONFIGURATION_README.html
postfix/proto/aliases
postfix/proto/canonical
postfix/proto/generic [moved from postfix/proto/generics with 90% similarity]
postfix/proto/postconf.proto
postfix/proto/stop
postfix/proto/virtual
postfix/src/bounce/bounce_notify_util.c
postfix/src/global/ext_prop.c
postfix/src/global/ext_prop.h
postfix/src/global/mail_params.h
postfix/src/global/mail_version.h
postfix/src/postfix/postfix.c
postfix/src/smtp/smtp.c
postfix/src/smtp/smtp.h
postfix/src/smtp/smtp_proto.c
postfix/src/tls/tls_scache.c

index 4ee0668defdcd9fb99a40e1babcf4abb8c642175..f0c27f2e0c9a5a936f7bb3770843c3533977ff3b 100644 (file)
@@ -18,7 +18,7 @@ esmtp         yes
 etrn support   yes (per-destination log for authorized destinations only)
 fcntl locking  yes (runtime configurable)
 flock locking  yes (runtime configurable)
-genericstable  no  (to be done)
+genericstable  yes (Postfix 2.2 generic(5) table)
 greylist       yes (delegated policy script)
 home mailbox   yes
 ident lookup   no
index 0f56857b0adf3e54015f05204b9cb45ff2cc80bd..0c03540b55969d9045d563b7b9bef3b74bfa6c3c 100644 (file)
@@ -10274,7 +10274,7 @@ Apologies for any names omitted.
        the mx_session_limit setting. File: smtp/smtp_connect.c.
 
        Feature: output address rewriting in the SMTP client. The
-       smtp_generics_maps parameter specifies an address mapping
+       smtp_generic_maps parameter specifies an address mapping
        that happens only when mail is delivered via SMTP. This is
        typically used for hosts without a valid domain name, that
        use something like localdomain.local instead.  This feature
@@ -10288,7 +10288,7 @@ Apologies for any names omitted.
 
 20050207
 
-       Documentation: added a generics(5) manual page for consistency
+       Documentation: added a generic(5) manual page for consistency
        with the already existing table driven mechanisms, added
        references to or examples of the new generic mapping.
 
@@ -10324,17 +10324,17 @@ Apologies for any names omitted.
 
 20050209
 
-       Cleanup: the smtp generics mapping did syntax check on the
+       Cleanup: the smtp generic mapping did syntax check on the
        input address instead of the result. These tests were not
        going to be useful in any case, because mail_addr_map()
        canonicalizes the lookup result, including @dom1->@dom2
        mapping. File:  smtp_map11.c.
 
-       Cleanup: made the generics mapping documentation consistent
+       Cleanup: made the generic mapping documentation consistent
        with the implementation.
 
        Cleanup: documented the myorigin/mydomain address rewriting
-       in canonical, generics and virtual alias maps.
+       in canonical, generic and virtual alias maps.
 
 20050210
 
@@ -10346,17 +10346,25 @@ Apologies for any names omitted.
        Duchovni.  File: tls/tls_scache.c.
 
        Safety: delete-behind when removing expired entries from
-       TLS session caches. Some maps mis-behave when the current
-       entry is deleted. File: tls/tls_scache.c.
+       TLS session caches. With some maps the enumeration method
+       mis-behaves when the current entry is deleted. File:
+       tls/tls_scache.c.
+
+20040211
+
+       Cleanup: the "generics" feature (output address rewriting)
+       is renamed to "generic", for consistency with "canonical"
+       and "virtual".
 
 Open problems:
 
+       Low: 9kbyte memory leak when an expired in-memory session
+       is removed by SSL_CTX_flush_sessions(). The occurrance of
+       this is rare enough that it is a low priority.
+
        Med: local and remote source port and IP address for smtpd
        policy hook.
 
-       Med: should "generics" be "generic", for consistency with
-       "canonical" and "virtual".
-
        Med: canonical/generic/virtual mapping always append
        myorigin/mydomain and never remote_header_rewrite_domain;
        this needs to be clear from documentation.
index d3f3e0f4577526b9db606265e6ead417cf259844..b91a9a7254adc4dfb6760bbea690f148783b347b 100644 (file)
@@ -160,9 +160,9 @@ table will help you to quickly find what you need.
     |users table |all mail|rewrite |relocated_maps      |none                    |
     |            |        |(8)     |                    |                        |
     |_\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b|_\b _\b _\b _\b _\b _\b _\b _\b _\b|_\b _\b _\b _\b _\b _\b _\b _\b _\b|_\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b|_\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b |
-    |Generics    |outgoing|        |                    |                        |
-    |table       |SMTP    |smtp(8) |smtp_generics_maps  |none                    |
-    |            |mail    |        |                    |                        |
+    |Generic     |outgoing|        |                    |                        |
+    |mapping     |SMTP    |smtp(8) |smtp_generic_maps   |none                    |
+    |table       |mail    |        |                    |                        |
     |_\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b|_\b _\b _\b _\b _\b _\b _\b _\b _\b|_\b _\b _\b _\b _\b _\b _\b _\b _\b|_\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b|_\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b _\b |
     |Local alias |all mail|local(8)|alias_maps          |none                    |
     |database    |        |        |                    |                        |
@@ -607,9 +607,9 @@ localdomain.local. This can be a problem when you want to send mail over the
 Internet, because many mail servers reject mail addresses with invalid domain
 names.
 
-With the smtp_generics_maps parameter you can specify generics(5) lookup tables
+With the smtp_generic_maps parameter you can specify generic(5) lookup tables
 that replace local mail addresses by valid Internet addresses when mail leaves
-the machine via SMTP. The generics(5) mapping replaces envelope and header
+the machine via SMTP. The generic(5) mapping replaces envelope and header
 addresses, and is non-recursive. It does not happen when you send mail between
 addresses on the local machine.
 
@@ -618,9 +618,9 @@ This feature is available in Postfix version 2.2 and later.
 Example:
 
     /etc/postfix/main.cf:
-        smtp_generics_maps = hash:/etc/postfix/generics
+        smtp_generic_maps = hash:/etc/postfix/generic
 
-    /etc/postfix/generics:
+    /etc/postfix/generic:
         his@localdomain.local          hisaccount@hisisp.example
         her@localdomain.local          heraccount@herisp.example
         @localdomain.local                     hisaccount+local@hisisp.example
index fc4dd6ce8c6a669a5fb8ca1aa5ee4bd81812c379..627ca056dc217696bb2af3bba4b98b718248d4da 100644 (file)
@@ -517,7 +517,7 @@ Postfix version you have, execute the command "p\bpo\bos\bst\btc\bco\bon\bnf\bf m\bma\bai\b
 
 P\bPo\bos\bst\btf\bfi\bix\bx v\bve\ber\brs\bsi\bio\bon\bn 2\b2.\b.2\b2 a\ban\bnd\bd l\bla\bat\bte\ber\br
 
-Postfix 2.2 uses the generics(5) address mapping to replace local fantasy email
+Postfix 2.2 uses the generic(5) address mapping to replace local fantasy email
 addresses by valid Internet addresses. This mapping happens ONLY when mail
 leaves the machine; not when you send mail between users on the same machine.
 
@@ -526,9 +526,9 @@ this with basic configuration information as discussed the first half of this
 document.
 
     1 /etc/postfix/main.cf:
-    2     smtp_generics_maps = hash:/etc/postfix/generics
+    2     smtp_generic_maps = hash:/etc/postfix/generic
     3
-    4 /etc/postfix/generics:
+    4 /etc/postfix/generic:
     5     his@localdomain.local             hisaccount@hisisp.example
     6     her@localdomain.local             heraccount@herisp.example
     7     @localdomain.local                hisaccount+local@hisisp.example
@@ -546,8 +546,8 @@ When mail is sent to a remote host via SMTP:
 Specify d\bdb\bbm\bm instead of h\bha\bas\bsh\bh if your system uses d\bdb\bbm\bm files instead of d\bdb\bb files.
 To find out what lookup tables Postfix supports, use the command "p\bpo\bos\bst\btc\bco\bon\bnf\bf -\b-m\bm".
 
-Execute the command "p\bpo\bos\bst\btm\bma\bap\bp /\b/e\bet\btc\bc/\b/p\bpo\bos\bst\btf\bfi\bix\bx/\b/g\bge\ben\bne\ber\bri\bic\bcs\bs" whenever you change the
-generics table.
+Execute the command "p\bpo\bos\bst\btm\bma\bap\bp /\b/e\bet\btc\bc/\b/p\bpo\bos\bst\btf\bfi\bix\bx/\b/g\bge\ben\bne\ber\bri\bic\bc" whenever you change the
+generic table.
 
 P\bPo\bos\bst\btf\bfi\bix\bx v\bve\ber\brs\bsi\bio\bon\bn 2\b2.\b.1\b1 a\ban\bnd\bd e\bea\bar\brl\bli\bie\ber\br
 
index 6a1e121447bb3df65d8dd56d22c45a6bb6ce82b6..a4d2ff29bfe8a61b7c96578da3c85da7bb63979d 100644 (file)
@@ -7,6 +7,12 @@ 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 with snapshot Postfix-2.2-20050211
+================================================
+
+The "generics" table feature is renamed to "generic", for consistency
+with other Postfix table names which are also singular.
+
 Major changes with snapshot Postfix-2.2-20050209
 ================================================
 
@@ -28,18 +34,18 @@ for sites that have no valid Internet domain name, and that use a
 domain name such as localdomain.local instead. Mail addresses that
 use such domain names are often rejected by mail servers.  
 
-The new smtp_generics_maps feature allows you to replace local mail
+The new smtp_generic_maps feature allows you to replace local mail
 addresses by valid Internet addresses when mail is sent across the
 Internet.  It has no effect on mail that is sent between accounts
-on the local machine. The syntax is described in generics(5) and
+on the local machine. The syntax is described in generic(5) and
 a detailed example is in the STANDARD_CONFIGURATION_README file.
 
 Example:
 
 /etc/postfix/main.cf:
-    smtp_generics_maps = hash:/etc/postfix/generics
+    smtp_generic_maps = hash:/etc/postfix/generic
 
-/etc/postfix/generics:
+/etc/postfix/generic:
     you@localdomain.local              youraccount@yourisp.net
     her@localdomain.local              heraccount@herisp.net
     @localdomain.local                 youraccount+local@yourisp.net
index b13f4047ce8139094998b9db4cda00df50cf0ae2..6738a155da4baadbbc227f8ce925c4fe2fc4d6a9 100644 (file)
@@ -181,7 +181,7 @@ decode:             root
 #               nisms that propagate an address extension from  the
 #               original  address  to  the  result. Specify zero or
 #               more  of  canonical,   virtual,   alias,   forward,
-#               include, or generics.
+#               include, or generic.
 # 
 #        owner_request_special
 #               Give  special treatment to owner-listname and list-
index 2d3e2b06c18862635ed73959c37d11d12ab13060..9f245bc35fdc6bbb537b64dc56885f89e65352bf 100644 (file)
 #               nisms that propagate an address extension from  the
 #               original  address  to  the result.  Specify zero or
 #               more  of  canonical,   virtual,   alias,   forward,
-#               include, or generics.
+#               include, or generic.
 # 
 #        Other parameters of interest:
 # 
similarity index 86%
rename from postfix/conf/generics
rename to postfix/conf/generic
index 0a77b3b997af88cc619a08210222485444f44889..101d304a411dbe44eba73ac4b1578b66dc6aa46b 100644 (file)
@@ -1,39 +1,39 @@
-# GENERICS(5)                                           GENERICS(5)
+# GENERIC(5)                                             GENERIC(5)
 # 
 # NAME
-#        generics - Postfix generics table format
+#        generic - Postfix generic table format
 # 
 # SYNOPSIS
-#        postmap /etc/postfix/generics
+#        postmap /etc/postfix/generic
 # 
-#        postmap -q "string" /etc/postfix/generics
+#        postmap -q "string" /etc/postfix/generic
 # 
-#        postmap -q - /etc/postfix/generics <inputfile
+#        postmap -q - /etc/postfix/generic <inputfile
 # 
 # DESCRIPTION
-#        The  optional  generics(5) table specifies an address map-
-#        ping that applies when mail  is  delivered.  This  is  the
-#        opposite  of canonical(5) mapping, which applies when mail
-#        is received.
+#        The optional generic(5) table specifies an address mapping
+#        that applies when mail is delivered. This is the  opposite
+#        of  canonical(5)  mapping,  which  applies  when  mail  is
+#        received.
 # 
-#        Typically, one would use the generics(5) table on a system
+#        Typically, one would use the generic(5) table on a  system
 #        that  does  not have a valid Internet domain name and that
-#        uses something like localdomain.local instead.  The gener-
-#        ics(5)  table is then used by the smtp(8) client to trans-
-#        form  local  mail  addresses  into  valid  Internet   mail
+#        uses  something  like  localdomain.local   instead.    The
+#        generic(5)  table  is  then  used by the smtp(8) client to
+#        transform local mail addresses into  valid  Internet  mail
 #        addresses  when  mail  has to be sent across the Internet.
 #        See the EXAMPLE section at the end of this document.
 # 
-#        The  generics(5)  mapping  affects  both  message   header
+#        The  generic(5)  mapping  affects  both   message   header
 #        addresses (i.e. addresses that appear inside messages) and
 #        message envelope addresses  (for  example,  the  addresses
 #        that are used in SMTP protocol commands).
 # 
-#        Normally,  the  generics(5)  table  is specified as a text
-#        file that serves as input to the postmap(1) command.   The
+#        Normally, the generic(5) table is specified as a text file
+#        that serves as  input  to  the  postmap(1)  command.   The
 #        result,  an  indexed file in dbm or db format, is used for
 #        fast searching by the mail  system.  Execute  the  command
-#        "postmap  /etc/postfix/generics"  in  order to rebuild the
+#        "postmap  /etc/postfix/generic"  in  order  to rebuild the
 #        indexed file after changing the text file.
 # 
 #        When the table is provided via other means  such  as  NIS,
 #        that the ISP supports "+" style address extensions).
 # 
 #        /etc/postfix/main.cf:
-#                smtp_generics_maps = hash:/etc/postfix/generics
+#                smtp_generic_maps = hash:/etc/postfix/generic
 # 
-#        /etc/postfix/generics:
+#        /etc/postfix/generic:
 #                his@localdomain.local   hisaccount@hisisp.example
 #                her@localdomain.local   heraccount@herisp.example
 #                @localdomain.local      hisaccount+local@hisisp.example
 # 
-#        Execute the command "postmap /etc/postfix/generics"  when-
+#        Execute the command "postmap  /etc/postfix/generic"  when-
 #        ever  the table is changed.  Instead of hash, some systems
 #        use dbm database files. To find out what tables your  sys-
 #        tem supports use the command "postconf -m".
 #        The  text  below  provides  only  a parameter summary. See
 #        postconf(5) for more details including examples.
 # 
-#        smtp_generics_maps
+#        smtp_generic_maps
 #               Address  mapping  lookup  table  for  envelope  and
 #               header  sender and recipient addresses while deliv-
 #               ering mail via SMTP.
 #               nisms  that propagate an address extension from the
 #               original address to the result.   Specify  zero  or
 #               more   of   canonical,   virtual,  alias,  forward,
-#               include, or generics.
+#               include, or generic.
 # 
 #        Other parameters of interest:
 # 
 #        P.O. Box 704
 #        Yorktown Heights, NY 10598, USA
 # 
-#                                                       GENERICS(5)
+#                                                        GENERIC(5)
index f7a5e805fb0708c2bea86cca4ca3195fe5c4488d..16127a5d574c7b152a8ac1dbef0617a28e02901f 100644 (file)
@@ -106,7 +106,8 @@ $config_directory/access:f:root:-:644:p
 $config_directory/aliases:f:root:-:644:p
 $config_directory/canonical:f:root:-:644:p
 $config_directory/cidr_table:f:root:-:644:o
-$config_directory/generics:f:root:-:644:p
+$config_directory/generics:f:root:-:644:o
+$config_directory/generic:f:root:-:644:p
 $config_directory/header_checks:f:root:-:644:p
 $config_directory/install.cf:f:root:-:644:o
 $config_directory/main.cf:f:root:-:644:p
@@ -143,7 +144,8 @@ $manpage_directory/man5/aliases.5:f:root:-:644
 $manpage_directory/man5/body_checks.5:f:root:-:644
 $manpage_directory/man5/canonical.5:f:root:-:644
 $manpage_directory/man5/cidr_table.5:f:root:-:644
-$manpage_directory/man5/generics.5:f:root:-:644
+$manpage_directory/man5/generics.5:f:root:-:644:o
+$manpage_directory/man5/generic.5:f:root:-:644
 $manpage_directory/man5/header_checks.5:f:root:-:644
 $manpage_directory/man5/ldap_table.5:f:root:-:644
 $manpage_directory/man5/master.5:f:root:-:644
@@ -316,7 +318,8 @@ $html_directory/defer.8.html:f:root:-:644
 $html_directory/discard.8.html:f:root:-:644
 $html_directory/error.8.html:f:root:-:644
 $html_directory/flush.8.html:f:root:-:644
-$html_directory/generics.5.html:f:root:-:644
+$html_directory/generics.5.html:f:root:-:644:o
+$html_directory/generic.5.html:f:root:-:644
 $html_directory/header_checks.5.html:f:root:-:644
 $html_directory/index.html:f:root:-:644
 $html_directory/ldap_table.5.html:f:root:-:644
index 8df4eec538d582a9534791260d4bb01281b846fa..668332f9efdd80342743e3ef39da39d327fc9e00 100644 (file)
 #               nisms  that propagate an address extension from the
 #               original address to the result.   Specify  zero  or
 #               more   of   canonical,   virtual,  alias,  forward,
-#               include, or generics.
+#               include, or generic.
 # 
 #        Other parameters of interest:
 # 
index 37025597a994c9af06692de7b6c6d63712c30973..149f465f0d756dbc74c8fa1f9ae23fa99dd5586d 100644 (file)
@@ -100,7 +100,7 @@ as invalid </a>
 
 <ul>
 
-<li> <a href="#generics"> Generic mapping for outgoing SMTP mail </a>
+<li> <a href="#generic"> Generic mapping for outgoing SMTP mail </a>
 
 </ul>
 
@@ -343,8 +343,8 @@ nowrap> all mail </td> <td> <a href="cleanup.8.html">cleanup(8)</a> </td> <td> <
 <td nowrap> all mail </td> <td> <a href="trivial-rewrite.8.html">trivial-<br>rewrite(8)</a> </td> <td>
 <a href="postconf.5.html#relocated_maps">relocated_maps</a> </td> <td> none </td> </tr>
 
-<tr> <td> <a href="#generics"> Generics table </a> </td> <td>
-outgoing SMTP mail </td> <td> <a href="smtp.8.html">smtp(8)</a> </td> <td> <a href="postconf.5.html#smtp_generics_maps">smtp_generics_maps</a>
+<tr> <td> <a href="#generic"> Generic mapping table </a> </td> <td>
+outgoing SMTP mail </td> <td> <a href="smtp.8.html">smtp(8)</a> </td> <td> <a href="postconf.5.html#smtp_generic_maps">smtp_generic_maps</a>
 </td> <td> none </td> </tr>
 
 <tr> <td> <a href="#aliases"> Local alias database</a> </td> <td>
@@ -819,7 +819,7 @@ via the <a href="smtp.8.html">smtp(8)</a> delivery agent: </p>
 
 <ul>
 
-<li> <a href="#generics"> Generic mapping for outgoing SMTP mail </a>
+<li> <a href="#generic"> Generic mapping for outgoing SMTP mail </a>
 
 </ul>
 
@@ -939,16 +939,16 @@ otheruser@elsewhere.tld". Older Postfix versions will receive the
 mail first, and then return it to the sender as undeliverable, with
 the same reason.  </p>
 
-<h3> <a name="generics"> Generic mapping for outgoing SMTP mail </a> </h3>
+<h3> <a name="generic"> Generic mapping for outgoing SMTP mail </a> </h3>
 
 <p> Some hosts have no valid Internet domain name, and instead use
 a name such as <i>localdomain.local</i>. This can be a problem when
 you want to send mail over the Internet, because many mail servers
 reject mail addresses with invalid domain names. </p>
 
-<p> With the <a href="postconf.5.html#smtp_generics_maps">smtp_generics_maps</a> parameter you can specify <a href="generics.5.html">generics(5)</a>
+<p> With the <a href="postconf.5.html#smtp_generic_maps">smtp_generic_maps</a> parameter you can specify <a href="generic.5.html">generic(5)</a>
 lookup tables that replace local mail addresses by valid Internet
-addresses when mail leaves the machine via SMTP. The <a href="generics.5.html">generics(5)</a>
+addresses when mail leaves the machine via SMTP. The <a href="generic.5.html">generic(5)</a>
 mapping replaces envelope and header addresses, and is non-recursive.
 It does not happen when you send mail between addresses on the
 local machine. </p>
@@ -960,9 +960,9 @@ local machine. </p>
 <blockquote>
 <pre>
 /etc/postfix/main.cf:
-    <a href="postconf.5.html#smtp_generics_maps">smtp_generics_maps</a> = hash:/etc/postfix/generics
+    <a href="postconf.5.html#smtp_generic_maps">smtp_generic_maps</a> = hash:/etc/postfix/generic
 
-/etc/postfix/generics:
+/etc/postfix/generic:
     his@localdomain.local              hisaccount@hisisp.example
     her@localdomain.local              heraccount@herisp.example
     @localdomain.local                 hisaccount+local@hisisp.example
index 39dd1a7329da510c0e23e5f17b7f5e1e8c91d25c..139345aede675439b76bd9d23e6bb1457872a99e 100644 (file)
@@ -18,7 +18,7 @@ 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 \
        ldap_table.5.html mysql_table.5.html pgsql_table.5.html \
-       master.5.html nisplus_table.5.html generics.5.html
+       master.5.html nisplus_table.5.html generic.5.html
 OTHER  = postfix-manuals.html
 AWK    = awk '{ print; if (NR == 2) print ".pl 9999\n.ll 65" }'
 MAN2HTML = man2html -t "Postfix manual - `IFS=.; set \`echo $@\`; echo \"$$1($$2)\"`"
@@ -241,7 +241,7 @@ header_checks.5.html: ../proto/header_checks
        PATH=../mantools:$$PATH; \
        srctoman - $? | $(AWK) | nroff -man | uniq | $(MAN2HTML) | postlink >$@
 
-generics.5.html: ../proto/generics
+generic.5.html: ../proto/generic
        PATH=../mantools:$$PATH; \
        srctoman - $? | $(AWK) | nroff -man | uniq | $(MAN2HTML) | postlink >$@
 
index 9c2aaf454145701188e5ba4af0f52d7359d2f3ab..b73113ff48340c09169d296efd68274ef38cec7a 100644 (file)
@@ -707,7 +707,7 @@ To find out what Postfix version you have, execute the command
 
 <h3>Postfix version 2.2 and later </h3>
 
-<p> Postfix 2.2 uses the <a href="generics.5.html">generics(5)</a> address mapping to replace
+<p> Postfix 2.2 uses the <a href="generic.5.html">generic(5)</a> address mapping to replace
 local fantasy email addresses by valid Internet addresses.  This
 mapping happens ONLY when mail leaves the machine; not when you
 send mail between users on the same machine. </p>
@@ -719,9 +719,9 @@ discussed the first half of this document. </p>
 <blockquote>
 <pre>
 1 /etc/postfix/main.cf:
-2     <a href="postconf.5.html#smtp_generics_maps">smtp_generics_maps</a> = hash:/etc/postfix/generics
+2     <a href="postconf.5.html#smtp_generic_maps">smtp_generic_maps</a> = hash:/etc/postfix/generic
 3 
-4 /etc/postfix/generics:
+4 /etc/postfix/generic:
 5     his@localdomain.local             hisaccount@hisisp.example
 6     her@localdomain.local             heraccount@herisp.example
 7     @localdomain.local                hisaccount+local@hisisp.example
@@ -748,8 +748,8 @@ that the ISP supports "+" style address extensions). </p>
 <b>dbm</b> files instead of <b>db</b> files. To find out what lookup
 tables Postfix supports, use the command "<b>postconf -m</b>".  </p>
 
-<p> Execute the command "<b>postmap /etc/postfix/generics</b>"
-whenever you change the generics table. </p>
+<p> Execute the command "<b>postmap /etc/postfix/generic</b>"
+whenever you change the generic table. </p>
 
 <h3>Postfix version 2.1 and earlier </h3>
 
index 38f242c58002ca355a0947323931563dd4bff34f..ddb7649e517cf559348a269d139d0d59d97cacb9 100644 (file)
@@ -149,7 +149,7 @@ ALIASES(5)                                             ALIASES(5)
               nisms that propagate an address extension from  the
               original  address  to  the  result. Specify zero or
               more  of  <b>canonical</b>,   <b>virtual</b>,   <b>alias</b>,   <b>forward</b>,
-              <b>include</b>, or <b>generics</b>.
+              <b>include</b>, or <b>generic</b>.
 
        <b><a href="postconf.5.html#owner_request_special">owner_request_special</a></b>
               Give  special treatment to <b>owner-</b><i>listname</i> and <i>list-</i>
index e56d9a75e57b1ecb26a1eb31e84246b3f65b8eeb..38cef8db66bb0884e480e8b35dc938ac5edfab2a 100644 (file)
@@ -186,7 +186,7 @@ CANONICAL(5)                                         CANONICAL(5)
               nisms that propagate an address extension from  the
               original  address  to  the result.  Specify zero or
               more  of  <b>canonical</b>,   <b>virtual</b>,   <b>alias</b>,   <b>forward</b>,
-              <b>include</b>, or <b>generics</b>.
+              <b>include</b>, or <b>generic</b>.
 
        Other parameters of interest:
 
similarity index 84%
rename from postfix/html/generics.5.html
rename to postfix/html/generic.5.html
index 33b466f70a9000a63f55649597f7875f113c8436..e0e0138e5b32a28d94343e50d58664ea655fef2f 100644 (file)
@@ -2,44 +2,44 @@
         "http://www.w3.org/TR/html4/loose.dtd">
 <html> <head>
 <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
-<title> Postfix manual - generics(5) </title>
+<title> Postfix manual - generic(5) </title>
 </head> <body> <pre>
-GENERICS(5)                                           GENERICS(5)
+GENERIC(5)                                             GENERIC(5)
 
 <b>NAME</b>
-       generics - Postfix generics table format
+       generic - Postfix generic table format
 
 <b>SYNOPSIS</b>
-       <b>postmap /etc/postfix/generics</b>
+       <b>postmap /etc/postfix/generic</b>
 
-       <b>postmap -q "</b><i>string</i><b>" /etc/postfix/generics</b>
+       <b>postmap -q "</b><i>string</i><b>" /etc/postfix/generic</b>
 
-       <b>postmap -q - /etc/postfix/generics</b> &lt;<i>inputfile</i>
+       <b>postmap -q - /etc/postfix/generic</b> &lt;<i>inputfile</i>
 
 <b>DESCRIPTION</b>
-       The  optional  <a href="generics.5.html"><b>generics</b>(5)</a> table specifies an address map-
-       ping that applies when mail  is  delivered.  This  is  the
-       opposite  of <a href="canonical.5.html"><b>canonical</b>(5)</a> mapping, which applies when mail
-       is received.
+       The optional <a href="generic.5.html"><b>generic</b>(5)</a> table specifies an address mapping
+       that applies when mail is delivered. This is the  opposite
+       of  <a href="canonical.5.html"><b>canonical</b>(5)</a>  mapping,  which  applies  when  mail  is
+       received.
 
-       Typically, one would use the <a href="generics.5.html"><b>generics</b>(5)</a> table on a system
+       Typically, one would use the <a href="generic.5.html"><b>generic</b>(5)</a> table on a  system
        that  does  not have a valid Internet domain name and that
-       uses something like <i>localdomain.local</i> instead.  The <a href="generics.5.html"><b>gener-</b></a>
-       <a href="generics.5.html"><b>ics</b>(5)</a>  table is then used by the <a href="smtp.8.html"><b>smtp</b>(8)</a> client to trans-
-       form  local  mail  addresses  into  valid  Internet   mail
+       uses  something  like  <i>localdomain.local</i>   instead.    The
+       <a href="generic.5.html"><b>generic</b>(5)</a>  table  is  then  used by the <a href="smtp.8.html"><b>smtp</b>(8)</a> client to
+       transform local mail addresses into  valid  Internet  mail
        addresses  when  mail  has to be sent across the Internet.
        See the EXAMPLE section at the end of this document.
 
-       The  <a href="generics.5.html"><b>generics</b>(5)</a>  mapping  affects  both  message   header
+       The  <a href="generic.5.html"><b>generic</b>(5)</a>  mapping  affects  both   message   header
        addresses (i.e. addresses that appear inside messages) and
        message envelope addresses  (for  example,  the  addresses
        that are used in SMTP protocol commands).
 
-       Normally,  the  <a href="generics.5.html"><b>generics</b>(5)</a>  table  is specified as a text
-       file that serves as input to the <a href="postmap.1.html"><b>postmap</b>(1)</a> command.   The
+       Normally, the <a href="generic.5.html"><b>generic</b>(5)</a> table is specified as a text file
+       that serves as  input  to  the  <a href="postmap.1.html"><b>postmap</b>(1)</a>  command.   The
        result,  an  indexed file in <b>dbm</b> or <b>db</b> format, is used for
        fast searching by the mail  system.  Execute  the  command
-       "<b>postmap  /etc/postfix/generics</b>"  in  order to rebuild the
+       "<b>postmap  /etc/postfix/generic</b>"  in  order  to rebuild the
        indexed file after changing the text file.
 
        When the table is provided via other means  such  as  NIS,
@@ -155,14 +155,14 @@ GENERICS(5)                                           GENERICS(5)
        that the ISP supports "+" style address extensions).
 
        /etc/postfix/main.cf:
-               <a href="postconf.5.html#smtp_generics_maps">smtp_generics_maps</a> = hash:/etc/postfix/generics
+               <a href="postconf.5.html#smtp_generic_maps">smtp_generic_maps</a> = hash:/etc/postfix/generic
 
-       /etc/postfix/generics:
+       /etc/postfix/generic:
                his@localdomain.local   hisaccount@hisisp.example
                her@localdomain.local   heraccount@herisp.example
                @localdomain.local      hisaccount+local@hisisp.example
 
-       Execute the command "<b>postmap /etc/postfix/generics</b>"  when-
+       Execute the command "<b>postmap  /etc/postfix/generic</b>"  when-
        ever  the table is changed.  Instead of <b>hash</b>, some systems
        use <b>dbm</b> database files. To find out what tables your  sys-
        tem supports use the command "<b>postconf -m</b>".
@@ -175,7 +175,7 @@ GENERICS(5)                                           GENERICS(5)
        The  text  below  provides  only  a parameter summary. See
        <a href="postconf.5.html"><b>postconf</b>(5)</a> for more details including examples.
 
-       <b><a href="postconf.5.html#smtp_generics_maps">smtp_generics_maps</a></b>
+       <b><a href="postconf.5.html#smtp_generic_maps">smtp_generic_maps</a></b>
               Address  mapping  lookup  table  for  envelope  and
               header  sender and recipient addresses while deliv-
               ering mail via SMTP.
@@ -185,7 +185,7 @@ GENERICS(5)                                           GENERICS(5)
               nisms  that propagate an address extension from the
               original address to the result.   Specify  zero  or
               more   of   <b>canonical</b>,   <b>virtual</b>,  <b>alias</b>,  <b>forward</b>,
-              <b>include</b>, or <b>generics</b>.
+              <b>include</b>, or <b>generic</b>.
 
        Other parameters of interest:
 
@@ -234,5 +234,5 @@ GENERICS(5)                                           GENERICS(5)
        P.O. Box 704
        Yorktown Heights, NY 10598, USA
 
-                                                      GENERICS(5)
+                                                       GENERIC(5)
 </pre> </body> </html>
index f78f41b1e26a3512f1a93010cbc801aca10b742e..382ecee9d9f76a434fc9390350167a9aa7ad9363 100644 (file)
@@ -4536,11 +4536,11 @@ to "<i>joe.user+foo</i>".
 
 <p>
 Specify zero or more of <b>canonical</b>, <b>virtual</b>, <b>alias</b>,
-<b>forward</b>, <b>include</b> or <b>generics</b>. These cause
+<b>forward</b>, <b>include</b> or <b>generic</b>. These cause
 address extension
 propagation with <a href="canonical.5.html">canonical(5)</a>, <a href="virtual.5.html">virtual(5)</a>, and <a href="aliases.5.html">aliases(5)</a> maps,
 with <a href="local.8.html">local(8)</a> .forward and :include: file lookups, and with <a href="smtp.8.html">smtp(8)</a>
-generics maps, respectively.  </p>
+generic maps, respectively.  </p>
 
 <p>
 Note: enabling this feature for types other than <b>canonical</b>
@@ -5915,7 +5915,7 @@ send all their email to a dedicated mailhub.  </p>
 
 </DD>
 
-<DT><b><a name="smtp_generics_maps">smtp_generics_maps</a>
+<DT><b><a name="smtp_generic_maps">smtp_generic_maps</a>
 (default: empty)</b></DT><DD>
 
 <p> Optional lookup tables that perform address rewriting in the
@@ -5925,7 +5925,7 @@ This is needed when the local machine does not have its own Internet
 domain name, but uses something like <i>localdomain.local</i>
 instead.  </p>
 
-<p> The table format and lookups are documented in <a href="generics.5.html">generics(5)</a>;
+<p> The table format and lookups are documented in <a href="generic.5.html">generic(5)</a>;
 examples are shown in the <a href="ADDRESS_REWRITING_README.html">ADDRESS_REWRITING_README</a> and
 <a href="STANDARD_CONFIGURATION_README.html">STANDARD_CONFIGURATION_README</a> documents. </p>
 
index 333f02f9dc954ab6329e63bf85201881feaf76b8..042ee6502ddd36d5025db9e167eead3bc6725ffc 100644 (file)
@@ -128,7 +128,7 @@ the following convention:  </p>
 
 <li> <a href="canonical.5.html">canonical(5)</a>, Postfix input address rewriting 
 
-<li> <a href="generics.5.html">generics(5)</a>, Postfix output address rewriting 
+<li> <a href="generic.5.html">generic(5)</a>, Postfix output address rewriting 
 
 <li> <a href="header_checks.5.html">header_checks(5)</a>, <a href="header_checks.5.html">body_checks(5)</a>, Postfix content inspection 
 
index 572abb0002fc355b3262a7d6f17e5dbc71bd0784..a5241383cb09f3087a5e715023d9c5b037e92346 100644 (file)
@@ -216,7 +216,7 @@ POSTFIX(1)                                             POSTFIX(1)
        <a href="access.5.html">access(5)</a>, Postfix SMTP access control table
        <a href="aliases.5.html">aliases(5)</a>, Postfix alias database
        <a href="canonical.5.html">canonical(5)</a>, Postfix input address rewriting
-       <a href="generics.5.html">generics(5)</a>, Postfix output address rewriting
+       <a href="generic.5.html">generic(5)</a>, Postfix output address rewriting
        <a href="header_checks.5.html">header_checks(5)</a>, <a href="header_checks.5.html">body_checks(5)</a>, Postfix content inspection
        <a href="relocated.5.html">relocated(5)</a>, Users that have moved
        <a href="transport.5.html">transport(5)</a>, Postfix routing table
index 82d6801c8776cd06adc1e715e2f0af39936fa858..e9dae91d106c3a785463221f775dbe4988a8e435 100644 (file)
@@ -150,7 +150,7 @@ SMTP(8)                                                   SMTP(8)
               will ignore in the EHLO response from a remote SMTP
               server.
 
-       <b><a href="postconf.5.html#smtp_generics_maps">smtp_generics_maps</a> (empty)</b>
+       <b><a href="postconf.5.html#smtp_generic_maps">smtp_generic_maps</a> (empty)</b>
               Optional lookup tables that perform address rewrit-
               ing in the SMTP client, typically  to  transform  a
               locally valid address into a globally valid address
index c5f42cdd59db86b99b035af63f41e830388e477d..164b39bfee4922f6187a4162f1c9a22fdc1173e0 100644 (file)
@@ -231,7 +231,7 @@ VIRTUAL(5)                                             VIRTUAL(5)
               nisms  that propagate an address extension from the
               original address to the result.   Specify  zero  or
               more   of   <b>canonical</b>,   <b>virtual</b>,  <b>alias</b>,  <b>forward</b>,
-              <b>include</b>, or <b>generics</b>.
+              <b>include</b>, or <b>generic</b>.
 
        Other parameters of interest:
 
index 7987737e205e7e5fbe8aa0edbd9b92d35f494277..c860e8e74521ed6249c683e51999c2b2d39c6c97 100644 (file)
@@ -17,7 +17,7 @@ CONFIG        = man5/access.5 man5/aliases.5 man5/canonical.5 man5/relocated.5 \
        man5/cidr_table.5 man5/tcp_table.5 man5/header_checks.5 \
        man5/body_checks.5 man5/ldap_table.5 man5/mysql_table.5 \
        man5/pgsql_table.5 man5/master.5 man5/nisplus_table.5 \
-       man5/generics.5
+       man5/generic.5
 TOOLS  = man1/smtp-sink.1 man1/smtp-source.1 man1/qmqp-sink.1 \
        man1/qmqp-source.1 man1/qshape.1
 
@@ -241,7 +241,7 @@ man5/canonical.5: ../proto/canonical
 man5/cidr_table.5: ../proto/cidr_table
        ../mantools/srctoman - $? >$@
 
-man5/generics.5: ../proto/generics
+man5/generic.5: ../proto/generic
        ../mantools/srctoman - $? >$@
 
 man5/header_checks.5: ../proto/header_checks
index ac150d4b7244cbb1f3b32cdce35bd8412d245612..0e99c558dcb3392b54a0f43bbf210993f741bef7 100644 (file)
@@ -182,7 +182,7 @@ Table-driven mechanisms:
 access(5), Postfix SMTP access control table
 aliases(5), Postfix alias database
 canonical(5), Postfix input address rewriting
-generics(5), Postfix output address rewriting
+generic(5), Postfix output address rewriting
 header_checks(5), body_checks(5), Postfix content inspection
 relocated(5), Users that have moved
 transport(5), Postfix routing table
index 30297e87fe1750aa6305287a12119ad7f2fdcd18..bd70ee64bf01e5c74fd74e71c9972ff9eae28d16 100644 (file)
@@ -138,7 +138,7 @@ A list of address rewriting or forwarding mechanisms that
 propagate an address extension from the original address
 to the result. Specify zero or more of \fBcanonical\fR,
 \fBvirtual\fR, \fBalias\fR, \fBforward\fR, \fBinclude\fR,
-or \fBgenerics\fR.
+or \fBgeneric\fR.
 .IP \fBowner_request_special\fR
 Give special treatment to \fBowner-\fIlistname\fR and
 \fIlistname\fB-request\fR
index 8dd791b49693e92a32796aeb38e2775f5648a1fd..36ce439381267d99960d888ae2088a60cd4c24b7 100644 (file)
@@ -185,7 +185,7 @@ addresses.
 A list of address rewriting or forwarding mechanisms that propagate
 an address extension from the original address to the result.
 Specify zero or more of \fBcanonical\fR, \fBvirtual\fR, \fBalias\fR,
-\fBforward\fR, \fBinclude\fR, or \fBgenerics\fR.
+\fBforward\fR, \fBinclude\fR, or \fBgeneric\fR.
 .PP
 Other parameters of interest:
 .IP \fBinet_interfaces\fR
similarity index 90%
rename from postfix/man/man5/generics.5
rename to postfix/man/man5/generic.5
index 633a2a11fb58c89769e9a10b7b1f75b042063c25..c71cdc73d67719db8e8c4158555f7b65ae644cae 100644 (file)
@@ -1,44 +1,44 @@
-.TH GENERICS 5 
+.TH GENERIC 5 
 .ad
 .fi
 .SH NAME
-generics
+generic
 \-
-Postfix generics table format
+Postfix generic table format
 .SH "SYNOPSIS"
 .na
 .nf
-\fBpostmap /etc/postfix/generics\fR
+\fBpostmap /etc/postfix/generic\fR
 
-\fBpostmap -q "\fIstring\fB" /etc/postfix/generics\fR
+\fBpostmap -q "\fIstring\fB" /etc/postfix/generic\fR
 
-\fBpostmap -q - /etc/postfix/generics <\fIinputfile\fR
+\fBpostmap -q - /etc/postfix/generic <\fIinputfile\fR
 .SH DESCRIPTION
 .ad
 .fi
-The optional \fBgenerics\fR(5) table specifies an address
+The optional \fBgeneric\fR(5) table specifies an address
 mapping that applies when mail is delivered. This is the
 opposite of \fBcanonical\fR(5) mapping, which applies when
 mail is received.
 
-Typically, one would use the \fBgenerics\fR(5) table on a
+Typically, one would use the \fBgeneric\fR(5) table on a
 system that does not have a valid Internet domain name and
 that uses something like \fIlocaldomain.local\fR instead.
-The \fBgenerics\fR(5) table is then used by the \fBsmtp\fR(8)
+The \fBgeneric\fR(5) table is then used by the \fBsmtp\fR(8)
 client to transform local mail addresses into valid Internet
 mail addresses when mail has to be sent across the Internet.
 See the EXAMPLE section at the end of this document.
 
-The \fBgenerics\fR(5) mapping affects both message header
+The \fBgeneric\fR(5) mapping affects both message header
 addresses (i.e. addresses that appear inside messages) and
 message envelope addresses (for example, the addresses that
 are used in SMTP protocol commands).
 
-Normally, the \fBgenerics\fR(5) table is specified as a
+Normally, the \fBgeneric\fR(5) table is specified as a
 text file that serves as input to the \fBpostmap\fR(1)
 command.  The result, an indexed file in \fBdbm\fR or
 \fBdb\fR format, is used for fast searching by the mail
-system. Execute the command "\fBpostmap /etc/postfix/generics\fR"
+system. Execute the command "\fBpostmap /etc/postfix/generic\fR"
 in order to rebuild the indexed file after changing the
 text file.
 
@@ -166,10 +166,10 @@ that the ISP supports "+" style address extensions).
 .nf
 /etc/postfix/main.cf:
 .in +4
-    smtp_generics_maps = hash:/etc/postfix/generics
+    smtp_generic_maps = hash:/etc/postfix/generic
 .in -4
 
-/etc/postfix/generics:
+/etc/postfix/generic:
 .in +4
     his@localdomain.local   hisaccount@hisisp.example
     her@localdomain.local   heraccount@herisp.example
@@ -178,7 +178,7 @@ that the ISP supports "+" style address extensions).
 
 .ad
 .fi
-Execute the command "\fBpostmap /etc/postfix/generics\fR"
+Execute the command "\fBpostmap /etc/postfix/generic\fR"
 whenever the table is changed.  Instead of \fBhash\fR, some
 systems use \fBdbm\fR database files. To find out what
 tables your system supports use the command "\fBpostconf
@@ -195,14 +195,14 @@ The table format does not understand quoting conventions.
 The following \fBmain.cf\fR parameters are especially relevant.
 The text below provides only a parameter summary. See
 \fBpostconf\fR(5) for more details including examples.
-.IP \fBsmtp_generics_maps\fR
+.IP \fBsmtp_generic_maps\fR
 Address mapping lookup table for envelope and header sender
 and recipient addresses while delivering mail via SMTP.
 .IP \fBpropagate_unmatched_extensions\fR
 A list of address rewriting or forwarding mechanisms that propagate
 an address extension from the original address to the result.
 Specify zero or more of \fBcanonical\fR, \fBvirtual\fR, \fBalias\fR,
-\fBforward\fR, \fBinclude\fR, or \fBgenerics\fR.
+\fBforward\fR, \fBinclude\fR, or \fBgeneric\fR.
 .PP
 Other parameters of interest:
 .IP \fBinet_interfaces\fR
index 360ca6432d25068e8277347095436f88202aec0d..73e5ec985a7aa5d89cc1f3e586f0f5e60cb16a75 100644 (file)
@@ -2438,11 +2438,11 @@ joe.user\fR", the address "\fIjoe+foo@domain\fR" would rewrite
 to "\fIjoe.user+foo\fR".
 .PP
 Specify zero or more of \fBcanonical\fR, \fBvirtual\fR, \fBalias\fR,
-\fBforward\fR, \fBinclude\fR or \fBgenerics\fR. These cause
+\fBforward\fR, \fBinclude\fR or \fBgeneric\fR. These cause
 address extension
 propagation with \fBcanonical\fR(5), \fBvirtual\fR(5), and \fBaliases\fR(5) maps,
 with \fBlocal\fR(8) .forward and :include: file lookups, and with \fBsmtp\fR(8)
-generics maps, respectively.
+generic maps, respectively.
 .PP
 Note: enabling this feature for types other than \fBcanonical\fR
 and \fBvirtual\fR is likely to cause problems when mail is forwarded
@@ -3246,7 +3246,7 @@ This option is useful only if you are definitely sure that you
 will only connect to servers that support RFC 2487 _and_ that
 provide valid server certificates.  Typical use is for clients that
 send all their email to a dedicated mailhub.
-.SH smtp_generics_maps (default: empty)
+.SH smtp_generic_maps (default: empty)
 Optional lookup tables that perform address rewriting in the
 SMTP client, typically to transform a locally valid address into
 a globally valid address when sending mail across the Internet.
@@ -3254,7 +3254,7 @@ This is needed when the local machine does not have its own Internet
 domain name, but uses something like \fIlocaldomain.local\fR
 instead.
 .PP
-The table format and lookups are documented in \fBgenerics\fR(5);
+The table format and lookups are documented in \fBgeneric\fR(5);
 examples are shown in the ADDRESS_REWRITING_README and
 STANDARD_CONFIGURATION_README documents.
 .PP
index c83ea011f80895f9e39e0e2bcf85e1d4209500fb..c2851b8b254eb69dc87ad0e4422acf7c321c9eaf 100644 (file)
@@ -238,7 +238,7 @@ as the \fBmydestination\fR parameter.
 A list of address rewriting or forwarding mechanisms that propagate
 an address extension from the original address to the result.
 Specify zero or more of \fBcanonical\fR, \fBvirtual\fR, \fBalias\fR,
-\fBforward\fR, \fBinclude\fR, or \fBgenerics\fR.
+\fBforward\fR, \fBinclude\fR, or \fBgeneric\fR.
 .PP
 Other parameters of interest:
 .IP \fBinet_interfaces\fR
index e28385edd9fc0753993ac82d3ac196d2005f2fc3..136b509a82d78ecbf73e8d730d5e5d24cf837fb1 100644 (file)
@@ -140,7 +140,7 @@ from a remote SMTP server.
 A case insensitive list of EHLO keywords (pipelining, starttls,
 auth, etc.) that the SMTP client will ignore in the EHLO response
 from a remote SMTP server.
-.IP "\fBsmtp_generics_maps (empty)\fR"
+.IP "\fBsmtp_generic_maps (empty)\fR"
 Optional lookup tables that perform address rewriting in the
 SMTP client, typically to transform a locally valid address into
 a globally valid address when sending mail across the Internet.
index c12d146ceeb5f6eca0f7c71d16d2d7c95cf64fce..5ff67a674cf93a9755abc5c89e5fbfc9eb1d8529 100644 (file)
@@ -105,9 +105,9 @@ man/man8/qmgr.8:55:.IP \fBbounce\fR
 man/man8/trivial-rewrite.8:21:.IP \fBlocal\fR 
 man/man5/aliases.5:140:\fBvirtual\fR, \fBalias\fR, \fBforward\fR, \fBinclude\fR, 
 man/man5/canonical.5:171:Specify zero or more of \fBcanonical\fR, \fBvirtual\fR, \fBalias\fR, 
-man/man5/generics.5:11:\fBpostmap /etc/postfix/generics\fR 
-man/man5/generics.5:13:\fBpostmap -q "\fIstring\fB" /etc/postfix/generics\fR 
-man/man5/generics.5:15:\fBpostmap -q - /etc/postfix/generics <\fIinputfile\fR 
-man/man5/generics.5:189:Specify zero or more of \fBcanonical\fR, \fBvirtual\fR, \fBalias\fR, 
+man/man5/generic.5:11:\fBpostmap /etc/postfix/generic\fR 
+man/man5/generic.5:13:\fBpostmap -q "\fIstring\fB" /etc/postfix/generic\fR 
+man/man5/generic.5:15:\fBpostmap -q - /etc/postfix/generic <\fIinputfile\fR 
+man/man5/generic.5:189:Specify zero or more of \fBcanonical\fR, \fBvirtual\fR, \fBalias\fR, 
 man/man5/postconf.5:2446:and \fBvirtual\fR is likely to cause problems when mail is forwarded 
 man/man5/postconf.5:4575:is \fBsmtpd\fR, corresponding to a SASL configuration file named 
index d7d5499da5bacf0ecc6602846884f270ebd4af02..0c931ff0edb234c61e3b552e1c050fec396ce536 100755 (executable)
@@ -324,7 +324,7 @@ while (<>) {
     s;\bsmtp_data_init_timeout\b;<a href="postconf.5.html#smtp_data_init_timeout">$&</a>;g;
     s;\bsmtp_data_xfer_timeout\b;<a href="postconf.5.html#smtp_data_xfer_timeout">$&</a>;g;
     s;\bsmtp_defer_if_no_mx_address_found\b;<a href="postconf.5.html#smtp_defer_if_no_mx_address_found">$&</a>;g;
-    s;\bsmtp_generics_maps\b;<a href="postconf.5.html#smtp_generics_maps">$&</a>;g;
+    s;\bsmtp_generic_maps\b;<a href="postconf.5.html#smtp_generic_maps">$&</a>;g;
     s;\blmtp_destination_concurrency_limit\b;<a href="postconf.5.html#lmtp_destination_concurrency_limit">$&</a>;g;
     s;\blmtp_destination_recip[-</bB>]*\n* *[<bB>]*ient_limit\b;<a href="postconf.5.html#lmtp_destination_recipient_limit">$&</a>;g;
     s;\brelay_destination_concurrency_limit\b;<a href="postconf.5.html#relay_destination_concurrency_limit">$&</a>;g;
@@ -552,7 +552,7 @@ while (<>) {
     s/[<bB>]*access[<\/bB>]*\(5\)/<a href="access.5.html">$&<\/a>/g;
     s/[<bB>]*aliases[<\/bB>]*\(5\)/<a href="aliases.5.html">$&<\/a>/g;
     s/[<bB>]*canonical[<\/bB>]*\(5\)/<a href="canonical.5.html">$&<\/a>/g;
-    s/[<bB>]*gener[-<\/bB>]*\n* *[<bB>]*ics[<\/bB>]*\(5\)/<a href="generics.5.html">$&<\/a>/g;
+    s/[<bB>]*gener[-<\/bB>]*\n* *[<bB>]*ic[<\/bB>]*\(5\)/<a href="generic.5.html">$&<\/a>/g;
     s/[<bB>]*ldap[<\/bBiI>]*_[<\/iIbB>]*table[<\/bB>]*\(5\)/<a href="ldap_table.5.html">$&<\/a>/g;
     s/[<bB>]*mas[-<\/bB>]*\n* *[<bB>]*ter[<\/bB>]*\(5\)/<a href="master.5.html">$&<\/a>/g;
     s/[<bB>]*mysql[<\/bBiI>]*_[<\/iIbB>]*table[<\/bB>]*\(5\)/<a href="mysql_table.5.html">$&<\/a>/g;
index 83b4ad8343da2371dd0469c839d853d34f817726..3b8560b4c18345dd623e1b5aa760728cc4997ede 100644 (file)
@@ -100,7 +100,7 @@ as invalid </a>
 
 <ul>
 
-<li> <a href="#generics"> Generic mapping for outgoing SMTP mail </a>
+<li> <a href="#generic"> Generic mapping for outgoing SMTP mail </a>
 
 </ul>
 
@@ -343,8 +343,8 @@ transport_maps </td> <td> none </td> </tr>
 <td nowrap> all mail </td> <td> trivial-<br>rewrite(8) </td> <td>
 relocated_maps </td> <td> none </td> </tr>
 
-<tr> <td> <a href="#generics"> Generics table </a> </td> <td>
-outgoing SMTP mail </td> <td> smtp(8) </td> <td> smtp_generics_maps
+<tr> <td> <a href="#generic"> Generic mapping table </a> </td> <td>
+outgoing SMTP mail </td> <td> smtp(8) </td> <td> smtp_generic_maps
 </td> <td> none </td> </tr>
 
 <tr> <td> <a href="#aliases"> Local alias database</a> </td> <td>
@@ -819,7 +819,7 @@ via the smtp(8) delivery agent: </p>
 
 <ul>
 
-<li> <a href="#generics"> Generic mapping for outgoing SMTP mail </a>
+<li> <a href="#generic"> Generic mapping for outgoing SMTP mail </a>
 
 </ul>
 
@@ -939,16 +939,16 @@ otheruser@elsewhere.tld". Older Postfix versions will receive the
 mail first, and then return it to the sender as undeliverable, with
 the same reason.  </p>
 
-<h3> <a name="generics"> Generic mapping for outgoing SMTP mail </a> </h3>
+<h3> <a name="generic"> Generic mapping for outgoing SMTP mail </a> </h3>
 
 <p> Some hosts have no valid Internet domain name, and instead use
 a name such as <i>localdomain.local</i>. This can be a problem when
 you want to send mail over the Internet, because many mail servers
 reject mail addresses with invalid domain names. </p>
 
-<p> With the smtp_generics_maps parameter you can specify generics(5)
+<p> With the smtp_generic_maps parameter you can specify generic(5)
 lookup tables that replace local mail addresses by valid Internet
-addresses when mail leaves the machine via SMTP. The generics(5)
+addresses when mail leaves the machine via SMTP. The generic(5)
 mapping replaces envelope and header addresses, and is non-recursive.
 It does not happen when you send mail between addresses on the
 local machine. </p>
@@ -960,9 +960,9 @@ local machine. </p>
 <blockquote>
 <pre>
 /etc/postfix/main.cf:
-    smtp_generics_maps = hash:/etc/postfix/generics
+    smtp_generic_maps = hash:/etc/postfix/generic
 
-/etc/postfix/generics:
+/etc/postfix/generic:
     his@localdomain.local              hisaccount@hisisp.example
     her@localdomain.local              heraccount@herisp.example
     @localdomain.local                 hisaccount+local@hisisp.example
index 7656e01149b8ecc8de49bc85401500464f4e7321..a5c845342120e31129c5b0aacc2372adf46d448d 100644 (file)
@@ -4,7 +4,7 @@ SHELL   = /bin/sh
 
 CONFIG = ../conf/access ../conf/aliases ../conf/canonical ../conf/relocated \
        ../conf/transport ../conf/virtual ../conf/header_checks \
-       ../conf/generics
+       ../conf/generic
 
 HTML   = ../html/ADDRESS_CLASS_README.html \
        ../html/ADDRESS_REWRITING_README.html \
@@ -105,7 +105,7 @@ clobber:
 ../conf/canonical: canonical
        $(SRCTOMAN) - $? | $(AWK) | nroff -man | col -bx | uniq | sed 's/^/# /' >$@
 
-../conf/generics: generics
+../conf/generic: generic
        $(SRCTOMAN) - $? | $(AWK) | nroff -man | col -bx | uniq | sed 's/^/# /' >$@
 
 ../conf/header_checks: header_checks
index eb7c5f58b6364fa676a22c04f7c12ff2900392ca..16553c3b11d689699f47817a5438260e1dafa093 100644 (file)
@@ -707,7 +707,7 @@ To find out what Postfix version you have, execute the command
 
 <h3>Postfix version 2.2 and later </h3>
 
-<p> Postfix 2.2 uses the generics(5) address mapping to replace
+<p> Postfix 2.2 uses the generic(5) address mapping to replace
 local fantasy email addresses by valid Internet addresses.  This
 mapping happens ONLY when mail leaves the machine; not when you
 send mail between users on the same machine. </p>
@@ -719,9 +719,9 @@ discussed the first half of this document. </p>
 <blockquote>
 <pre>
 1 /etc/postfix/main.cf:
-2     smtp_generics_maps = hash:/etc/postfix/generics
+2     smtp_generic_maps = hash:/etc/postfix/generic
 3 
-4 /etc/postfix/generics:
+4 /etc/postfix/generic:
 5     his@localdomain.local             hisaccount@hisisp.example
 6     her@localdomain.local             heraccount@herisp.example
 7     @localdomain.local                hisaccount+local@hisisp.example
@@ -748,8 +748,8 @@ that the ISP supports "+" style address extensions). </p>
 <b>dbm</b> files instead of <b>db</b> files. To find out what lookup
 tables Postfix supports, use the command "<b>postconf -m</b>".  </p>
 
-<p> Execute the command "<b>postmap /etc/postfix/generics</b>"
-whenever you change the generics table. </p>
+<p> Execute the command "<b>postmap /etc/postfix/generic</b>"
+whenever you change the generic table. </p>
 
 <h3>Postfix version 2.1 and earlier </h3>
 
index b2a690785aef81f7cc5272484d5a40a6206eb48c..8a499a416f7a098a4704eb49a8e61dd50caf1272 100644 (file)
 #      propagate an address extension from the original address
 #      to the result. Specify zero or more of \fBcanonical\fR,
 #      \fBvirtual\fR, \fBalias\fR, \fBforward\fR, \fBinclude\fR,
-#      or \fBgenerics\fR.
+#      or \fBgeneric\fR.
 # .IP \fBowner_request_special\fR
 #      Give special treatment to \fBowner-\fIlistname\fR and
 #      \fIlistname\fB-request\fR
index 81d3ad38183969fde00b3358048ababdefe0a41f..2d7f17b720d1866aa026186600412188d42421d8 100644 (file)
 #      A list of address rewriting or forwarding mechanisms that propagate
 #      an address extension from the original address to the result.
 #      Specify zero or more of \fBcanonical\fR, \fBvirtual\fR, \fBalias\fR,  
-#      \fBforward\fR, \fBinclude\fR, or \fBgenerics\fR.
+#      \fBforward\fR, \fBinclude\fR, or \fBgeneric\fR.
 # .PP
 #      Other parameters of interest:
 # .IP \fBinet_interfaces\fR
similarity index 90%
rename from postfix/proto/generics
rename to postfix/proto/generic
index 648815d1d5faa21cc74af2b322ad0f5b3558fec6..97a847dfc0e10b4a3d3052ef062ad801d8bf8586 100644 (file)
@@ -1,38 +1,38 @@
 #++
 # NAME
-#      generics 5
+#      generic 5
 # SUMMARY
-#      Postfix generics table format
+#      Postfix generic table format
 # SYNOPSIS
-#      \fBpostmap /etc/postfix/generics\fR
+#      \fBpostmap /etc/postfix/generic\fR
 #
-#      \fBpostmap -q "\fIstring\fB" /etc/postfix/generics\fR
+#      \fBpostmap -q "\fIstring\fB" /etc/postfix/generic\fR
 #
-#      \fBpostmap -q - /etc/postfix/generics <\fIinputfile\fR
+#      \fBpostmap -q - /etc/postfix/generic <\fIinputfile\fR
 # DESCRIPTION
-#      The optional \fBgenerics\fR(5) table specifies an address
+#      The optional \fBgeneric\fR(5) table specifies an address
 #      mapping that applies when mail is delivered. This is the
 #      opposite of \fBcanonical\fR(5) mapping, which applies when
 #      mail is received.
 #
-#      Typically, one would use the \fBgenerics\fR(5) table on a
+#      Typically, one would use the \fBgeneric\fR(5) table on a
 #      system that does not have a valid Internet domain name and
 #      that uses something like \fIlocaldomain.local\fR instead.
-#      The \fBgenerics\fR(5) table is then used by the \fBsmtp\fR(8)
+#      The \fBgeneric\fR(5) table is then used by the \fBsmtp\fR(8)
 #      client to transform local mail addresses into valid Internet
 #      mail addresses when mail has to be sent across the Internet.
 #      See the EXAMPLE section at the end of this document.
 #
-#      The \fBgenerics\fR(5) mapping affects both message header
+#      The \fBgeneric\fR(5) mapping affects both message header
 #      addresses (i.e. addresses that appear inside messages) and
 #      message envelope addresses (for example, the addresses that
 #      are used in SMTP protocol commands).
 #
-#      Normally, the \fBgenerics\fR(5) table is specified as a
+#      Normally, the \fBgeneric\fR(5) table is specified as a
 #      text file that serves as input to the \fBpostmap\fR(1)
 #      command.  The result, an indexed file in \fBdbm\fR or
 #      \fBdb\fR format, is used for fast searching by the mail
-#      system. Execute the command "\fBpostmap /etc/postfix/generics\fR"
+#      system. Execute the command "\fBpostmap /etc/postfix/generic\fR"
 #      in order to rebuild the indexed file after changing the
 #      text file.
 #
 # .nf
 #      /etc/postfix/main.cf:
 # .in +4
-#          smtp_generics_maps = hash:/etc/postfix/generics
+#          smtp_generic_maps = hash:/etc/postfix/generic
 # .in -4
 #
-#      /etc/postfix/generics:
+#      /etc/postfix/generic:
 # .in +4
 #          his@localdomain.local   hisaccount@hisisp.example
 #          her@localdomain.local   heraccount@herisp.example
 #
 # .ad
 # .fi
-#      Execute the command "\fBpostmap /etc/postfix/generics\fR"
+#      Execute the command "\fBpostmap /etc/postfix/generic\fR"
 #      whenever the table is changed.  Instead of \fBhash\fR, some
 #      systems use \fBdbm\fR database files. To find out what
 #      tables your system supports use the command "\fBpostconf
 #      The following \fBmain.cf\fR parameters are especially relevant.  
 #      The text below provides only a parameter summary. See
 #      \fBpostconf\fR(5) for more details including examples.
-# .IP \fBsmtp_generics_maps\fR
+# .IP \fBsmtp_generic_maps\fR
 #      Address mapping lookup table for envelope and header sender
 #      and recipient addresses while delivering mail via SMTP.
 # .IP \fBpropagate_unmatched_extensions\fR 
 #      A list of address rewriting or forwarding mechanisms that propagate
 #      an address extension from the original address to the result.
 #      Specify zero or more of \fBcanonical\fR, \fBvirtual\fR, \fBalias\fR,  
-#      \fBforward\fR, \fBinclude\fR, or \fBgenerics\fR.
+#      \fBforward\fR, \fBinclude\fR, or \fBgeneric\fR.
 # .PP
 #      Other parameters of interest:
 # .IP \fBinet_interfaces\fR
index 8009bd1ba3a214b41053858cbfb86c7468d9066b..430ba604c2ee4940500204a81b692ed539a0d808 100644 (file)
@@ -2760,11 +2760,11 @@ to "<i>joe.user+foo</i>".
 
 <p>
 Specify zero or more of <b>canonical</b>, <b>virtual</b>, <b>alias</b>,
-<b>forward</b>, <b>include</b> or <b>generics</b>. These cause
+<b>forward</b>, <b>include</b> or <b>generic</b>. These cause
 address extension
 propagation with canonical(5), virtual(5), and aliases(5) maps,
 with local(8) .forward and :include: file lookups, and with smtp(8)
-generics maps, respectively.  </p>
+generic maps, respectively.  </p>
 
 <p>
 Note: enabling this feature for types other than <b>canonical</b>
@@ -8251,7 +8251,7 @@ client uses for TLS encrypted SMTP sessions. </p>
 <p> The SASL authentication security options that the Postfix SMTP
 server uses for TLS encrypted SMTP sessions. </p>
 
-%PARAM smtp_generics_maps empty
+%PARAM smtp_generic_maps empty
 
 <p> Optional lookup tables that perform address rewriting in the
 SMTP client, typically to transform a locally valid address into
@@ -8260,7 +8260,7 @@ This is needed when the local machine does not have its own Internet
 domain name, but uses something like <i>localdomain.local</i>
 instead.  </p>
 
-<p> The table format and lookups are documented in generics(5);
+<p> The table format and lookups are documented in generic(5);
 examples are shown in the ADDRESS_REWRITING_README and
 STANDARD_CONFIGURATION_README documents. </p>
 
index ce0a2713d88f808cdde95b30facf4091ec45ccf4..19c7c32d77ed915de44b46e7725da8f28259abc1 100644 (file)
@@ -20,7 +20,7 @@ dns
 domainname
 download
 firewalled
-generics
+generic
 grep
 hostname
 html
index b4e7cf30a83be43b8042f6d8fe2fb9e4b59b47bf..cf28b83d45c0cbad05a60fdc538e134b9769593a 100644 (file)
 #      A list of address rewriting or forwarding mechanisms that propagate   
 #      an address extension from the original address to the result.     
 #      Specify zero or more of \fBcanonical\fR, \fBvirtual\fR, \fBalias\fR,
-#      \fBforward\fR, \fBinclude\fR, or \fBgenerics\fR.
+#      \fBforward\fR, \fBinclude\fR, or \fBgeneric\fR.
 # .PP
 #      Other parameters of interest:
 # .IP \fBinet_interfaces\fR
index 205d2e45360701c734e6920c96f0870b082a9591..c4138a388ff46f0cf9f74d0a63fa21dcf5ba3642 100644 (file)
@@ -460,7 +460,7 @@ int     bounce_boilerplate(VSTREAM *bounce, BOUNCE_INFO *bounce_info)
     post_mail_fputs(bounce, "");
     if (bounce_info->flush == BOUNCE_MSG_FAIL) {
        post_mail_fputs(bounce,
-              "I'm sorry to have to inform you that your message could not be");
+              "I'm sorry to have to inform you that your message could not");
        post_mail_fputs(bounce,
               "be delivered to one or more recipients. It's attached below.");
     } else if (bounce_info->flush == BOUNCE_MSG_WARN) {
index fac9b6661330a487e76bf8f5e4ae5f345a715929..c6860cf2bb833a29cb2db3baa76cac1587223a2b 100644 (file)
@@ -31,9 +31,9 @@
 /* .IP "include (EXT_PROP_INCLUDE)"
 /*     Propagate unmatched address extensions to the right-hand side
 /*     of :include: file entries.
-/* .IP "generics (EXT_PROP_GENERICS)"
+/* .IP "generic (EXT_PROP_GENERIC)"
 /*     Propagate unmatched address extensions to the right-hand side
-/*     of smtp_generics_maps entries.
+/*     of smtp_generic_maps entries.
 /* DIAGNOSTICS
 /*     Panic: inappropriate use.
 /* LICENSE
@@ -70,7 +70,7 @@ int     ext_prop_mask(const char *param_name, const char *pattern)
        "alias", EXT_PROP_ALIAS,
        "forward", EXT_PROP_FORWARD,
        "include", EXT_PROP_INCLUDE,
-       "generics", EXT_PROP_GENERICS,
+       "generic", EXT_PROP_GENERIC,
        0,
     };
 
index 4d7ef1e1813823074ba4c7a9f3e84b9738b6dcb2..01f0ea088a5a6400fd44db367891ae9992818f9a 100644 (file)
@@ -19,7 +19,7 @@
 #define EXT_PROP_ALIAS         (1<<2)
 #define EXT_PROP_FORWARD       (1<<3)
 #define EXT_PROP_INCLUDE       (1<<4)
-#define EXT_PROP_GENERICS      (1<<5)
+#define EXT_PROP_GENERIC       (1<<5)
 
 extern int ext_prop_mask(const char *, const char *);
 
index f6c08929629b0151f74a7511f0b0bb2d61785fbc..ebce57eaa3986b87fc82ff2dc1cd984741a748ce 100644 (file)
@@ -969,9 +969,9 @@ extern bool var_smtp_defer_mxaddr;
 #define DEF_SMTP_SEND_XFORWARD 0
 extern bool var_smtp_send_xforward;
 
-#define VAR_SMTP_GENERICS_MAPS "smtp_generics_maps"
-#define DEF_SMTP_GENERICS_MAPS ""
-extern char *var_smtp_generics_maps;
+#define VAR_SMTP_GENERIC_MAPS  "smtp_generic_maps"
+#define DEF_SMTP_GENERIC_MAPS  ""
+extern char *var_smtp_generic_maps;
 
  /*
   * SMTP server. The soft error limit determines how many errors an SMTP
index 5cfbb073078363ff44ca17b62ff59dafdebc0661..05ed686147506e6359354d3088f0a368837d858f 100644 (file)
@@ -20,7 +20,7 @@
   * Patches change the patchlevel and the release date. Snapshots change the
   * release date only.
   */
-#define MAIL_RELEASE_DATE      "20050210"
+#define MAIL_RELEASE_DATE      "20050211"
 #define MAIL_VERSION_NUMBER    "2.2"
 
 #define VAR_MAIL_VERSION       "mail_version"
index d502db114eb112af9544522f116122164a6d1d15..ac0df37996ed8db6fd34381dee676dd83abc18b0 100644 (file)
 /*     access(5), Postfix SMTP access control table
 /*     aliases(5), Postfix alias database
 /*     canonical(5), Postfix input address rewriting
-/*     generics(5), Postfix output address rewriting
+/*     generic(5), Postfix output address rewriting
 /*     header_checks(5), body_checks(5), Postfix content inspection
 /*     relocated(5), Users that have moved
 /*     transport(5), Postfix routing table
index 79fc0361502eef09ef4c5f6500becde5303db7f3..b0bbf70ff510f5eeb48461f707bed0c5dd0f2524 100644 (file)
 /*     A case insensitive list of EHLO keywords (pipelining, starttls,
 /*     auth, etc.) that the SMTP client will ignore in the EHLO response
 /*     from a remote SMTP server.
-/* .IP "\fBsmtp_generics_maps (empty)\fR"
+/* .IP "\fBsmtp_generic_maps (empty)\fR"
 /*     Optional lookup tables that perform address rewriting in the
 /*     SMTP client, typically to transform a locally valid address into
 /*     a globally valid address when sending mail across the Internet.
@@ -495,7 +495,7 @@ int     var_smtp_tls_scert_vd;
 bool    var_smtp_tls_note_starttls_offer;
 #endif
 
-char   *var_smtp_generics_maps;
+char   *var_smtp_generic_maps;
 char   *var_prop_extension;
 
  /*
@@ -507,7 +507,7 @@ int     smtp_host_lookup_mask;
 STRING_LIST *smtp_cache_dest;
 SCACHE *smtp_scache;
 MAPS   *smtp_ehlo_dis_maps;
-MAPS   *smtp_generics_maps;
+MAPS   *smtp_generic_maps;
 int     smtp_ext_prop_mask;
 
 #ifdef USE_TLS
@@ -682,14 +682,14 @@ static void pre_init(char *unused_name, char **unused_argv)
                                         DICT_FLAG_LOCK);
 
     /*
-     * Generics table.
+     * Generic maps.
      */
     if (*var_prop_extension)
        smtp_ext_prop_mask =
            ext_prop_mask(VAR_PROP_EXTENSION, var_prop_extension);
-    if (*var_smtp_generics_maps)
-       smtp_generics_maps =
-           maps_create(VAR_SMTP_GENERICS_MAPS, var_smtp_generics_maps,
+    if (*var_smtp_generic_maps)
+       smtp_generic_maps =
+           maps_create(VAR_SMTP_GENERIC_MAPS, var_smtp_generic_maps,
                        DICT_FLAG_LOCK);
 }
 
@@ -740,7 +740,7 @@ int     main(int argc, char **argv)
        VAR_SMTP_EHLO_DIS_MAPS, DEF_SMTP_EHLO_DIS_MAPS, &var_smtp_ehlo_dis_maps, 0, 0,
        VAR_SMTP_TLS_PER_SITE, DEF_SMTP_TLS_PER_SITE, &var_smtp_tls_per_site, 0, 0,
        VAR_PROP_EXTENSION, DEF_PROP_EXTENSION, &var_prop_extension, 0, 0,
-       VAR_SMTP_GENERICS_MAPS, DEF_SMTP_GENERICS_MAPS, &var_smtp_generics_maps, 0, 0,
+       VAR_SMTP_GENERIC_MAPS, DEF_SMTP_GENERIC_MAPS, &var_smtp_generic_maps, 0, 0,
        0,
     };
     static CONFIG_TIME_TABLE time_table[] = {
index 8b52009cab5c51184b185f527eac9c14c4e336e8..53d918656066fc12ddc9fbe843741b8dabeb3c77 100644 (file)
@@ -155,7 +155,7 @@ extern STRING_LIST *smtp_cache_dest;        /* cached destinations */
 
 extern MAPS *smtp_ehlo_dis_maps;       /* ehlo keyword filter */
 
-extern MAPS *smtp_generics_maps;       /* make internal address valid */
+extern MAPS *smtp_generic_maps;                /* make internal address valid */
 extern int smtp_ext_prop_mask;         /* address externsion propagation */
 
 #ifdef USE_TLS
index 30ad1c1fbffd205de7d6adf3ed52207a8c17a6ea..31d02a7d8887473c563b0fabf1574a0c739a6a97 100644 (file)
@@ -740,7 +740,7 @@ static void smtp_header_rewrite(void *context, int header_class,
     char   *end_line;
 
     /*
-     * Rewrite primary header addresses that match the smtp_generics_table.
+     * Rewrite primary header addresses that match the smtp_generic_maps.
      * The cleanup server already enforces that all headers have proper
      * lengths and that all addresses are in proper form, so we don't have to
      * repeat that.
@@ -755,8 +755,8 @@ static void smtp_header_rewrite(void *context, int header_class,
                            + strlen(header_info->name) + 1);
        addr_list = tok822_grep(tree, TOK822_ADDR);
        for (tpp = addr_list; *tpp; tpp++)
-           did_rewrite |= smtp_map11_tree(tpp[0], smtp_generics_maps,
-                                   smtp_ext_prop_mask & EXT_PROP_GENERICS);
+           did_rewrite |= smtp_map11_tree(tpp[0], smtp_generic_maps,
+                                   smtp_ext_prop_mask & EXT_PROP_GENERIC);
        if (did_rewrite) {
            vstring_sprintf(buf, "%s: ", header_info->name);
            tok822_externalize(buf, tree, TOK822_STR_HEAD);
@@ -838,9 +838,9 @@ static int smtp_loop(SMTP_STATE *state, NOCLOBBER int send_state,
      */
 #define REWRITE_ADDRESS(dst, src) do { \
        vstring_strcpy(dst, src); \
-       if (*(src) && smtp_generics_maps) \
-           smtp_map11_internal(dst, smtp_generics_maps, \
-               smtp_ext_prop_mask & EXT_PROP_GENERICS); \
+       if (*(src) && smtp_generic_maps) \
+           smtp_map11_internal(dst, smtp_generic_maps, \
+               smtp_ext_prop_mask & EXT_PROP_GENERIC); \
     } while (0)
 
 #define QUOTE_ADDRESS(dst, src) do { \
@@ -1349,10 +1349,10 @@ static int smtp_loop(SMTP_STATE *state, NOCLOBBER int send_state,
                (var_disable_mime_oconv == 0
                 && (session->features & SMTP_FEATURE_8BITMIME) == 0
                 && strcmp(request->encoding, MAIL_ATTR_ENC_7BIT) != 0);
-           if (downgrading || smtp_generics_maps)
+           if (downgrading || smtp_generic_maps)
                session->mime_state = mime_state_alloc(MIME_OPT_DOWNGRADE
                                                  | MIME_OPT_REPORT_NESTING,
-                                                      smtp_generics_maps ?
+                                                      smtp_generic_maps ?
                                                       smtp_header_rewrite :
                                                       smtp_header_out,
                                                     (MIME_STATE_ANY_END) 0,
index e679d049e56de3f58cec64eb3a5aca9b77d908fb..e3144e865459dc616de27d9517f40c092b8bf66c 100644 (file)
 /*     with the specified session information.
 /*
 /*     tls_scache_sequence() iterates over the specified TLS
-/*     session cache and returns the first or next entry that
-/*     matches the session timeout, OpenSSL version and flags
-/*     restrictions.  Entries that don't satisfy the requirements
+/*     session cache and either returns the first or next entry
+/*     that matches the session timeout, OpenSSL version and flags
+/*     restrictions, or returns no data.  Entries that don't
+/*     satisfy the requirements
 /*     are silently deleted.  Specify TLS_SCACHE_SEQUENCE_NOTHING
 /*     as the third and last argument to disable OpenSSL version
 /*     and flags restrictions, and to disable saving of cache
 /*     entry content or cache entry ID information.  This is useful
-/*     when purging expired entries.
+/*     when purging expired entries. A result value of zero means
+/*     that the end of the cache was reached.
 /*
 /*     tls_scache_delete() removes the specified cache entry from
 /*     the specified TLS session cache.
@@ -454,10 +456,11 @@ int     tls_scache_sequence(TLS_SCACHE *cp, int first_next,
      * XXX Deleting entries while enumerating a map can he tricky. Some map
      * types have a concept of cursor and support a "delete the current
      * element" operation. Some map types without cursors don't behave well
-     * when the current first/next entry is deleted (example: Berkeley DB <
-     * 2). To avoid trouble, we delete an expired entry after advancing the
-     * current first/next position beyond it, and ignore client requests to
-     * delete the current entry.
+     * when the current first/next entry is deleted (example: with Berkeley
+     * DB < 2, the "next" operation produces garbage). To avoid trouble, we
+     * delete an expired entry after advancing the current first/next
+     * position beyond it, and ignore client requests to delete the current
+     * entry.
      */
 
     /*