~ubuntu-branches/ubuntu/dapper/postfix/dapper-security

« back to all changes in this revision

Viewing changes to README_FILES/DATABASE_README

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2005-12-07 15:39:11 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051207153911-hutf07z6i8ty25z5
Tags: 2.2.6-1
* New upstream.
  - the *SQL clients did not uniformly choose the database host from
    the available pool
  - raise the "policy violation" flag when a client request exceeds
    a concurrency or rate limit.
  - don't do smtpd_end_of_data_restrictions after the transaction
    failed due to, e.g., a write error.
  - two messages could get the same message ID due to a race
    condition. This time window was increased when queue file creation
    was postponed from MAIL FROM until the first accepted RCPT TO.  The
    window is closed again.
  - the queue manager did not write a per-recipient defer logfile record
    when the delivery agent crashed after the initial handshake with the
    queue manager, and before reporting the delivery status to the queue
    manager.
  - moved code around from one place to another to make REDIRECT, FILTER,
    HOLD and DISCARD access(5) table actions work in
    smtpd_end_of_data_restrictions.  PREPEND will not be fixed; it must
    be specified before the message content is received.
* Updated Italian translations.  Closes: #336925
* Swedish translations.  Closes: #339746
* Switch to libdb4.3.  Closes: #336488
* Add Replaces: mail-transport-agent.  Closes: #325624
* Merge changes from ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
update fails because the disk is full or because something else happens. This
124
124
is because commands such as postmap(1) or postalias(1) overwrite existing
125
125
files. If the update fails in the middle then you have no usable database, and
126
 
Postfix will stop working.
 
126
Postfix will stop working. This is not an issue with the CDB database type
 
127
available with Postfix 2.2 and later, because CDB database rebuilds are atomic.
127
128
 
128
129
With multi-file databases such as DBM, there is no simple solution. With
129
130
Berkeley DB and other "one file" databases, it is possible to add some extra
169
170
 
170
171
PPoossttffiixx llooookkuupp ttaabbllee ttyyppeess
171
172
 
172
 
To find out what database types your Postfix system supports, use the "postconf
173
 
-m" command. Here is a list of database types that are often supported:
 
173
To find out what database types your Postfix system supports, use the "ppoossttccoonnff
 
174
--mm" command. Here is a list of database types that are often supported:
174
175
 
175
176
    bbttrreeee
176
177
        A sorted, balanced tree structure. This is available only on systems
177
178
        with support for Berkeley DB databases. Database files are created with
178
179
        the postmap(1) or postalias(1) command. The lookup table name as used
179
180
        in "btree:table" is the database file name without the ".db" suffix.
 
181
    ccddbb
 
182
        A read-optimized structure with no support for incremental updates.
 
183
        Database files are created with the postmap(1) or postalias(1) command.
 
184
        The lookup table name as used in "cdb:table" is the database file name
 
185
        without the ".cdb" suffix. This feature is available with Postfix 2.2
 
186
        and later.
180
187
    cciiddrr
181
188
        A table that associates values with Classless Inter-Domain Routing
182
189
        (CIDR) patterns. The table format is described in cidr_table(5).
201
208
    mmyyssqqll (read-only)
202
209
        Perform MySQL database lookups. Configuration details are given in
203
210
        mysql_table(5).
 
211
    nneettiinnffoo (read-only)
 
212
        Perform Netinfo database lookups.
 
213
    nniiss (read-only)
 
214
        Perform NIS database lookups.
 
215
    nniisspplluuss (read-only)
 
216
        Perform NIS+ database lookups. Configuration details are given in
 
217
        nisplus_table(5).
204
218
    ppccrree (read-only)
205
219
        A lookup table based on Perl Compatible Regular Expressions. The file
206
220
        format is described in pcre_table(5). The lookup table name as used in
215
229
        A lookup table based on regular expressions. The file format is
216
230
        described in regexp_table(5). The lookup table name as used in "regexp:
217
231
        table" is the name of the regular expression file.
 
232
    ssddbbmm
 
233
        An indexed file type based on hashing. This is available only on
 
234
        systems with support for SDBM databases. Database files are created
 
235
        with the postmap(1) or postalias(1) command. The lookup table name as
 
236
        used in "sdbm:table" is the database file name without the ".dir" or
 
237
        ".pag" suffix.
218
238
    ssttaattiicc (read-only)
219
239
        Always returns its lookup table name as lookup result. For example, the
220
240
        lookup table "static:foobar" always returns the string "foobar" as
224
244
        in tcp_table(5). The lookup table name is "tcp:host:port" where "host"
225
245
        specifies a symbolic hostname or a numeric IP address, and "port"
226
246
        specifies a symbolic service name or a numeric port number. This
227
 
        protocol is not available in Postfix version 2.1.
 
247
        protocol is not available up to and including Postfix version 2.2.
228
248
    uunniixx (read-only)
229
249
        A limited way to query the UNIX authentication database. The following
230
250
        tables are implemented: