2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-30 05:38:06 +00:00

postfix-2.1-RC3-20040414

This commit is contained in:
Wietse Venema 2004-04-14 00:00:00 -05:00 committed by Viktor Dukhovni
parent aa0d5f8301
commit c902bd55cd
136 changed files with 1321 additions and 1009 deletions

View File

@ -85,9 +85,9 @@ not yet implement, and how well it works with other software.
The HISTORY file gives a detailed log of changes to the software. The HISTORY file gives a detailed log of changes to the software.
Point your browser at html/index.html for Postfix documentation, Point your browser at html/index.html for Postfix documentation
for manual pages, and for the unavoidable Postfix FAQ. Expect to and for hyperlinked versions of Postfix manual pages. Expect
see updated versions on-line at http://www.postfix.org/ to see updated versions on-line at http://www.postfix.org/
Point your MANPATH environment variable at the `man' directory (use Point your MANPATH environment variable at the `man' directory (use
an absolute path) for UNIX-style on-line manual pages. These pages an absolute path) for UNIX-style on-line manual pages. These pages
@ -109,7 +109,7 @@ Documentation:
Example files: Example files:
conf/ sample configuration files conf/ configuration files, run-time scripts
examples/ chroot environments, virtual domains examples/ chroot environments, virtual domains
Library routines: Library routines:
@ -134,20 +134,24 @@ Command-line utilities:
Postfix daemons: Postfix daemons:
src/anvil/ Connection count/rate limiter
src/bounce/ Bounce or defer mail src/bounce/ Bounce or defer mail
src/cleanup/ Canonicalize and enqueue mail src/cleanup/ Canonicalize and enqueue mail
src/error/ Trivial error mailer src/error/ Trivial error mailer
src/lmtp/ LMTP client
src/local/ Local delivery src/local/ Local delivery
src/master/ Postfix resident superserver src/master/ Postfix resident superserver
src/oqmgr/ Old queue manager
src/pickup/ Local pickup src/pickup/ Local pickup
src/pipe/ Pipe delivery src/pipe/ Pipe delivery
src/qmgr/ Queue manager src/qmgr/ Queue manager
src/qmqpd/ QMQPD server
src/showq/ List Postfix queue status src/showq/ List Postfix queue status
src/spawn/ Run any command from a network socket
src/lmtp/ LMTP client
src/smtp/ SMTP client src/smtp/ SMTP client
src/smtpd/ SMTP server src/smtpd/ SMTP server
src/spawn/ Run non-Postfix server
src/trivial-rewrite/ Address rewriting and resolving src/trivial-rewrite/ Address rewriting and resolving
src/verify/ address verification service
src/virtual/ virtual mailbox-only delivery agent src/virtual/ virtual mailbox-only delivery agent
Test programs: Test programs:
@ -159,9 +163,9 @@ Miscellaneous:
auxiliary/ Auxiliary software etc. auxiliary/ Auxiliary software etc.
bin/ Postfix command executables bin/ Postfix command executables
conf/ Sample configuration files conf/ Configuration files, run-time scripts
include/ Installed include files include/ Installed include files
lib/ Installed object libraries lib/ Installed object libraries
libexec/ Postfix daemon executables libexec/ Postfix daemon executables
mantools/ Manual page utilities mantools/ Manual page utilities
proto/ Manual pages for sample configuration files proto/ Documentation source

View File

@ -9278,12 +9278,41 @@ Apologies for any names omitted.
Cleanup: README file installation is now optional. Files: Cleanup: README file installation is now optional. Files:
postfix-install, conf/postfix-files, conf/post-install. postfix-install, conf/postfix-files, conf/post-install.
20040414
Cleanup: references to sample-mumble.cf files removed,
conf/mumble_table files removed, new commands added to
conf/postfix-script.
Cleanups: function declared in but used as void, missing
include file, missing const qualifier, unused variable.
Matthias Andree. Files: bounce/bounce_notify_util.c,
bounce/bounce_service.h, postlog/postlog.c, smtpd/smtpd_check.c,
util/attr_scan64.c.
Bugfix: more robust version of SIGHUP test of 20040331.
Victor Duchovni, Morgan Stanley. File: postdrop/postdrop.c.
Safety: added NOCLOBBER qualifiers to local variables that
might be clobbered by longjmp(). Files: util/sys_defs.h,
smtp/smtp_proto.c, lmtp/lmtp_proto.c, smtpd/smtpd_check.c,
smtpstone/smtp-source.c.
Bugfix: sub-level Makefiles no longer turned on the extra
compiler warnings. Files: Makefile.in.*, makedefs.*.
Open problems: Open problems:
Low: noise filter: allow smtp(8) to retry immediately if Low: noise filter: allow smtp(8) to retry immediately if
all MXes return a quick ECONNRESET or 4xx reply during the all MXes return a quick ECONNRESET or 4xx reply during the
initial handshake. initial handshake.
Low: add msg_panic() guard to ensure that at least one of
DICT_FLAG_TRY1NULL or DICT_FLAG_TRY1NULL is set upon lookup.
Low: make post-install a "postfix-only script" so it can
take data from the environment instead of main.cf.
Low: qmgr should truncate trace logfile before attempting Low: qmgr should truncate trace logfile before attempting
delivery. delivery.

View File

@ -1,6 +1,6 @@
SHELL = /bin/sh SHELL = /bin/sh
WARN = -Wmissing-prototypes -Wformat WARN = -Wmissing-prototypes -Wformat
OPTS = 'CC=$(CC) -DSNAPSHOT' OPTS = 'CC=$(CC)'
DIRS = src/util src/global src/dns src/master src/postfix src/smtpstone \ DIRS = src/util src/global src/dns src/master src/postfix src/smtpstone \
src/sendmail src/error src/pickup src/cleanup src/smtpd src/local \ src/sendmail src/error src/pickup src/cleanup src/smtpd src/local \
src/lmtp src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce \ src/lmtp src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce \
@ -15,7 +15,7 @@ default: update
makefiles Makefiles: makefiles Makefiles:
set -e; for i in $(DIRS); do \ set -e; for i in $(DIRS); do \
(set -e; echo "[$$i]"; cd $$i; rm -f Makefile; \ (set -e; echo "[$$i]"; cd $$i; rm -f Makefile; \
$(MAKE) $(OPTS) -f Makefile.in Makefile MAKELEVEL=) || exit 1; \ $(MAKE) -f Makefile.in Makefile MAKELEVEL=) || exit 1; \
done; done;
rm -f Makefile; (set -e; $(SHELL) makedefs && cat Makefile.in) >Makefile rm -f Makefile; (set -e; $(SHELL) makedefs && cat Makefile.in) >Makefile
(echo "# Do not edit -- this file documents how Postfix was built for your machine."; $(SHELL) makedefs) >makedefs.tmp (echo "# Do not edit -- this file documents how Postfix was built for your machine."; $(SHELL) makedefs) >makedefs.tmp

View File

@ -1,6 +1,6 @@
SHELL = /bin/sh SHELL = /bin/sh
WARN = -Wmissing-prototypes -Wformat WARN = -Wmissing-prototypes -Wformat
OPTS = 'CC=$(CC) -DSNAPSHOT' OPTS = 'CC=$(CC)'
DIRS = src/util src/global src/dns src/master src/postfix src/smtpstone \ DIRS = src/util src/global src/dns src/master src/postfix src/smtpstone \
src/sendmail src/error src/pickup src/cleanup src/smtpd src/local \ src/sendmail src/error src/pickup src/cleanup src/smtpd src/local \
src/lmtp src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce \ src/lmtp src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce \
@ -15,7 +15,7 @@ default: update
makefiles Makefiles: makefiles Makefiles:
set -e; for i in $(DIRS); do \ set -e; for i in $(DIRS); do \
(set -e; echo "[$$i]"; cd $$i; rm -f Makefile; \ (set -e; echo "[$$i]"; cd $$i; rm -f Makefile; \
$(MAKE) $(OPTS) -f Makefile.in Makefile MAKELEVEL=) || exit 1; \ $(MAKE) -f Makefile.in Makefile MAKELEVEL=) || exit 1; \
done; done;
rm -f Makefile; (set -e; $(SHELL) makedefs && cat Makefile.in) >Makefile rm -f Makefile; (set -e; $(SHELL) makedefs && cat Makefile.in) >Makefile
(echo "# Do not edit -- this file documents how Postfix was built for your machine."; $(SHELL) makedefs) >makedefs.tmp (echo "# Do not edit -- this file documents how Postfix was built for your machine."; $(SHELL) makedefs) >makedefs.tmp

View File

@ -15,7 +15,7 @@ default: update
makefiles Makefiles: makefiles Makefiles:
set -e; for i in $(DIRS); do \ set -e; for i in $(DIRS); do \
(set -e; echo "[$$i]"; cd $$i; rm -f Makefile; \ (set -e; echo "[$$i]"; cd $$i; rm -f Makefile; \
$(MAKE) $(OPTS) -f Makefile.in Makefile MAKELEVEL=) || exit 1; \ $(MAKE) -f Makefile.in Makefile MAKELEVEL=) || exit 1; \
done; done;
rm -f Makefile; (set -e; $(SHELL) makedefs && cat Makefile.in) >Makefile rm -f Makefile; (set -e; $(SHELL) makedefs && cat Makefile.in) >Makefile
(echo "# Do not edit -- this file documents how Postfix was built for your machine."; $(SHELL) makedefs) >makedefs.tmp (echo "# Do not edit -- this file documents how Postfix was built for your machine."; $(SHELL) makedefs) >makedefs.tmp

View File

@ -10,6 +10,8 @@ Postfix database type of "hash" and "btree". The name of a Postfix Berkeley DB
database is the name of the database file without the ".db" suffix. Berkeley DB database is the name of the database file without the ".db" suffix. Berkeley DB
databases are maintained with the postmap(1) command. databases are maintained with the postmap(1) command.
Note: Berkeley DB version 4 is not supported by Postfix versions before 2.0.
This document describes: This document describes:
1. How to build Postfix on systems without Berkeley DB library. 1. How to build Postfix on systems without Berkeley DB library.
@ -27,10 +29,16 @@ Many commercial UNIXes ship without Berkeley DB support. Examples are Solaris,
HP-UX, IRIX, UNIXWARE. In order to build Postfix with Berkeley DB support you HP-UX, IRIX, UNIXWARE. In order to build Postfix with Berkeley DB support you
need to download and install the source code from http://www.sleepycat.com/ need to download and install the source code from http://www.sleepycat.com/
Warning: some Linux system libraries use Berkeley DB. If you compile Postfix Warning: some Linux system libraries use Berkeley DB, as do some third-party
with a non-default Berkeley DB implementation, then every Postfix program will libraries such as SASL. If you compile Postfix with a different Berkeley DB
dump core because either the system library or Postfix itself ends up using the implementation, then every Postfix program will dump core because either the
wrong version. system library, SASL library, or Postfix itself ends up using the wrong
version.
The more recent Berkeley DB versions have a compile-time switch, "--with-
uniquename", which renames the symbols so that multiple versions of Berkeley DB
can co-exist in the same application. Although wasteful this may be the only
way to keep things from falling apart.
To build Postfix after you installed the Berkeley DB from http:// To build Postfix after you installed the Berkeley DB from http://
www.sleepycat.com/, use something like: www.sleepycat.com/, use something like:
@ -63,7 +71,7 @@ To build Postfix on BSD systems with a specific DB version, use a variant of
the following commands: the following commands:
% make tidy % make tidy
% make makefiles CCARGS=-I/usr/include/db2 AUXLIBS=-ldb2 % make makefiles CCARGS=-I/usr/include/db3 AUXLIBS=-ldb3
% make % make
Warning: the file format produced by Berkeley DB version 1 is not compatible Warning: the file format produced by Berkeley DB version 1 is not compatible

View File

@ -35,14 +35,14 @@ its design.
HHooww tthhee qquueeuuee mmaannaaggeerr sscchheedduulleerr wwoorrkkss HHooww tthhee qquueeuuee mmaannaaggeerr sscchheedduulleerr wwoorrkkss
The following text is from Patrik Rak and should be read together with the The following text is from Patrik Rak and should be read together with the
sample-scheduler.cf file postconf(5) manual that describes each configuration parameter in detail.
From user's point of view, qmgr and nqmgr are both the same, except for how From user's point of view, qmgr and nqmgr are both the same, except for how
next message is chosen when delivery agent becomes available. You already know next message is chosen when delivery agent becomes available. You already know
that qmgr uses round-robin by destination while nqmgr uses simple FIFO, except that qmgr uses round-robin by destination while nqmgr uses simple FIFO, except
for some preemptive magic. The [sample-scheduler.cf file] documents all the for some preemptive magic. The postconf(5) manual documents all the knobs the
knobs the user can use to control this preemptive magic - there is nothing else user can use to control this preemptive magic - there is nothing else to the
to the preemption than the quite simple conditions described below. preemption than the quite simple conditions described below.
As for programmer-level documentation, this will have to be extracted from all As for programmer-level documentation, this will have to be extracted from all
those emails we have exchanged with Wietse [rats! I hoped that Patrik would do those emails we have exchanged with Wietse [rats! I hoped that Patrik would do

View File

@ -23,4 +23,6 @@ SMTPD policy delegation protocol provides a superior mechanism.
find . type f -print | xargs egrep -i 'tcp_table|tcp-based' find . type f -print | xargs egrep -i 'tcp_table|tcp-based'
- Change top-level Makefiles, disable -DSNAPSHOT. - Change top-level Makefile.stable/snapshot, makedefs.stable/snapshot
- Delete TODO-BEFORE-RELEASE :-)

View File

@ -280,7 +280,8 @@
# postconf(5), configuration parameters # postconf(5), configuration parameters
# #
# README FILES # README FILES
# Use "postconf readme_directory" to locate this information. # Use "postconf readme_directory" or "postconf html_direc-
# tory" to locate this information.
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# SMTPD_ACCESS_README, built-in SMTP server access control # SMTPD_ACCESS_README, built-in SMTP server access control
# SMTPD_POLICY_README, external policy server # SMTPD_POLICY_README, external policy server

View File

@ -184,7 +184,8 @@ decode: root
# postconf(5), configuration parameters # postconf(5), configuration parameters
# #
# README FILES # README FILES
# Use "postconf readme_directory" to locate this information. # Use "postconf readme_directory" or "postconf html_direc-
# tory" to locate this information.
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# #
# LICENSE # LICENSE

View File

@ -207,7 +207,8 @@
# virtual(5), virtual aliasing # virtual(5), virtual aliasing
# #
# README FILES # README FILES
# Use "postconf readme_directory" to locate this information. # Use "postconf readme_directory" or "postconf html_direc-
# tory" to locate this information.
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# ADDRESS_REWRITING_README, address rewriting guide # ADDRESS_REWRITING_README, address rewriting guide
# #

View File

@ -310,7 +310,8 @@
# RFC 2047, message header encoding for non-ASCII text # RFC 2047, message header encoding for non-ASCII text
# #
# README FILES # README FILES
# Use "postconf readme_directory" to locate this information. # Use "postconf readme_directory" or "postconf html_direc-
# tory" to locate this information.
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# CONTENT_INSPECTION_README, Postfix content inspection overview # CONTENT_INSPECTION_README, Postfix content inspection overview
# BUILTIN_FILTER_README, Postfix built-in content inspection # BUILTIN_FILTER_README, Postfix built-in content inspection

View File

@ -1,444 +0,0 @@
# LDAP_TABLE(5) LDAP_TABLE(5)
#
# NAME
# ldap_table - Postfix LDAP client configuration
#
# SYNOPSIS
# postmap -q "string" ldap:/etc/postfix/filename
#
# postmap -q - ldap:/etc/postfix/filename <inputfile
#
# DESCRIPTION
# The Postfix mail system uses optional tables for address
# rewriting or mail routing. These tables are usually in dbm
# or db format.
#
# Alternatively, lookup tables can be specified as LDAP
# databases. In order to use LDAP lookups, define an LDAP
# source as a lookup table in main.cf, for example:
# alias_maps = ldap:/etc/ldap-aliases.cf
#
# The file /etc/postfix/ldap-aliases.cf has the same format
# as the Postfix main.cf file, and can specify the parame-
# ters described below. An example is given at the end of
# this manual.
#
# For details about LDAP SSL and STARTTLS, see the section
# on SSL and STARTTLS below.
#
# BACKWARDS COMPATIBILITY
# For backwards compatibility LDAP parameters can also be
# defined in main.cf. In order to do that, specify as LDAP
# source a name that doesn't begin with a slash or a dot.
# The LDAP parameters will then be accessible as the name
# you've given the source in its definition, an underscore,
# and the name of the parameter. For example, if the map is
# specified as "ldap:ldapsource", the "server_host" parame-
# ter below would be defined in main.cf as "ldap-
# source_server_host".
#
# Note: with this form, the passwords for the LDAP sources
# are written in main.cf, which is normally world-readable.
# Support for this form will be removed in a future Postfix
# version.
#
# LIST MEMBERSHIP
# When using LDAP to store lists such as $mynetworks,
# $mydestination, $relay_domains, $local_recipient_maps,
# etc., it is important to understand that the table must
# store each list member as a separate key. The table lookup
# verifies the *existence* of the key. See "Postfix lists
# versus tables" in the DATABASE_README document for a dis-
# cussion.
#
# Do NOT create tables that return the full list of domains
# in $mydestination or $relay_domains etc., or IP addresses
# in $mynetworks.
#
# DO create tables with each matching item as a key and with
# an arbitrary value. With LDAP databases it is not uncommon
# to return the key itself.
#
# For example, NEVER do this in a map defining $mydestina-
# tion:
# query_filter = domain=*
# result_attribute = domain
#
# Do this instead:
# query_filter = domain=%s
# result_attribute = domain
#
# GENERAL LDAP PARAMETERS
# In the text below, default values are given in parenthe-
# ses. Note: don't use quotes in these variables; at least,
# not until the Postfix configuration routines understand
# how to deal with quoted strings.
#
# server_host (default: localhost)
# The name of the host running the LDAP server, e.g.
# server_host = ldap.your.com
#
# Depending on the LDAP client library you're using,
# it should be possible to specify multiple servers
# here, with the library trying them in order should
# the first one fail. It should also be possible to
# give each server in the list a different port
# (overriding server_port below), by naming them like
# server_host = ldap.your.com:1444
#
# With OpenLDAP, a (list of) LDAP URLs can be used to
# specify both the hostname(s) and the port(s):
# server_host = ldap://ldap.your.com:1444
#
# All LDAP URLs accepted by the OpenLDAP library are
# supported, including connections over UNIX domain
# sockets, and LDAP SSL (the last one provided that
# OpenLDAP was compiled with support for SSL):
# server_host = ldapi://%2Fsome%2Fpath
# server_host = ldaps://ldap.your.com:636
#
# server_port (default: 389)
# The port the LDAP server listens on, e.g.
# server_port = 778
#
# search_base (No default; you must configure this)
# The RFC2253 base DN at which to conduct the search,
# e.g.
# search_base = dc=your, dc=com
#
# timeout (default: 10 seconds)
# The number of seconds a search can take before tim-
# ing out, e.g.
# timeout = 5
#
# query_filter (default: mailacceptinggeneralid=%s)
# The RFC2254 filter used to search the directory,
# where %s is a substitute for the address Postfix is
# trying to resolve, e.g.
# query_filter = (&(mail=%s)(paid_up=true))
#
# This parameter supports the following '%' expan-
# sions:
#
# %s This is replaced by the input key. RFC 2254
# quoting is used to make sure that the input
# key does not add unexpected metacharacters.
#
# %u When the input key is an address of the form
# user@domain, %u is replaced by the (RFC
# 2254) quoted local part of the address. If
# no domain is specified, %u is replaced by
# the entire search string.
#
# %d When the input key is an address of the form
# user@domain, %d is replaced by the (RFC
# 2254) quoted domain part of the address.
# When the input key has no domain qualifier,
# %d is replaced by the entire search string.
#
# The "domain" parameter described below limits the
# input keys to addresses in matching domains. When
# the "domain" parameter is non-empty, LDAP queries
# for unqualified addresses or addresses in non-
# matching domains are suppressed and return no
# results.
#
# NOTE: DO NOT put quotes around the query filter.
#
# result_filter (default: %s)
# Format template applied to result attributes. Sup-
# ports the same expansions as the query_filter, and
# can be easily used to append (or prepend) text.
# This parameter supports the following '%' expan-
# sions:
#
# %s This is replaced by the value of the result
# attribute.
#
# %u When the result attribute is an address of
# the form user@domain, %u is replaced local
# part of the address, if the result attribute
# is unqualified, %u is replaced by the entire
# attribute value.
#
# %d When a result attribute is an address of the
# form user@domain, %d is replaced by the
# domain part of the attribute value. If an
# attribute value is unqualified %d is
# replaced by the entire attribute value.
#
# For example, using "result_filter = smtp:[%s]"
# allows one to use a mailHost attribute as the basis
# of a transport(5) table. After applying the result
# filter, multiple values are concatenated as comma
# separated strings. The expansion_limit and
# size_limit parameters explained below allow one to
# restrict the number of values in the result, which
# is especially useful for maps that should return a
# single value.
#
# The default value %s specifies that each attribute
# value should be used as is.
#
# NOTE: DO NOT put quotes around the result filter!
#
# domain (default: no domain list)
# This is a list of domain names, paths to files, or
# dictionaries. When specified, only fully qualified
# search keys with a *non-empty* localpart and a
# matching domain are eligible for lookup: 'user'
# lookups, bare domain lookups and "@domain" lookups
# are not performed. This can significantly reduce
# the query load on the LDAP server.
# domain = postfix.org, hash:/etc/postfix/search-
# domains
#
# It is best not to use LDAP to store the domains
# eligible for LDAP lookups.
#
# NOTE: DO NOT define this parameter for local(8)
# aliases.
#
# result_attribute (default: maildrop)
# The attribute(s) Postfix will read from any direc-
# tory entries returned by the lookup, to be resolved
# to an email address.
# result_attribute = mailbox,maildrop
#
# special_result_attribute (No default)
# The attribute(s) of directory entries that can con-
# tain DNs or URLs. If found, a recursive subsequent
# search is done using their values.
# special_result_attribute = member
#
# DN recursion retrieves the same result_attributes
# as the main query, including the special attributes
# for further recursion. URI processing retrieves
# only those attributes that are included in the URI
# definition and are *also* listed in
# "result_attribute". If the URI lists any of the
# map's special result attributes, these are also
# retrieved and used recursively.
#
# scope (default: sub)
# The LDAP search scope: sub, base, or one. These
# translate into LDAP_SCOPE_SUBTREE, LDAP_SCOPE_BASE,
# and LDAP_SCOPE_ONELEVEL.
#
# bind (default: yes)
# Whether or not to bind to the LDAP server. Newer
# LDAP implementations don't require clients to bind,
# which saves time. Example:
# bind = no
#
# If you do need to bind, you might consider config-
# uring Postfix to connect to the local machine on a
# port that's an SSL tunnel to your LDAP server. If
# your LDAP server doesn't natively support SSL, put
# a tunnel (wrapper, proxy, whatever you want to call
# it) on that system too. This should prevent the
# password from traversing the network in the clear.
#
# bind_dn (default: empty)
# If you do have to bind, do it with this distin-
# guished name. Example:
# bind_dn = uid=postfix, dc=your, dc=com
#
# bind_pw (default: empty)
# The password for the distinguished name above. If
# you have to use this, you probably want to make the
# map configuration file readable only by the Postfix
# user. When using the obsolete ldap:ldapsource syn-
# tax, with map parameters in main.cf, it is not pos-
# sible to securely store the bind password. This is
# because main.cf needs to be world readable to allow
# local accounts to submit mail via the sendmail com-
# mand. Example:
# bind_pw = postfixpw
#
# cache (IGNORED with a warning)
#
# cache_expiry (IGNORED with a warning)
#
# cache_size (IGNORED with a warning)
# The above parameters are NO LONGER SUPPORTED by
# Postfix. Cache support has been dropped from
# OpenLDAP as of release 2.1.13.
#
# recursion_limit (default: 1000)
# A limit on the nesting depth of DN and URL special
# result attribute evaluation. The limit must be a
# non-zero positive number.
#
# expansion_limit (default: 0)
# A limit on the total number of result elements
# returned (as a comma separated list) by a lookup
# against the map. A setting of zero disables the
# limit. Lookups fail with a temporary error if the
# limit is exceeded. Setting the limit to 1 ensures
# that lookups do not return multiple values.
#
# size_limit (default: $expansion_limit)
# A limit on the number of LDAP entries returned by
# any single LDAP query performed as part of the
# lookup. A setting of 0 disables the limit. Expan-
# sion of DN and URL references involves nested LDAP
# queries, each of which is separately subjected to
# this limit.
#
# Note: even a single LDAP entry can generate multi-
# ple lookup results, via multiple result attributes
# and/or multi-valued result attributes. This limit
# caps the per query resource utilization on the LDAP
# server, not the final multiplicity of the lookup
# result. It is analogous to the "-z" option of
# "ldapsearch".
#
# dereference (default: 0)
# When to dereference LDAP aliases. (Note that this
# has nothing do with Postfix aliases.) The permitted
# values are those legal for the OpenLDAP/UM LDAP
# implementations:
#
# 0 never
#
# 1 when searching
#
# 2 when locating the base object for the search
#
# 3 always
#
# See ldap.h or the ldap_open(3) or ldapsearch(1) man
# pages for more information. And if you're using an
# LDAP package that has other possible values, please
# bring it to the attention of the postfix-
# users@postfix.org mailing list.
#
# chase_referrals (default: 0)
# Sets (or clears) LDAP_OPT_REFERRALS (requires LDAP
# version 3 support).
#
# version (default: 2)
# Specifies the LDAP protocol version to use.
#
# debuglevel (default: 0)
# What level to set for debugging in the OpenLDAP
# libraries.
#
# LDAP SSL AND STARTTLS PARAMETERS
# If you're using the OpenLDAP libraries compiled with SSL
# support, Postfix can connect to LDAP SSL servers and can
# issue the STARTTLS command.
#
# LDAP SSL service can be requested by using a LDAP SSL URL
# in the server_host parameter:
# server_host = ldaps://ldap.your.com:636
#
# STARTTLS can be turned on with the start_tls parameter:
# start_tls = yes
#
# Both forms require LDAP protocol version 3, which has to
# be set explicitly with:
# version = 3
#
# If any of the Postfix programs querying the map is config-
# ured in master.cf to run chrooted, all the certificates
# and keys involved have to be copied to the chroot jail. Of
# course, the private keys should only be readable by the
# user "postfix".
#
# The following parameters are relevant to LDAP SSL and
# STARTTLS:
#
# start_tls (default: no)
# Whether or not to issue STARTTLS upon connection to
# the server. Don't set this with LDAP SSL (the SSL
# session is setup automatically when the TCP connec-
# tion is opened).
#
# tls_ca_cert_dir (No default; set either this or
# tls_ca_cert_file)
# Directory containing X509 Certificate Authority
# certificates in PEM format which are to be recog-
# nized by the client in SSL/TLS connections. The
# files each contain one CA certificate. The files
# are looked up by the CA subject name hash value,
# which must hence be available. If more than one CA
# certificate with the same name hash value exist,
# the extension must be different (e.g. 9d66eef0.0,
# 9d66eef0.1 etc). The search is performed in the
# ordering of the extension number, regardless of
# other properties of the certificates. Use the
# c_rehash utility (from the OpenSSL distribution) to
# create the necessary links.
#
# tls_ca_cert_file (No default; set either this or
# tls_ca_cert_dir)
# File containing the X509 Certificate Authority cer-
# tificates in PEM format which are to be recognized
# by the client in SSL/TLS connections. This setting
# takes precedence over tls_ca_cert_dir.
#
# tls_cert (No default; you must set this)
# File containing client's X509 certificate to be
# used by the client in SSL/ TLS connections.
#
# tls_key (No default; you must set this)
# File containing the private key corresponding to
# the above tls_cert.
#
# tls_require_cert (default: no)
# Whether or not to request server's X509 certificate
# and check its validity when establishing SSL/TLS
# connections.
#
# tls_random_file (No default)
# Path of a file to obtain random bits from when
# /dev/[u]random is not available, to be used by the
# client in SSL/TLS connections.
#
# tls_cipher_suite (No default)
# Cipher suite to use in SSL/TLS negotiations.
#
# EXAMPLE
# Here's a basic example for using LDAP to look up local(8)
# aliases. Assume that in main.cf, you have:
# alias_maps = hash:/etc/aliases,
# ldap:/etc/ldap-aliases.cf
#
# and in ldap:/etc/ldap-aliases.cf you have:
# server_host = ldap.my.com
# search_base = dc=my, dc=com
#
# Upon receiving mail for a local address "ldapuser" that
# isn't found in the /etc/aliases database, Postfix will
# search the LDAP server listening at port 389 on
# ldap.my.com. It will bind anonymously, search for any
# directory entries whose mailacceptinggeneralid attribute
# is "ldapuser", read the "maildrop" attributes of those
# found, and build a list of their maildrops, which will be
# treated as RFC822 addresses to which the message will be
# delivered.
#
# SEE ALSO
# postmap(1), Postfix lookup table manager
# postconf(5), configuration parameters
# mysql_table(5), MySQL lookup tables
# pgsql_table(5), PostgreSQL lookup tables
#
# README FILES
# Use "postconf readme_directory" to locate this information.
# DATABASE_README, Postfix lookup table overview
# LDAP_README, Postfix LDAP client guide
#
# LICENSE
# The Secure Mailer license must be distributed with this
# software.
#
# AUTHOR(S)
# Carsten Hoeger, Hery Rakotoarisoa, John Hensley, Keith
# Stevenson, LaMont Jones, Liviu Daia, Manuel Guesdon, Mike
# Mattice, Prabhat K Singh, Sami Haahtinen, Samuel Tardieu,
# Victor Duchovni, and many others.
#
# LDAP_TABLE(5)

View File

@ -131,12 +131,12 @@ mail_owner = postfix
# gateway, you should also include $mydomain. # gateway, you should also include $mydomain.
# #
# Do not specify the names of virtual domains - those domains are # Do not specify the names of virtual domains - those domains are
# specified elsewhere (see sample-virtual.cf). # specified elsewhere (see VIRTUAL_README).
# #
# Do not specify the names of domains that this machine is backup MX # Do not specify the names of domains that this machine is backup MX
# host for. Specify those names via the relay_domains settings for # host for. Specify those names via the relay_domains settings for
# the SMTP server, or use permit_mx_backup if you are lazy (see # the SMTP server, or use permit_mx_backup if you are lazy (see
# sample-smtpd.cf). # STANDARD_CONFIGURATION_README).
# #
# The local machine is always the final destination for mail addressed # The local machine is always the final destination for mail addressed
# to user@[the.net.work.address] of an interface that the mail system # to user@[the.net.work.address] of an interface that the mail system
@ -181,7 +181,7 @@ mail_owner = postfix
# - You redefine the "local_transport" setting in main.cf. # - You redefine the "local_transport" setting in main.cf.
# #
# - You use the "luser_relay", "mailbox_transport", or "fallback_transport" # - You use the "luser_relay", "mailbox_transport", or "fallback_transport"
# feature of the Postfix local delivery agent (see sample-local.cf). # feature of the Postfix local delivery agent (see local(8)).
# #
# Details are described in the LOCAL_RECIPIENT_README file. # Details are described in the LOCAL_RECIPIENT_README file.
# #
@ -216,7 +216,7 @@ unknown_local_recipient_reject_code = 550
# #
# In particular, "trusted" SMTP clients are allowed to relay mail # In particular, "trusted" SMTP clients are allowed to relay mail
# through Postfix. See the smtpd_recipient_restrictions parameter # through Postfix. See the smtpd_recipient_restrictions parameter
# in file sample-smtpd.cf. # in postconf(5).
# #
# You can specify the list of "trusted" network addresses by hand # You can specify the list of "trusted" network addresses by hand
# or you can let Postfix do it for you (which is the default). # or you can let Postfix do it for you (which is the default).
@ -255,8 +255,8 @@ unknown_local_recipient_reject_code = 550
#mynetworks = hash:/etc/postfix/network_table #mynetworks = hash:/etc/postfix/network_table
# The relay_domains parameter restricts what destinations this system will # The relay_domains parameter restricts what destinations this system will
# relay mail to. See the smtpd_recipient_restrictions restriction in the # relay mail to. See the smtpd_recipient_restrictions description in
# file sample-smtpd.cf for detailed information. # postconf(5) for detailed information.
# #
# By default, Postfix relays mail # By default, Postfix relays mail
# - from "trusted" clients (IP address matches $mynetworks) to any destination, # - from "trusted" clients (IP address matches $mynetworks) to any destination,
@ -280,7 +280,7 @@ unknown_local_recipient_reject_code = 550
# #
# NOTE: Postfix will not automatically forward mail for domains that # NOTE: Postfix will not automatically forward mail for domains that
# list this system as their primary or backup MX host. See the # list this system as their primary or backup MX host. See the
# permit_mx_backup restriction in the file sample-smtpd.cf. # permit_mx_backup restriction description in postconf(5).
# #
#relay_domains = $mydestination #relay_domains = $mydestination
@ -337,25 +337,22 @@ unknown_local_recipient_reject_code = 550
# ADDRESS REWRITING # ADDRESS REWRITING
# #
# Insert text from sample-rewrite.cf if you need to do address # The ADDRESS_REWRITING_README document gives information about
# masquerading. # address masquerading or other forms of address rewriting including
# # username->Firstname.Lastname mapping.
# Insert text from sample-canonical.cf if you need to do address
# rewriting, or if you need username->Firstname.Lastname mapping.
# ADDRESS REDIRECTION (VIRTUAL DOMAIN) # ADDRESS REDIRECTION (VIRTUAL DOMAIN)
# #
# Insert text from sample-virtual.cf if you need virtual domain support. # The VIRTUAL_README document gives information about the many forms
# of domain hosting that Postfix supports.
# "USER HAS MOVED" BOUNCE MESSAGES # "USER HAS MOVED" BOUNCE MESSAGES
# #
# Insert text from sample-relocated.cf if you need "user has moved" # See the discussion in the ADDRESS_REWRITING_README document.
# style bounce messages. Alternatively, you can bounce recipients
# with an SMTP server access table. See sample-smtpd.cf.
# TRANSPORT MAP # TRANSPORT MAP
# #
# Insert text from sample-transport.cf if you need explicit routing. # See the discussion in the ADDRESS_REWRITING_README document.
# ALIAS DATABASE # ALIAS DATABASE
# #
@ -499,8 +496,8 @@ unknown_local_recipient_reject_code = 550
# JUNK MAIL CONTROLS # JUNK MAIL CONTROLS
# #
# The controls listed here are only a very small subset. See the file # The controls listed here are only a very small subset. The file
# sample-smtpd.cf for an elaborate list of anti-UCE controls. # SPTMD_ACCESS_README provides an overview.
# The header_checks parameter specifies an optional table with patterns # The header_checks parameter specifies an optional table with patterns
# that each logical message header is matched against, including # that each logical message header is matched against, including
@ -519,19 +516,13 @@ unknown_local_recipient_reject_code = 550
# Postfix maintains per-destination logfiles with information about # Postfix maintains per-destination logfiles with information about
# deferred mail, so that mail can be flushed quickly with the SMTP # deferred mail, so that mail can be flushed quickly with the SMTP
# "ETRN domain.tld" command, or by executing "sendmail -qRdomain.tld". # "ETRN domain.tld" command, or by executing "sendmail -qRdomain.tld".
# # See the ETRN_README document for a detailed description.
# By default, Postfix maintains deferred mail logfile information
# only for destinations that Postfix is willing to relay to (as
# specified in the relay_domains parameter). For other destinations,
# Postfix attempts to deliver ALL queued mail after receiving the
# SMTP "ETRN domain.tld" command, or after execution of "sendmail
# -qRdomain.tld". This can be slow when a lot of mail is queued.
# #
# The fast_flush_domains parameter controls what destinations are # The fast_flush_domains parameter controls what destinations are
# eligible for this "fast ETRN/sendmail -qR" service. # eligible for this service. By default, they are all domains that
# this server is willing to relay mail to.
# #
#fast_flush_domains = $relay_domains #fast_flush_domains = $relay_domains
#fast_flush_domains =
# SHOW SOFTWARE VERSION OR NOT # SHOW SOFTWARE VERSION OR NOT
# #
@ -621,11 +612,16 @@ mailq_path =
# #
setgid_group = setgid_group =
# html_directory: The location of the Postfix HTML documentation.
#
html_directory =
# manpage_directory: The location of the Postfix on-line manual pages. # manpage_directory: The location of the Postfix on-line manual pages.
# #
manpage_directory = manpage_directory =
# sample_directory: The location of the Postfix sample configuration files. # sample_directory: The location of the Postfix sample configuration files.
# This parameter is obsolete as of Postfix 2.1.
# #
sample_directory = sample_directory =

View File

@ -1,141 +0,0 @@
# MYSQL_TABLE(5) MYSQL_TABLE(5)
#
# NAME
# mysql_table - Postfix MySQL client configuration
#
# SYNOPSIS
# postmap -q "string" mysql:/etc/postfix/filename
#
# postmap -q - mysql:/etc/postfix/filename <inputfile
#
# DESCRIPTION
# The Postfix mail system uses optional tables for address
# rewriting or mail routing. These tables are usually in dbm
# or db format.
#
# Alternatively, lookup tables can be specified as MySQL
# databases. In order to use MySQL lookups, define a MySQL
# source as a lookup table in main.cf, for example:
# alias_maps = mysql:/etc/mysql-aliases.cf
#
# The file /etc/postfix/mysql-aliases.cf has the same format
# as the Postfix main.cf file, and can specify the parame-
# ters described below.
#
# ALTERNATIVE CONFIGURATION
# For compatibility with other Postfix lookup tables, MySQL
# parameters can also be defined in main.cf. In order to do
# that, specify as MySQL source a name that doesn't begin
# with a slash or a dot. The MySQL parameters will then be
# accessible as the name you've given the source in its def-
# inition, an underscore, and the name of the parameter.
# For example, if the map is specified as "mysql:mysqlname",
# the parameter "hosts" below would be defined in main.cf as
# "mysqlname_hosts".
#
# Note: with this form, the passwords for the MySQL sources
# are written in main.cf, which is normally world-readable.
# Support for this form will be removed in a future Postfix
# version.
#
# LIST MEMBERSHIP
# When using SQL to store lists such as $mynetworks, $mydes-
# tination, $relay_domains, $local_recipient_maps, etc., it
# is important to understand that the table must store each
# list member as a separate key. The table lookup verifies
# the *existence* of the key. See "Postfix lists versus
# tables" in the DATABASE_README document for a discussion.
#
# Do NOT create tables that return the full list of domains
# in $mydestination or $relay_domains etc., or IP addresses
# in $mynetworks.
#
# DO create tables with each matching item as a key and with
# an arbitrary value. With SQL databases it is not uncommon
# to return the key itself or a constant value.
#
# MYSQL PARAMETERS
# hosts The hosts that Postfix will try to connect to and
# query from. Specify unix: for UNIX domain sockets,
# inet: for TCP connections (default). Example:
# hosts = host1.some.domain host2.some.domain
# hosts = unix:/file/name
#
# The hosts are tried in random order, with all con-
# nections over UNIX domain sockets being tried
# before those over TCP. The connections are auto-
# matically closed after being idle for about 1
# minute, and are re-opened as necessary. Postfix
# versions 2.0 and earlier do not randomize the host
# order.
#
# NOTE: if you specify localhost as a hostname (even
# if you prefix it with inet:), MySQL will connect to
# the default UNIX domain socket. In order to
# instruct MySQL to connect to localhost over TCP you
# have to specify
# hosts = 127.0.0.1
#
# user, password
# The user name and password to log into the mysql
# server. Example:
# user = someone
# password = some_password
#
# dbname The database name on the servers. Example:
# dbname = customer_database
#
# The following parameters are used to fill in a SELECT
# query template of the form:
# select [select_field] from [table] where
# [where_field] = '$lookup' [additional_conditions]
#
# $lookup contains the search string, and is escaped so if
# it contains single quotes or other odd characters, it will
# not cause a parse error, or worse, a security problem.
#
# select_field
# The SQL "select" parameter. Example:
# select_field = forw_addr
#
# table The SQL "select .. from" table name. Example:
# table = mxaliases
#
# where_field
# The SQL "select .. where" parameter. Example:
# where_field = alias
#
# additional_conditions
# Additional conditions to the SQL query. Example:
# additional_conditions = and status = 'paid'
#
# SEE ALSO
# postmap(1), Postfix lookup table maintenance
# postconf(5), configuration parameters
# ldap_table(5), LDAP lookup tables
# pgsql_table(5), PostgreSQL lookup tables
#
# README FILES
# Use "postconf readme_directory" to locate this information.
# DATABASE_README, Postfix lookup table overview
# MYSQL_README, Postfix MYSQL client guide
#
# LICENSE
# The Secure Mailer license must be distributed with this
# software.
#
# HISTORY
# MySQL support was introduced with Postfix version 1.0.
#
# AUTHOR(S)
# Original implementation by:
# Scott Cotton, Joshua Marcus
# IC Group, Inc.
#
# Further enhancements by:
# Liviu Daia
# Institute of Mathematics of the Romanian Academy
# P.O. BOX 1-764
# RO-014700 Bucharest, ROMANIA
#
# MYSQL_TABLE(5)

View File

@ -1,191 +0,0 @@
# PGSQL_TABLE(5) PGSQL_TABLE(5)
#
# NAME
# pgsql_table - Postfix PostgreSQL client configuration
#
# SYNOPSIS
# postmap -q "string" pgsql:/etc/postfix/filename
#
# postmap -q - pgsql:/etc/postfix/filename <inputfile
#
# DESCRIPTION
# The Postfix mail system uses optional tables for address
# rewriting or mail routing. These tables are usually in dbm
# or db format.
#
# Alternatively, lookup tables can be specified as Post-
# greSQL databases. In order to use PostgreSQL lookups,
# define a PostgreSQL source as a lookup table in main.cf,
# for example:
# alias_maps = pgsql:/etc/pgsql-aliases.cf
#
# The file /etc/postfix/pgsql-aliases.cf has the same format
# as the Postfix main.cf file, and can specify the parame-
# ters described below.
#
# ALTERNATIVE CONFIGURATION
# For compatibility with other Postfix lookup tables, Post-
# greSQL parameters can also be defined in main.cf. In
# order to do that, specify as PostgreSQL source a name that
# doesn't begin with a slash or a dot. The PostgreSQL
# parameters will then be accessible as the name you've
# given the source in its definition, an underscore, and the
# name of the parameter. For example, if the map is speci-
# fied as "pgsql:pgsqlname", the parameter "hosts" below
# would be defined in main.cf as "pgsqlname_hosts".
#
# Note: with this form, the passwords for the PostgreSQL
# sources are written in main.cf, which is normally world-
# readable. Support for this form will be removed in a
# future Postfix version.
#
# LIST MEMBERSHIP
# When using SQL to store lists such as $mynetworks, $mydes-
# tination, $relay_domains, $local_recipient_maps, etc., it
# is important to understand that the table must store each
# list member as a separate key. The table lookup verifies
# the *existence* of the key. See "Postfix lists versus
# tables" in the DATABASE_README document for a discussion.
#
# Do NOT create tables that return the full list of domains
# in $mydestination or $relay_domains etc., or IP addresses
# in $mynetworks.
#
# DO create tables with each matching item as a key and with
# an arbitrary value. With SQL databases it is not uncommon
# to return the key itself or a constant value.
#
# PGSQL PARAMETERS
# hosts The hosts that Postfix will try to connect to and
# query from. Specify unix: for UNIX-domain sockets,
# inet: for TCP connections (default). Example:
# hosts = host1.some.domain host2.some.domain
# hosts = unix:/file/name
#
# The hosts are tried in random order, with all con-
# nections over UNIX domain sockets being tried
# before those over TCP. The connections are auto-
# matically closed after being idle for about 1
# minute, and are re-opened as necessary.
#
# NOTE: the unix: and inet: prefixes are accepted for
# backwards compatibility reasons, but are actually
# ignored. The PostgreSQL client library will always
# try to connect to an UNIX socket if the name starts
# with a slash, and will try a TCP connection other-
# wise.
#
# user, password
# The user name and password to log into the pgsql
# server. Example:
# user = someone
# password = some_password
#
# dbname The database name on the servers. Example:
# dbname = customer_database
#
# The following parameters can be used to fill in a SELECT
# template statement of the form:
# select [select_field] from [table] where
# [where_field] = '$lookup' [additional_conditions]
#
# $lookup contains the search string, and is escaped so if
# it contains single quotes or other odd characters, it will
# not cause a parse error, or worse, a security problem.
#
# select_field
# The SQL "select" parameter. Example:
# select_field = forw_addr
#
# table The SQL "select .. from" table name. Example:
# table = mxaliases
#
# where_field
# The SQL "select .. where" parameter. Example:
# where_field = alias
#
# additional_conditions
# Additional conditions to the SQL query. Example:
# additional_conditions = and status = 'paid'
#
# The following parameters provide ways to override the
# default SELECT statement. Setting them will instruct
# Postfix to ignore the above table, select_field,
# where_field and additional_conditions parameters:
#
# query This parameter specifies a complete SQL query.
# Example:
# query = select forw_addr from mxaliases where
# alias = '%s' and status = 'paid'
#
# This parameter supports the following '%' expan-
# sions:
#
# %s This is replaced by the input key. Quoting
# is used to make sure that the input key does
# not add unexpected metacharacters.
#
# %u When the input key is an address of the form
# user@domain, %u is replaced by the quoted
# local part of the address. If no domain is
# specified, %u is replaced by the entire
# search string.
#
# %d When the input key is an address of the form
# user@domain, %d is replaced by the quoted
# domain part of the address. When the input
# key has no domain qualifier, %d is replaced
# by the entire search string.
#
# select_function
# This parameter specifies a database function name.
# Example:
# select_function = my_lookup_user_alias
#
# This is equivalent to:
# query = select my_lookup_user_alias('%s')
#
# and overrides both the query parameter and the
# table-related fields above.
#
# As of June 2002, if the function returns a single
# row and a single column AND that value is NULL,
# then the result will be treated as if the key was
# not in the dictionary.
#
# Future versions will allow functions to return
# result sets.
#
# SEE ALSO
# postmap(1), Postfix lookup table manager
# postconf(5), configuration parameters
# ldap_table(5), LDAP lookup tables
# mysql_table(5), MySQL lookup tables
#
# README FILES
# Use "postconf readme_directory" to locate this information.
# DATABASE_README, Postfix lookup table overview
# PGSQL_README, Postfix PostgreSQL client guide
#
# LICENSE
# The Secure Mailer license must be distributed with this
# software.
#
# HISTORY
# PgSQL support was introduced with Postfix version 2.1.
#
# AUTHOR(S)
# Based on the MySQL client by:
# Scott Cotton, Joshua Marcus
# IC Group, Inc.
#
# Ported to PostgreSQL by:
# Aaron Sethman
#
# Further enhanced by:
# Liviu Daia
# Institute of Mathematics of the Romanian Academy
# P.O. BOX 1-764
# RO-014700 Bucharest, ROMANIA
#
# PGSQL_TABLE(5)

View File

@ -238,12 +238,19 @@ set-permissions|upgrade-configuration)
;; ;;
post-install) post-install)
# Currently not part of the public interface.
shift shift
$config_directory/post-install "$@" $config_directory/post-install "$@"
;; ;;
/*)
# Currently not part of the public interface.
"$@"
;;
*) *)
$FATAL "usage: postfix start (or stop, reload, abort, flush, or check)" $FATAL "usage: postfix start (or stop, reload, abort, flush, check, set-permissions, upgrade-configuration)"
exit 1 exit 1
;; ;;

View File

@ -141,7 +141,8 @@
# postconf(5), configuration parameters # postconf(5), configuration parameters
# #
# README FILES # README FILES
# Use "postconf readme_directory" to locate this information. # Use "postconf readme_directory" or "postconf html_direc-
# tory" to locate this information.
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# ADDRESS_REWRITING_README, address rewriting guide # ADDRESS_REWRITING_README, address rewriting guide
# #

View File

@ -247,7 +247,8 @@
# postmap(1), Postfix lookup table manager # postmap(1), Postfix lookup table manager
# #
# README FILES # README FILES
# Use "postconf readme_directory" to locate this information. # Use "postconf readme_directory" or "postconf html_direc-
# tory" to locate this information.
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# FILTER_README, external content filter # FILTER_README, external content filter
# #

View File

@ -246,7 +246,8 @@
# canonical(5), canonical address mapping # canonical(5), canonical address mapping
# #
# README FILES # README FILES
# Use postconf readme_directory to locate this information. # Use "postconf readme_directory" or "postconf html_direc-
# tory" to locate this information.
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# ADDRESS_REWRITING_README, address rewriting guide # ADDRESS_REWRITING_README, address rewriting guide
# VIRTUAL_README, domain hosting guide # VIRTUAL_README, domain hosting guide

View File

@ -26,6 +26,9 @@ Berkeley DB implements the Postfix database type of "hash" and
of the database file without the ".db" suffix. Berkeley DB databases of the database file without the ".db" suffix. Berkeley DB databases
are maintained with the <a href="postmap.1.html">postmap(1)</a> command. </p> are maintained with the <a href="postmap.1.html">postmap(1)</a> command. </p>
<p> Note: Berkeley DB version 4 is not supported by Postfix versions
before 2.0. </p>
<p> This document describes: </p> <p> This document describes: </p>
<ol> <ol>
@ -51,10 +54,17 @@ are Solaris, HP-UX, IRIX, UNIXWARE. In order to build Postfix with
Berkeley DB support you need to download and install the source Berkeley DB support you need to download and install the source
code from <a href="http://www.sleepycat.com/">http://www.sleepycat.com/</a> </p> code from <a href="http://www.sleepycat.com/">http://www.sleepycat.com/</a> </p>
<p> Warning: some Linux system libraries use Berkeley DB. If you <p> Warning: some Linux system libraries use Berkeley DB, as do
compile Postfix with a non-default Berkeley DB implementation, then some third-party libraries such as SASL. If you compile Postfix
every Postfix program will dump core because either the system with a different Berkeley DB implementation, then every Postfix
library or Postfix itself ends up using the wrong version. </p> program will dump core because either the system library, SASL
library, or Postfix itself ends up using the wrong version. </p>
<p>The more recent Berkeley DB versions have a compile-time switch,
"--with-uniquename", which renames the symbols so that multiple
versions of Berkeley DB can co-exist in the same application.
Although wasteful this may be the only way to keep things from
falling apart. </p>
<p> To build Postfix after you installed the Berkeley DB from <p> To build Postfix after you installed the Berkeley DB from
<a href="http://www.sleepycat.com/">http://www.sleepycat.com/</a>, use something like: </p> <a href="http://www.sleepycat.com/">http://www.sleepycat.com/</a>, use something like: </p>
@ -98,7 +108,7 @@ use a variant of the following commands: </p>
<blockquote> <blockquote>
<pre> <pre>
% make tidy % make tidy
% make makefiles CCARGS=-I/usr/include/db2 AUXLIBS=-ldb2 % make makefiles CCARGS=-I/usr/include/db3 AUXLIBS=-ldb3
% make % make
</pre> </pre>
</blockquote> </blockquote>

View File

@ -59,13 +59,14 @@ unfortunate choices in its design. </p>
<h2>How the queue manager scheduler works </h2> <h2>How the queue manager scheduler works </h2>
<p> The following text is from Patrik Rak and should be read together <p> The following text is from Patrik Rak and should be read together
with the sample-scheduler.cf file </p> with the <a href="postconf.5.html">postconf(5)</a> manual that describes each configuration
parameter in detail. </p>
<p> From user's point of view, qmgr and nqmgr are both the same, <p> From user's point of view, qmgr and nqmgr are both the same,
except for how next message is chosen when delivery agent becomes except for how next message is chosen when delivery agent becomes
available. You already know that qmgr uses round-robin by destination available. You already know that qmgr uses round-robin by destination
while nqmgr uses simple FIFO, except for some preemptive magic. while nqmgr uses simple FIFO, except for some preemptive magic.
The [sample-scheduler.cf file] documents all the knobs the user The <a href="postconf.5.html">postconf(5)</a> manual documents all the knobs the user
can use to control this preemptive magic - there is nothing else can use to control this preemptive magic - there is nothing else
to the preemption than the quite simple conditions described below. to the preemption than the quite simple conditions described below.
</p> </p>

View File

@ -140,7 +140,7 @@ by turning off the delay: </p>
<p> With the above setting, Postfix 2.0 and earlier can serve more <p> With the above setting, Postfix 2.0 and earlier can serve more
SMTP clients with the same number SMTP server processes. The next SMTP clients with the same number SMTP server processes. The next
section describes how Postfix deals with clients that make a large section describes how Postfix deals with clients that make a large
number of errors. <p> number of errors. </p>
<h2><a name="slowdown"> Slowing down SMTP clients that make many errors</a></h2> <h2><a name="slowdown"> Slowing down SMTP clients that make many errors</a></h2>

View File

@ -143,8 +143,8 @@ LMTP(8) LMTP(8)
Limit the number of parallel deliveries to the same Limit the number of parallel deliveries to the same
destination via this mail delivery transport. destination via this mail delivery transport.
<i>transport</i><b>_destination_recipient_limit ($default_destina-</b> <i>transport</i><b>_destination_recipient_limit ($<a href="postconf.5.html#default_destination_recipient_limit">default_destina</a>-</b>
<b>tion_recipient_limit)</b> <b><a href="postconf.5.html#default_destination_recipient_limit">tion_recipient_limit</a>)</b>
Limit the number of recipients per message delivery Limit the number of recipients per message delivery
via this mail delivery transport. via this mail delivery transport.

View File

@ -150,7 +150,7 @@ POSTFIX(1) POSTFIX(1)
Sendmail compatibility feature that specifies where Sendmail compatibility feature that specifies where
the Postfix <a href="mailq.1.html">mailq(1)</a> command is installed. the Postfix <a href="mailq.1.html">mailq(1)</a> command is installed.
<b>html_directory (see 'postconf -d' output)</b> <b><a href="postconf.5.html#html_directory">html_directory</a> (see 'postconf -d' output)</b>
The location of Postfix HTML files that describe The location of Postfix HTML files that describe
how to build, configure or operate a specific Post- how to build, configure or operate a specific Post-
fix subsystem or feature. fix subsystem or feature.
@ -249,7 +249,6 @@ POSTFIX(1) POSTFIX(1)
syslogd(8), system logging syslogd(8), system logging
<b>README FILES</b> <b>README FILES</b>
"<b>postconf html_directory</b> to locate this information.
<a href="OVERVIEW.html">OVERVIEW</a>, overview of Postfix commands and processes <a href="OVERVIEW.html">OVERVIEW</a>, overview of Postfix commands and processes
<a href="BASIC_CONFIGURATION_README.html">BASIC_CONFIGURATION_README</a>, Postfix basic configuration <a href="BASIC_CONFIGURATION_README.html">BASIC_CONFIGURATION_README</a>, Postfix basic configuration
<a href="ADDRESS_REWRITING_README.html">ADDRESS_REWRITING_README</a>, Postfix address rewriting <a href="ADDRESS_REWRITING_README.html">ADDRESS_REWRITING_README</a>, Postfix address rewriting

View File

@ -246,8 +246,8 @@ QMGR(8) QMGR(8)
The default maximal number of recipients per mes- The default maximal number of recipients per mes-
sage delivery. sage delivery.
<i>transport</i><b>_destination_recipient_limit ($default_destina-</b> <i>transport</i><b>_destination_recipient_limit ($<a href="postconf.5.html#default_destination_recipient_limit">default_destina</a>-</b>
<b>tion_recipient_limit)</b> <b><a href="postconf.5.html#default_destination_recipient_limit">tion_recipient_limit</a>)</b>
Idem, for delivery via the named message <i>transport</i>. Idem, for delivery via the named message <i>transport</i>.
<b>MESSAGE SCHEDULING CONTROLS</b> <b>MESSAGE SCHEDULING CONTROLS</b>

View File

@ -157,8 +157,8 @@ SMTP(8) SMTP(8)
same destination via the smtp message delivery same destination via the smtp message delivery
transport. transport.
<b><a href="postconf.5.html#smtp_destination_recipient_limit">smtp_destination_recipient_limit</a> ($default_destina-</b> <b><a href="postconf.5.html#smtp_destination_recipient_limit">smtp_destination_recipient_limit</a> ($<a href="postconf.5.html#default_destination_recipient_limit">default_destina</a>-</b>
<b>tion_recipient_limit)</b> <b><a href="postconf.5.html#default_destination_recipient_limit">tion_recipient_limit</a>)</b>
The maximal number of recipients per delivery via The maximal number of recipients per delivery via
the smtp message delivery transport. the smtp message delivery transport.

View File

@ -209,8 +209,8 @@ VIRTUAL(8) VIRTUAL(8)
same destination via the virtual message delivery same destination via the virtual message delivery
transport. transport.
<b><a href="postconf.5.html#virtual_destination_recipient_limit">virtual_destination_recipient_limit</a> ($default_destina-</b> <b><a href="postconf.5.html#virtual_destination_recipient_limit">virtual_destination_recipient_limit</a> ($<a href="postconf.5.html#default_destination_recipient_limit">default_destina</a>-</b>
<b>tion_recipient_limit)</b> <b><a href="postconf.5.html#default_destination_recipient_limit">tion_recipient_limit</a>)</b>
The maximal number of recipients per delivery via The maximal number of recipients per delivery via
the virtual message delivery transport. the virtual message delivery transport.

View File

@ -64,7 +64,7 @@ case "$SYSTEM.$RELEASE" in
SCO_SV.3.2) SYSTYPE=SCO5 SCO_SV.3.2) SYSTYPE=SCO5
# Use the native compiler by default # Use the native compiler by default
: ${CC="/usr/bin/cc -b elf"} : ${CC="/usr/bin/cc -b elf"}
CCARGS="-DPIPES_CANT_FIONREAD $CCARGS" CCARGS="$CCARGS -DPIPES_CANT_FIONREAD $CCARGS"
SYSLIBS="-lsocket -ldbm" SYSLIBS="-lsocket -ldbm"
RANLIB=echo RANLIB=echo
;; ;;
@ -334,6 +334,9 @@ ${WARN='-W -Wformat -Wimplicit -Wmissing-prototypes \
export SYSTYPE AR ARFL RANLIB SYSLIBS CC OPT DEBUG AWK OPTS export SYSTYPE AR ARFL RANLIB SYSLIBS CC OPT DEBUG AWK OPTS
# Snapshot only.
CCARGS="$CCARGS -DSNAPSHOT"
sed 's/ / /g' <<EOF sed 's/ / /g' <<EOF
SYSTYPE = $SYSTYPE SYSTYPE = $SYSTYPE
AR = $AR AR = $AR

353
postfix/makedefs.snapshot Normal file
View File

@ -0,0 +1,353 @@
#!/bin/sh
#++
# NAME
# makedefs 1
# SUMMARY
# makefile configuration utility
# SYNOPSIS
# \fBmake makefiles \fIname=value...\fR
# DESCRIPTION
# The \fBmakedefs\fR command identifies the program compilation
# environment, and emits macro definitions on the standard output
# stream that can be prepended to template Makefiles.
#
# Default settings can be overruled by specifying them as
# environment variables. Use quotes if variables contain
# whitespace or shell meta characters.
# .IP \fBAUXLIBS=\fIobject_library...\fR
# Specifies one or more non-default object libraries.
# .IP \fBCC=\fIcompiler_command\fR
# Specifies a non-default compiler. On many systems, the default
# is \fBgcc\fR.
# .IP \fBCCARGS=\fIcompiler_arguments\fR
# Specifies non-default compiler arguments, for example, a non-default
# \fIinclude\fR directory.
# .IP \fBDEBUG=\fIdebug_level\fR
# Specifies a non-default debugging level. The default is \fB-g\fR.
# Specify \fBDEBUG=\fR to turn off debugging.
# .IP \fBOPT=\fIoptimization_level\fR
# Specifies a non-default optimization level. The default is \fB-O\fR.
# Specify \fBOPT=\fR to turn off optimization.
# .IP \fBWARN=\fIwarning_flags\fR
# Specifies non-default gcc compiler warning options for use when
# "make" is invoked in a source subdirectory only.
# LICENSE
# .ad
# .fi
# The Secure Mailer license must be distributed with this software.
# AUTHOR(S)
# Wietse Venema
# IBM T.J. Watson Research
# P.O. Box 704
# Yorktown Heights, NY 10598, USA
#--
# Emit system-dependent Makefile macro definitions to standard output.
# Defaults for most sane systems
RANLIB=ranlib
SYSLIBS=
AR=ar
ARFL=rv
SYSTEM=`(uname -s) 2>/dev/null`
RELEASE=`(uname -r) 2>/dev/null`
VERSION=`(uname -v) 2>/dev/null`
case "$VERSION" in
dcosx*) SYSTEM=$VERSION;;
esac
case "$SYSTEM.$RELEASE" in
SCO_SV.3.2) SYSTYPE=SCO5
# Use the native compiler by default
: ${CC="/usr/bin/cc -b elf"}
CCARGS="$CCARGS -DPIPES_CANT_FIONREAD $CCARGS"
SYSLIBS="-lsocket -ldbm"
RANLIB=echo
;;
UnixWare.5*) SYSTYPE=UW7
# Use the native compiler by default
: ${CC=/usr/bin/cc}
RANLIB=echo
SYSLIBS="-lresolv -lsocket -lnsl"
;;
UNIX_SV.4.2*) case "`uname -v`" in
2.1*) SYSTYPE=UW21
# Use the native compiler by default
: ${CC=/usr/bin/cc}
RANLIB=echo
SYSLIBS="-lresolv -lsocket -lnsl -lc -L/usr/ucblib -lucb"
;;
*) echo "Seems to be UnixWare`uname -v`. Untested." 1>&2;
exit 1;;
esac
;;
FreeBSD.2*) SYSTYPE=FREEBSD2
;;
FreeBSD.3*) SYSTYPE=FREEBSD3
;;
FreeBSD.4*) SYSTYPE=FREEBSD4
;;
FreeBSD.5*) SYSTYPE=FREEBSD5
;;
OpenBSD.2*) SYSTYPE=OPENBSD2
;;
OpenBSD.3*) SYSTYPE=OPENBSD3
;;
ekkoBSD.1*) SYSTYPE=EKKOBSD1
;;
NetBSD.1*) SYSTYPE=NETBSD1
;;
NetBSD.2*) SYSTYPE=NETBSD2
;;
BSD/OS.2*) SYSTYPE=BSDI2
;;
BSD/OS.3*) SYSTYPE=BSDI3
;;
BSD/OS.4*) SYSTYPE=BSDI4
;;
OSF1.V[3-5].*) SYSTYPE=OSF1
# Use the native compiler by default
: ${CC=cc}
: ${DEBUG="-g3"}
;;
SunOS.4*) SYSTYPE=SUNOS4
SYSLIBS=-lresolv
;;
SunOS.5*) SYSTYPE=SUNOS5
RANLIB=echo
SYSLIBS="-lresolv -lsocket -lnsl"
case $RELEASE in
5.[0-4]) CCARGS="$CCARGS -DMISSING_USLEEP";;
*) CCARGS="$CCARGS -DHAS_POSIX_REGEXP";;
esac
# Work around broken str*casecmp(). Do it all here instead
# of having half the solution in the sys_defs.h file.
CCARGS="$CCARGS -Dstrcasecmp=fix_strcasecmp \
-Dstrncasecmp=fix_strncasecmp"
STRCASE="strcasecmp.o"
# Avoid common types of braindamage
case "$LD_LIBRARY_PATH" in
?*) echo "Don't set LD_LIBRARY_PATH" 1>&2; exit 1;;
esac
case "$CC" in
*ucb*) echo "Don't use /usr/ucb/cc or ucblib" 1>&2; exit 1;;
cc*) case `which cc` in
*ucb*) echo "Don't use /usr/ucb/cc or ucblib" 1>&2; exit 1;;
esac;;
esac
;;
ULTRIX.4*) SYSTYPE=ULTRIX4
if [ -f /usr/local/lib/libdb.a ]; then
SYSLIBS="$SYSLIBS -ldb"
CCARGS="$CCARGS -DHAS_DB"
if [ -d /usr/local/include/db ]; then
CCARGS="$CCARGS -I/usr/local/include/db"
fi
fi
for l in syslog resolv; do
if [ -f /usr/local/lib/lib$l.a ]; then
SYSLIBS="$SYSLIBS -l$l"
fi
done
;;
AIX.*) case "`uname -v`" in
5) SYSTYPE=AIX4
case "$CC" in
cc|*/cc|xlc|*/xlc) CCARGS="$CCARGS -w -blibpath:/usr/lib:/lib:/usr/local/lib";;
esac
CCARGS="$CCARGS -D_ALL_SOURCE -DHAS_POSIX_REGEXP"
;;
4) SYSTYPE=AIX4
# How embarrassing...
case "$CC" in
cc|*/cc|xlc|*/xlc) OPT=; CCARGS="$CCARGS -w -blibpath:/usr/lib:/lib:/usr/local/lib";;
esac
CCARGS="$CCARGS -D_ALL_SOURCE -DHAS_POSIX_REGEXP"
;;
3) SYSTYPE=AIX3
# How embarrassing...
case "$CC" in
cc|*/cc|xlc|*/xlc) OPT=; CCARGS="$CCARGS -w";;
esac
CCARGS="$CCARGS -D_ALL_SOURCE"
;;
*) echo "Unknown AIX version: `uname -v`." 1>&2; exit 1;;
esac;;
# Tested with RedHat 3.03 on 20020729.
Linux.1*) SYSTYPE=LINUX1
SYSLIBS="-ldb"
;;
Linux.2*) SYSTYPE=LINUX2
# Postfix no longer needs DB 1.85 compatibility
if [ -f /usr/include/db.h ]
then
: we are all set
elif [ -f /usr/include/db/db.h ]
then
CCARGS="$CCARGS -I/usr/include/db"
else
# No, we're not going to try db1 db2 db3 etc.
# On a properly installed system, Postfix builds
# by including <db.h> and by linking with -ldb
echo "No <db.h> include file found." 1>&2
echo "Install the appropriate db*-devel package first." 1>&2
echo "See the RELEASE_NOTES file for more information." 1>&2
exit 1
fi
# GDBM locks the DBM .pag file after open. This breaks postmap.
# if [ -f /usr/include/gdbm-ndbm.h ]
# then
# CCARGS="$CCARGS -DHAS_DBM -DPATH_NDBM_H='<gdbm-ndbm.h>'"
# GDBM_LIBS=gdbm
# elif [ -f /usr/include/gdbm/ndbm.h ]
# then
# CCARGS="$CCARGS -DHAS_DBM -DPATH_NDBM_H='<gdbm/ndbm.h>'"
# GDBM_LIBS=gdbm
# fi
SYSLIBS="-ldb"
for name in nsl resolv $GDBM_LIBS
do
for lib in /usr/lib64 /lib64 /usr/lib /lib
do
test -e $lib/lib$name.a -o -e $lib/lib$name.so && {
SYSLIBS="$SYSLIBS -l$name"
break
}
done
done
;;
IRIX*.5.*) SYSTYPE=IRIX5
# Use the native compiler by default
: ${CC=cc} ${DEBUG="-g3"}
RANLIB=echo
;;
IRIX*.6.*) SYSTYPE=IRIX6
# Use the native compiler by default, and allow nested comments.
: ${CC="cc -woff 1009,1116,1412"}
RANLIB=echo
;;
HP-UX.A.09.*) SYSTYPE=HPUX9
SYSLIBS=-ldbm
CCARGS="$CCARGS -DMISSING_USLEEP"
if [ -f /usr/lib/libdb.a ]; then
CCARGS="$CCARGS -DHAS_DB"
SYSLIBS="$SYSLIBS -ldb"
fi
;;
HP-UX.B.10.*) SYSTYPE=HPUX10
CCARGS="$CCARGS `nm /usr/lib/libc.a 2>/dev/null |
(grep usleep >/dev/null || echo '-DMISSING_USLEEP')`"
if [ -f /usr/lib/libdb.a ]; then
CCARGS="$CCARGS -DHAS_DB"
SYSLIBS=-ldb
fi
;;
HP-UX.B.11.*) SYSTYPE=HPUX11
SYSLIBS=-lnsl
if [ -f /usr/lib/libdb.a ]; then
CCARGS="$CCARGS -DHAS_DB"
SYSLIBS="$SYSLIBS -ldb"
fi
;;
ReliantUNIX-?.5.43) SYSTYPE=ReliantUnix543
RANLIB=echo
SYSLIBS="-lresolv -lsocket -lnsl"
;;
Rhapsody.5*|Darwin.*)
SYSTYPE=MACOSX
# Use the native compiler by default
: ${CC=cc}
case $RELEASE in
1.[0-3]) AWK=gawk
;;
[2-6].*) AWK=awk
SYSLIBS=-flat_namespace
;;
*) AWK=awk
SYSLIBS=-flat_namespace
CCARGS="$CCARGS -DBIND_8_COMPAT -DNO_NETINFO"
;;
esac
;;
"Mac OS".10*) SYSTYPE=MACOSX
# Use the native compiler by default
: ${CC=cc}
AWK=gawk
;;
dcosx.1*) SYSTYPE=DCOSX1
RANLIB=echo
SYSLIBS="-lresolv -lsocket -lnsl -lc -lrpcsvc -L/usr/ucblib -lucb"
;;
".") if [ -d /NextApps ]; then
SYSTYPE=`hostinfo | sed -n \
's/^.*NeXT Mach 3.*$/NEXTSTEP3/;/NEXTSTEP3/{p;q;}'`
if [ "$SYSTYPE" = "" ]; then
SYSTYPE=`hostinfo | sed -n \
's/^.*NeXT Mach 4.*$/OPENSTEP4/;/OPENSTEP4/{p;q;}'`
fi
: ${CC=cc}
RANLIB="sleep 5; ranlib"
else
echo "Unable to determine your system type." 1>&2; exit 1
fi
;;
*) echo "Unknown system type: $SYSTEM $RELEASE" 1>&2; exit 1;;
esac
#
# PCRE 3.x has a pcre-config utility so we don't have to guess.
#
case "$CCARGS" in
*-DHAS_PCRE*) ;;
*-DNO_PCRE*) ;;
*) pcre_cflags=`(pcre-config --cflags) 2>/dev/null` &&
pcre_libs=`(pcre-config --libs) 2>/dev/null` && {
CCARGS="$CCARGS -DHAS_PCRE $pcre_cflags"
AUXLIBS="$AUXLIBS $pcre_libs"
}
;;
esac
# Defaults that can be overruled (make makefiles CC=cc OPT=-O6 DEBUG=)
# Disable optimizations by default when compiling for Purify. Disable
# optimizations by default with gcc 2.8, until the compiler is known to
# be OK. Those who dare can still overrule this (make makefiles OPT=-O).
case "$CC" in
*purify*) : ${OPT=};;
*/gcc|gcc) case `$CC -v` in
"gcc version 2.8"*) : ${OPT=};;
esac;;
*CC) echo "Don't use CC. That's the C++ compiler" 1>&2; exit 1;;
*) : ${OPT='-O'};;
esac
: ${CC='gcc $(WARN)'} ${OPT='-O'} ${DEBUG='-g'} ${AWK=awk} \
${WARN='-W -Wformat -Wimplicit -Wmissing-prototypes \
-Wparentheses -Wstrict-prototypes -Wswitch -Wuninitialized \
-Wunused'}
export SYSTYPE AR ARFL RANLIB SYSLIBS CC OPT DEBUG AWK OPTS
# Snapshot only.
CCARGS="$CCARGS -DSNAPSHOT"
sed 's/ / /g' <<EOF
SYSTYPE = $SYSTYPE
AR = $AR
ARFL = $ARFL
RANLIB = $RANLIB
SYSLIBS = $AUXLIBS $SYSLIBS
CC = $CC $CCARGS
OPT = $OPT
DEBUG = $DEBUG
AWK = $AWK
STRCASE = $STRCASE
EXPORT = AUXLIBS='$AUXLIBS' CCARGS='$CCARGS' OPT='$OPT' DEBUG='$DEBUG'
WARN = $WARN
EOF

350
postfix/makedefs.stable Normal file
View File

@ -0,0 +1,350 @@
#!/bin/sh
#++
# NAME
# makedefs 1
# SUMMARY
# makefile configuration utility
# SYNOPSIS
# \fBmake makefiles \fIname=value...\fR
# DESCRIPTION
# The \fBmakedefs\fR command identifies the program compilation
# environment, and emits macro definitions on the standard output
# stream that can be prepended to template Makefiles.
#
# Default settings can be overruled by specifying them as
# environment variables. Use quotes if variables contain
# whitespace or shell meta characters.
# .IP \fBAUXLIBS=\fIobject_library...\fR
# Specifies one or more non-default object libraries.
# .IP \fBCC=\fIcompiler_command\fR
# Specifies a non-default compiler. On many systems, the default
# is \fBgcc\fR.
# .IP \fBCCARGS=\fIcompiler_arguments\fR
# Specifies non-default compiler arguments, for example, a non-default
# \fIinclude\fR directory.
# .IP \fBDEBUG=\fIdebug_level\fR
# Specifies a non-default debugging level. The default is \fB-g\fR.
# Specify \fBDEBUG=\fR to turn off debugging.
# .IP \fBOPT=\fIoptimization_level\fR
# Specifies a non-default optimization level. The default is \fB-O\fR.
# Specify \fBOPT=\fR to turn off optimization.
# .IP \fBWARN=\fIwarning_flags\fR
# Specifies non-default gcc compiler warning options for use when
# "make" is invoked in a source subdirectory only.
# LICENSE
# .ad
# .fi
# The Secure Mailer license must be distributed with this software.
# AUTHOR(S)
# Wietse Venema
# IBM T.J. Watson Research
# P.O. Box 704
# Yorktown Heights, NY 10598, USA
#--
# Emit system-dependent Makefile macro definitions to standard output.
# Defaults for most sane systems
RANLIB=ranlib
SYSLIBS=
AR=ar
ARFL=rv
SYSTEM=`(uname -s) 2>/dev/null`
RELEASE=`(uname -r) 2>/dev/null`
VERSION=`(uname -v) 2>/dev/null`
case "$VERSION" in
dcosx*) SYSTEM=$VERSION;;
esac
case "$SYSTEM.$RELEASE" in
SCO_SV.3.2) SYSTYPE=SCO5
# Use the native compiler by default
: ${CC="/usr/bin/cc -b elf"}
CCARGS="$CCARGS -DPIPES_CANT_FIONREAD $CCARGS"
SYSLIBS="-lsocket -ldbm"
RANLIB=echo
;;
UnixWare.5*) SYSTYPE=UW7
# Use the native compiler by default
: ${CC=/usr/bin/cc}
RANLIB=echo
SYSLIBS="-lresolv -lsocket -lnsl"
;;
UNIX_SV.4.2*) case "`uname -v`" in
2.1*) SYSTYPE=UW21
# Use the native compiler by default
: ${CC=/usr/bin/cc}
RANLIB=echo
SYSLIBS="-lresolv -lsocket -lnsl -lc -L/usr/ucblib -lucb"
;;
*) echo "Seems to be UnixWare`uname -v`. Untested." 1>&2;
exit 1;;
esac
;;
FreeBSD.2*) SYSTYPE=FREEBSD2
;;
FreeBSD.3*) SYSTYPE=FREEBSD3
;;
FreeBSD.4*) SYSTYPE=FREEBSD4
;;
FreeBSD.5*) SYSTYPE=FREEBSD5
;;
OpenBSD.2*) SYSTYPE=OPENBSD2
;;
OpenBSD.3*) SYSTYPE=OPENBSD3
;;
ekkoBSD.1*) SYSTYPE=EKKOBSD1
;;
NetBSD.1*) SYSTYPE=NETBSD1
;;
NetBSD.2*) SYSTYPE=NETBSD2
;;
BSD/OS.2*) SYSTYPE=BSDI2
;;
BSD/OS.3*) SYSTYPE=BSDI3
;;
BSD/OS.4*) SYSTYPE=BSDI4
;;
OSF1.V[3-5].*) SYSTYPE=OSF1
# Use the native compiler by default
: ${CC=cc}
: ${DEBUG="-g3"}
;;
SunOS.4*) SYSTYPE=SUNOS4
SYSLIBS=-lresolv
;;
SunOS.5*) SYSTYPE=SUNOS5
RANLIB=echo
SYSLIBS="-lresolv -lsocket -lnsl"
case $RELEASE in
5.[0-4]) CCARGS="$CCARGS -DMISSING_USLEEP";;
*) CCARGS="$CCARGS -DHAS_POSIX_REGEXP";;
esac
# Work around broken str*casecmp(). Do it all here instead
# of having half the solution in the sys_defs.h file.
CCARGS="$CCARGS -Dstrcasecmp=fix_strcasecmp \
-Dstrncasecmp=fix_strncasecmp"
STRCASE="strcasecmp.o"
# Avoid common types of braindamage
case "$LD_LIBRARY_PATH" in
?*) echo "Don't set LD_LIBRARY_PATH" 1>&2; exit 1;;
esac
case "$CC" in
*ucb*) echo "Don't use /usr/ucb/cc or ucblib" 1>&2; exit 1;;
cc*) case `which cc` in
*ucb*) echo "Don't use /usr/ucb/cc or ucblib" 1>&2; exit 1;;
esac;;
esac
;;
ULTRIX.4*) SYSTYPE=ULTRIX4
if [ -f /usr/local/lib/libdb.a ]; then
SYSLIBS="$SYSLIBS -ldb"
CCARGS="$CCARGS -DHAS_DB"
if [ -d /usr/local/include/db ]; then
CCARGS="$CCARGS -I/usr/local/include/db"
fi
fi
for l in syslog resolv; do
if [ -f /usr/local/lib/lib$l.a ]; then
SYSLIBS="$SYSLIBS -l$l"
fi
done
;;
AIX.*) case "`uname -v`" in
5) SYSTYPE=AIX4
case "$CC" in
cc|*/cc|xlc|*/xlc) CCARGS="$CCARGS -w -blibpath:/usr/lib:/lib:/usr/local/lib";;
esac
CCARGS="$CCARGS -D_ALL_SOURCE -DHAS_POSIX_REGEXP"
;;
4) SYSTYPE=AIX4
# How embarrassing...
case "$CC" in
cc|*/cc|xlc|*/xlc) OPT=; CCARGS="$CCARGS -w -blibpath:/usr/lib:/lib:/usr/local/lib";;
esac
CCARGS="$CCARGS -D_ALL_SOURCE -DHAS_POSIX_REGEXP"
;;
3) SYSTYPE=AIX3
# How embarrassing...
case "$CC" in
cc|*/cc|xlc|*/xlc) OPT=; CCARGS="$CCARGS -w";;
esac
CCARGS="$CCARGS -D_ALL_SOURCE"
;;
*) echo "Unknown AIX version: `uname -v`." 1>&2; exit 1;;
esac;;
# Tested with RedHat 3.03 on 20020729.
Linux.1*) SYSTYPE=LINUX1
SYSLIBS="-ldb"
;;
Linux.2*) SYSTYPE=LINUX2
# Postfix no longer needs DB 1.85 compatibility
if [ -f /usr/include/db.h ]
then
: we are all set
elif [ -f /usr/include/db/db.h ]
then
CCARGS="$CCARGS -I/usr/include/db"
else
# No, we're not going to try db1 db2 db3 etc.
# On a properly installed system, Postfix builds
# by including <db.h> and by linking with -ldb
echo "No <db.h> include file found." 1>&2
echo "Install the appropriate db*-devel package first." 1>&2
echo "See the RELEASE_NOTES file for more information." 1>&2
exit 1
fi
# GDBM locks the DBM .pag file after open. This breaks postmap.
# if [ -f /usr/include/gdbm-ndbm.h ]
# then
# CCARGS="$CCARGS -DHAS_DBM -DPATH_NDBM_H='<gdbm-ndbm.h>'"
# GDBM_LIBS=gdbm
# elif [ -f /usr/include/gdbm/ndbm.h ]
# then
# CCARGS="$CCARGS -DHAS_DBM -DPATH_NDBM_H='<gdbm/ndbm.h>'"
# GDBM_LIBS=gdbm
# fi
SYSLIBS="-ldb"
for name in nsl resolv $GDBM_LIBS
do
for lib in /usr/lib64 /lib64 /usr/lib /lib
do
test -e $lib/lib$name.a -o -e $lib/lib$name.so && {
SYSLIBS="$SYSLIBS -l$name"
break
}
done
done
;;
IRIX*.5.*) SYSTYPE=IRIX5
# Use the native compiler by default
: ${CC=cc} ${DEBUG="-g3"}
RANLIB=echo
;;
IRIX*.6.*) SYSTYPE=IRIX6
# Use the native compiler by default, and allow nested comments.
: ${CC="cc -woff 1009,1116,1412"}
RANLIB=echo
;;
HP-UX.A.09.*) SYSTYPE=HPUX9
SYSLIBS=-ldbm
CCARGS="$CCARGS -DMISSING_USLEEP"
if [ -f /usr/lib/libdb.a ]; then
CCARGS="$CCARGS -DHAS_DB"
SYSLIBS="$SYSLIBS -ldb"
fi
;;
HP-UX.B.10.*) SYSTYPE=HPUX10
CCARGS="$CCARGS `nm /usr/lib/libc.a 2>/dev/null |
(grep usleep >/dev/null || echo '-DMISSING_USLEEP')`"
if [ -f /usr/lib/libdb.a ]; then
CCARGS="$CCARGS -DHAS_DB"
SYSLIBS=-ldb
fi
;;
HP-UX.B.11.*) SYSTYPE=HPUX11
SYSLIBS=-lnsl
if [ -f /usr/lib/libdb.a ]; then
CCARGS="$CCARGS -DHAS_DB"
SYSLIBS="$SYSLIBS -ldb"
fi
;;
ReliantUNIX-?.5.43) SYSTYPE=ReliantUnix543
RANLIB=echo
SYSLIBS="-lresolv -lsocket -lnsl"
;;
Rhapsody.5*|Darwin.*)
SYSTYPE=MACOSX
# Use the native compiler by default
: ${CC=cc}
case $RELEASE in
1.[0-3]) AWK=gawk
;;
[2-6].*) AWK=awk
SYSLIBS=-flat_namespace
;;
*) AWK=awk
SYSLIBS=-flat_namespace
CCARGS="$CCARGS -DBIND_8_COMPAT -DNO_NETINFO"
;;
esac
;;
"Mac OS".10*) SYSTYPE=MACOSX
# Use the native compiler by default
: ${CC=cc}
AWK=gawk
;;
dcosx.1*) SYSTYPE=DCOSX1
RANLIB=echo
SYSLIBS="-lresolv -lsocket -lnsl -lc -lrpcsvc -L/usr/ucblib -lucb"
;;
".") if [ -d /NextApps ]; then
SYSTYPE=`hostinfo | sed -n \
's/^.*NeXT Mach 3.*$/NEXTSTEP3/;/NEXTSTEP3/{p;q;}'`
if [ "$SYSTYPE" = "" ]; then
SYSTYPE=`hostinfo | sed -n \
's/^.*NeXT Mach 4.*$/OPENSTEP4/;/OPENSTEP4/{p;q;}'`
fi
: ${CC=cc}
RANLIB="sleep 5; ranlib"
else
echo "Unable to determine your system type." 1>&2; exit 1
fi
;;
*) echo "Unknown system type: $SYSTEM $RELEASE" 1>&2; exit 1;;
esac
#
# PCRE 3.x has a pcre-config utility so we don't have to guess.
#
case "$CCARGS" in
*-DHAS_PCRE*) ;;
*-DNO_PCRE*) ;;
*) pcre_cflags=`(pcre-config --cflags) 2>/dev/null` &&
pcre_libs=`(pcre-config --libs) 2>/dev/null` && {
CCARGS="$CCARGS -DHAS_PCRE $pcre_cflags"
AUXLIBS="$AUXLIBS $pcre_libs"
}
;;
esac
# Defaults that can be overruled (make makefiles CC=cc OPT=-O6 DEBUG=)
# Disable optimizations by default when compiling for Purify. Disable
# optimizations by default with gcc 2.8, until the compiler is known to
# be OK. Those who dare can still overrule this (make makefiles OPT=-O).
case "$CC" in
*purify*) : ${OPT=};;
*/gcc|gcc) case `$CC -v` in
"gcc version 2.8"*) : ${OPT=};;
esac;;
*CC) echo "Don't use CC. That's the C++ compiler" 1>&2; exit 1;;
*) : ${OPT='-O'};;
esac
: ${CC='gcc $(WARN)'} ${OPT='-O'} ${DEBUG='-g'} ${AWK=awk} \
${WARN='-W -Wformat -Wimplicit -Wmissing-prototypes \
-Wparentheses -Wstrict-prototypes -Wswitch -Wuninitialized \
-Wunused'}
export SYSTYPE AR ARFL RANLIB SYSLIBS CC OPT DEBUG AWK OPTS
sed 's/ / /g' <<EOF
SYSTYPE = $SYSTYPE
AR = $AR
ARFL = $ARFL
RANLIB = $RANLIB
SYSLIBS = $AUXLIBS $SYSLIBS
CC = $CC $CCARGS
OPT = $OPT
DEBUG = $DEBUG
AWK = $AWK
STRCASE = $STRCASE
EXPORT = AUXLIBS='$AUXLIBS' CCARGS='$CCARGS' OPT='$OPT' DEBUG='$DEBUG'
WARN = $WARN
EOF

View File

@ -180,7 +180,12 @@ syslogd(8), system logging
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
DATABASE_README, Postfix lookup table overview DATABASE_README, Postfix lookup table overview
.SH "LICENSE" .SH "LICENSE"
.na .na

View File

@ -154,7 +154,12 @@ postconf(5), configuration parameters
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
DATABASE_README, Postfix lookup table overview DATABASE_README, Postfix lookup table overview
.SH "LICENSE" .SH "LICENSE"
.na .na

View File

@ -215,8 +215,12 @@ syslogd(8), system logging
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
.ad
.fi
Use "\fBpostconf readme_directory\fR" or Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR to locate this information. "\fBpostconf html_directory\fR" to locate this information.
.na
.nf
OVERVIEW, overview of Postfix commands and processes OVERVIEW, overview of Postfix commands and processes
BASIC_CONFIGURATION_README, Postfix basic configuration BASIC_CONFIGURATION_README, Postfix basic configuration
ADDRESS_REWRITING_README, Postfix address rewriting ADDRESS_REWRITING_README, Postfix address rewriting

View File

@ -193,7 +193,12 @@ syslogd(8), system logging
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
DATABASE_README, Postfix lookup table overview DATABASE_README, Postfix lookup table overview
.SH "LICENSE" .SH "LICENSE"
.na .na

View File

@ -143,7 +143,12 @@ postsuper(1), privileged queue operations
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
ETRN_README, Postfix ETRN howto ETRN_README, Postfix ETRN howto
.SH "LICENSE" .SH "LICENSE"
.na .na

View File

@ -342,7 +342,8 @@ syslogd(8), system logging
.SH "README_FILES" .SH "README_FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
DEBUG_README, Postfix debugging howto DEBUG_README, Postfix debugging howto
ETRN_README, Postfix ETRN howto ETRN_README, Postfix ETRN howto
VERP_README, Postfix VERP howto VERP_README, Postfix VERP howto

View File

@ -271,7 +271,12 @@ postconf(5), configuration parameters
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
DATABASE_README, Postfix lookup table overview DATABASE_README, Postfix lookup table overview
SMTPD_ACCESS_README, built-in SMTP server access control SMTPD_ACCESS_README, built-in SMTP server access control
SMTPD_POLICY_README, external policy server SMTPD_POLICY_README, external policy server

View File

@ -140,7 +140,12 @@ postconf(5), configuration parameters
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
DATABASE_README, Postfix lookup table overview DATABASE_README, Postfix lookup table overview
.SH "LICENSE" .SH "LICENSE"
.na .na

View File

@ -197,7 +197,12 @@ virtual(5), virtual aliasing
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
DATABASE_README, Postfix lookup table overview DATABASE_README, Postfix lookup table overview
ADDRESS_REWRITING_README, address rewriting guide ADDRESS_REWRITING_README, address rewriting guide
.SH "LICENSE" .SH "LICENSE"

View File

@ -72,7 +72,12 @@ pcre_table(5) format of PCRE tables
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
DATABASE_README, Postfix lookup table overview DATABASE_README, Postfix lookup table overview
.SH "AUTHOR(S)" .SH "AUTHOR(S)"
.na .na

View File

@ -299,7 +299,12 @@ RFC 2047, message header encoding for non-ASCII text
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
DATABASE_README, Postfix lookup table overview DATABASE_README, Postfix lookup table overview
CONTENT_INSPECTION_README, Postfix content inspection overview CONTENT_INSPECTION_README, Postfix content inspection overview
BUILTIN_FILTER_README, Postfix built-in content inspection BUILTIN_FILTER_README, Postfix built-in content inspection

View File

@ -419,7 +419,12 @@ pgsql_table(5), PostgreSQL lookup tables
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
DATABASE_README, Postfix lookup table overview DATABASE_README, Postfix lookup table overview
LDAP_README, Postfix LDAP client guide LDAP_README, Postfix LDAP client guide
.SH "LICENSE" .SH "LICENSE"

View File

@ -139,7 +139,12 @@ pgsql_table(5), PostgreSQL lookup tables
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
DATABASE_README, Postfix lookup table overview DATABASE_README, Postfix lookup table overview
MYSQL_README, Postfix MYSQL client guide MYSQL_README, Postfix MYSQL client guide
.SH "LICENSE" .SH "LICENSE"

View File

@ -181,7 +181,12 @@ regexp_table(5), format of POSIX regular expression tables
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
DATABASE_README, Postfix lookup table overview DATABASE_README, Postfix lookup table overview
.SH "AUTHOR(S)" .SH "AUTHOR(S)"
.na .na

View File

@ -184,7 +184,12 @@ mysql_table(5), MySQL lookup tables
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
DATABASE_README, Postfix lookup table overview DATABASE_README, Postfix lookup table overview
PGSQL_README, Postfix PostgreSQL client guide PGSQL_README, Postfix PostgreSQL client guide
.SH "LICENSE" .SH "LICENSE"

View File

@ -149,7 +149,12 @@ cidr_table(5), format of CIDR tables
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
DATABASE_README, Postfix lookup table overview DATABASE_README, Postfix lookup table overview
.SH "AUTHOR(S)" .SH "AUTHOR(S)"
.na .na

View File

@ -147,7 +147,12 @@ postconf(5), configuration parameters
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
DATABASE_README, Postfix lookup table overview DATABASE_README, Postfix lookup table overview
ADDRESS_REWRITING_README, address rewriting guide ADDRESS_REWRITING_README, address rewriting guide
.SH "LICENSE" .SH "LICENSE"

View File

@ -102,6 +102,12 @@ cidr_table(5) format of CIDR tables
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
.ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
DATABASE_README, Postfix lookup table overview DATABASE_README, Postfix lookup table overview
.SH "LICENSE" .SH "LICENSE"
.na .na

View File

@ -255,7 +255,12 @@ postmap(1), Postfix lookup table manager
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
DATABASE_README, Postfix lookup table overview DATABASE_README, Postfix lookup table overview
FILTER_README, external content filter FILTER_README, external content filter
.SH "LICENSE" .SH "LICENSE"

View File

@ -246,7 +246,12 @@ canonical(5), canonical address mapping
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use \fBpostconf readme_directory\fR to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
DATABASE_README, Postfix lookup table overview DATABASE_README, Postfix lookup table overview
ADDRESS_REWRITING_README, address rewriting guide ADDRESS_REWRITING_README, address rewriting guide
VIRTUAL_README, domain hosting guide VIRTUAL_README, domain hosting guide

View File

@ -154,7 +154,12 @@ postconf(5), configuration parameters
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
TUNING_README, performance tuning TUNING_README, performance tuning
.SH "LICENSE" .SH "LICENSE"
.na .na

View File

@ -300,7 +300,12 @@ syslogd(8), system logging
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
ADDRESS_REWRITING_README Postfix address manipulation ADDRESS_REWRITING_README Postfix address manipulation
.SH "LICENSE" .SH "LICENSE"
.na .na

View File

@ -141,7 +141,12 @@ syslogd(8), system logging
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
ETRN_README, Postfix ETRN howto ETRN_README, Postfix ETRN howto
.SH "LICENSE" .SH "LICENSE"
.na .na

View File

@ -234,7 +234,12 @@ syslogd(8), system logging
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
LMTP_README, Postfix LMTP client howto LMTP_README, Postfix LMTP client howto
VIRTUAL_README, virtual delivery agent howto VIRTUAL_README, virtual delivery agent howto
.SH "LICENSE" .SH "LICENSE"

View File

@ -292,7 +292,12 @@ syslogd(8) system logging
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
QSHAPE_README, Postfix queue analysis QSHAPE_README, Postfix queue analysis
.SH "LICENSE" .SH "LICENSE"
.na .na

View File

@ -331,7 +331,12 @@ syslogd(8) system logging
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
SCHEDULER_README, scheduling algorithm SCHEDULER_README, scheduling algorithm
QSHAPE_README, Postfix queue analysis QSHAPE_README, Postfix queue analysis
.SH "LICENSE" .SH "LICENSE"

View File

@ -150,7 +150,12 @@ syslogd(8), system logging
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
QMQP_README, Postfix ezmlm-idx howto. QMQP_README, Postfix ezmlm-idx howto.
.SH "LICENSE" .SH "LICENSE"
.na .na

View File

@ -276,7 +276,12 @@ syslogd(8), system logging
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
SASL_README, Postfix SASL howto SASL_README, Postfix SASL howto
.SH "LICENSE" .SH "LICENSE"
.na .na

View File

@ -606,7 +606,12 @@ syslogd(8), system logging
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
ADDRESS_CLASS_README, blocking unknown hosted or relay recipients ADDRESS_CLASS_README, blocking unknown hosted or relay recipients
FILTER_README, external after-queue content filter FILTER_README, external after-queue content filter
LOCAL_RECIPIENT_README, blocking unknown local recipients LOCAL_RECIPIENT_README, blocking unknown local recipients

View File

@ -224,7 +224,12 @@ syslogd(8), system logging
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
ADDRESS_CLASS_README, Postfix address classes howto ADDRESS_CLASS_README, Postfix address classes howto
ADDRESS_VERIFICATION_README, Postfix address verification ADDRESS_VERIFICATION_README, Postfix address verification
.SH "LICENSE" .SH "LICENSE"

View File

@ -163,7 +163,12 @@ syslogd(5), system logging
.SH "README FILES" .SH "README FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. .ad
.fi
Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
.na
.nf
ADDRESS_VERIFICATION_README, address verification howto ADDRESS_VERIFICATION_README, address verification howto
.SH "LICENSE" .SH "LICENSE"
.na .na

View File

@ -264,7 +264,8 @@ syslogd(8), system logging
.SH "README_FILES" .SH "README_FILES"
.na .na
.nf .nf
Use "\fBpostconf readme_directory\fR" to locate this information. Use "\fBpostconf readme_directory\fR" or
"\fBpostconf html_directory\fR" to locate this information.
VIRTUAL_README, domain hosting howto VIRTUAL_README, domain hosting howto
.SH "LICENSE" .SH "LICENSE"
.na .na

View File

@ -31,6 +31,6 @@ sed '
s;.\(.\);<b>\1</b>;g s;.\(.\);<b>\1</b>;g
s;</i>\( *\)<i>;\1;g s;</i>\( *\)<i>;\1;g
s;</b>\( *\)<b>;\1;g s;</b>\( *\)<b>;\1;g
' "$@" | grep -v 'postconf readme_directory' ' "$@" | egrep -v 'postconf (readme|html)_direc|tory</b>" *to *locate *this'
echo '</pre> </body> </html>' echo '</pre> </body> </html>'

View File

@ -158,6 +158,7 @@ exec sed '
s;[[:<:]]helpful_warnings[[:>:]];<a href="postconf.5.html#helpful_warnings">&</a>;g s;[[:<:]]helpful_warnings[[:>:]];<a href="postconf.5.html#helpful_warnings">&</a>;g
s;[[:<:]]home_mailbox[[:>:]];<a href="postconf.5.html#home_mailbox">&</a>;g s;[[:<:]]home_mailbox[[:>:]];<a href="postconf.5.html#home_mailbox">&</a>;g
s;[[:<:]]hopcount_limit[[:>:]];<a href="postconf.5.html#hopcount_limit">&</a>;g s;[[:<:]]hopcount_limit[[:>:]];<a href="postconf.5.html#hopcount_limit">&</a>;g
s;[[:<:]]html_direc[-</bB>]*\n*[ <bB>]*tory[[:>:]];<a href="postconf.5.html#html_directory">&</a>;g
s;[[:<:]]ignore_mx_lookup_error[[:>:]];<a href="postconf.5.html#ignore_mx_lookup_error">&</a>;g s;[[:<:]]ignore_mx_lookup_error[[:>:]];<a href="postconf.5.html#ignore_mx_lookup_error">&</a>;g
s;[[:<:]]import_environment[[:>:]];<a href="postconf.5.html#import_environment">&</a>;g s;[[:<:]]import_environment[[:>:]];<a href="postconf.5.html#import_environment">&</a>;g
s;[[:<:]]in_flow_delay[[:>:]];<a href="postconf.5.html#in_flow_delay">&</a>;g s;[[:<:]]in_flow_delay[[:>:]];<a href="postconf.5.html#in_flow_delay">&</a>;g

View File

@ -720,5 +720,5 @@ bin/postconf -c $CONFIG_DIRECTORY -e \
# post-install processing now. # post-install processing now.
test -n "$install_root" || { test -n "$install_root" || {
${command_directory}/postfix post-install $post_install_options || exit 1 bin/postfix post-install $post_install_options || exit 1
} }

View File

@ -40,7 +40,7 @@ recipient addresses?</a>
<li><a href="#forged_helo">Blocking backscatter mail with forged <li><a href="#forged_helo">Blocking backscatter mail with forged
HELO information</a> HELO information</a>
<li><a href="#forged_helo">Blocking backscatter mail with forged <li><a href="#forged_sender">Blocking backscatter mail with forged
sender information</a> sender information</a>
<li><a href="#forged_other">Blocking backscatter mail with other <li><a href="#forged_other">Blocking backscatter mail with other
@ -196,7 +196,7 @@ mail to a user on such a host. </p>
masquerading, as described in the ADDRESS_REWRITING_README document. masquerading, as described in the ADDRESS_REWRITING_README document.
</p> </p>
<h3><a name="forged_helo">Blocking backscatter mail with forged <h3><a name="forged_sender">Blocking backscatter mail with forged
sender information</a></h3> sender information</a></h3>
Like many people I still have a few email addresses in domains that Like many people I still have a few email addresses in domains that

View File

@ -26,6 +26,9 @@ Berkeley DB implements the Postfix database type of "hash" and
of the database file without the ".db" suffix. Berkeley DB databases of the database file without the ".db" suffix. Berkeley DB databases
are maintained with the postmap(1) command. </p> are maintained with the postmap(1) command. </p>
<p> Note: Berkeley DB version 4 is not supported by Postfix versions
before 2.0. </p>
<p> This document describes: </p> <p> This document describes: </p>
<ol> <ol>
@ -51,10 +54,17 @@ are Solaris, HP-UX, IRIX, UNIXWARE. In order to build Postfix with
Berkeley DB support you need to download and install the source Berkeley DB support you need to download and install the source
code from http://www.sleepycat.com/ </p> code from http://www.sleepycat.com/ </p>
<p> Warning: some Linux system libraries use Berkeley DB. If you <p> Warning: some Linux system libraries use Berkeley DB, as do
compile Postfix with a non-default Berkeley DB implementation, then some third-party libraries such as SASL. If you compile Postfix
every Postfix program will dump core because either the system with a different Berkeley DB implementation, then every Postfix
library or Postfix itself ends up using the wrong version. </p> program will dump core because either the system library, SASL
library, or Postfix itself ends up using the wrong version. </p>
<p>The more recent Berkeley DB versions have a compile-time switch,
"--with-uniquename", which renames the symbols so that multiple
versions of Berkeley DB can co-exist in the same application.
Although wasteful this may be the only way to keep things from
falling apart. </p>
<p> To build Postfix after you installed the Berkeley DB from <p> To build Postfix after you installed the Berkeley DB from
http://www.sleepycat.com/, use something like: </p> http://www.sleepycat.com/, use something like: </p>
@ -98,7 +108,7 @@ use a variant of the following commands: </p>
<blockquote> <blockquote>
<pre> <pre>
% make tidy % make tidy
% make makefiles CCARGS=-I/usr/include/db2 AUXLIBS=-ldb2 % make makefiles CCARGS=-I/usr/include/db3 AUXLIBS=-ldb3
% make % make
</pre> </pre>
</blockquote> </blockquote>

View File

@ -3,8 +3,7 @@ SHELL = /bin/sh
# For now, just hard-coded rules. # For now, just hard-coded rules.
CONFIG = ../conf/access ../conf/aliases ../conf/canonical ../conf/relocated \ CONFIG = ../conf/access ../conf/aliases ../conf/canonical ../conf/relocated \
../conf/transport ../conf/virtual ../conf/header_checks \ ../conf/transport ../conf/virtual ../conf/header_checks
../conf/ldap_table ../conf/mysql_table ../conf/pgsql_table
HTML = ../html/ADDRESS_CLASS_README.html \ HTML = ../html/ADDRESS_CLASS_README.html \
../html/ADDRESS_REWRITING_README.html \ ../html/ADDRESS_REWRITING_README.html \

View File

@ -59,13 +59,14 @@ unfortunate choices in its design. </p>
<h2>How the queue manager scheduler works </h2> <h2>How the queue manager scheduler works </h2>
<p> The following text is from Patrik Rak and should be read together <p> The following text is from Patrik Rak and should be read together
with the sample-scheduler.cf file </p> with the postconf(5) manual that describes each configuration
parameter in detail. </p>
<p> From user's point of view, qmgr and nqmgr are both the same, <p> From user's point of view, qmgr and nqmgr are both the same,
except for how next message is chosen when delivery agent becomes except for how next message is chosen when delivery agent becomes
available. You already know that qmgr uses round-robin by destination available. You already know that qmgr uses round-robin by destination
while nqmgr uses simple FIFO, except for some preemptive magic. while nqmgr uses simple FIFO, except for some preemptive magic.
The [sample-scheduler.cf file] documents all the knobs the user The postconf(5) manual documents all the knobs the user
can use to control this preemptive magic - there is nothing else can use to control this preemptive magic - there is nothing else
to the preemption than the quite simple conditions described below. to the preemption than the quite simple conditions described below.
</p> </p>

View File

@ -241,7 +241,12 @@
# smtpd(8), SMTP server # smtpd(8), SMTP server
# postconf(5), configuration parameters # postconf(5), configuration parameters
# README FILES # README FILES
# Use "\fBpostconf readme_directory\fR" to locate this information. # .ad
# .fi
# Use "\fBpostconf readme_directory\fR" or
# "\fBpostconf html_directory\fR" to locate this information.
# .na
# .nf
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# SMTPD_ACCESS_README, built-in SMTP server access control # SMTPD_ACCESS_README, built-in SMTP server access control
# SMTPD_POLICY_README, external policy server # SMTPD_POLICY_README, external policy server

View File

@ -122,7 +122,12 @@
# postalias(1), create/update alias database # postalias(1), create/update alias database
# postconf(5), configuration parameters # postconf(5), configuration parameters
# README FILES # README FILES
# Use "\fBpostconf readme_directory\fR" to locate this information. # .ad
# .fi
# Use "\fBpostconf readme_directory\fR" or
# "\fBpostconf html_directory\fR" to locate this information.
# .na
# .nf
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# LICENSE # LICENSE
# .ad # .ad

View File

@ -175,7 +175,12 @@
# postconf(5), configuration parameters # postconf(5), configuration parameters
# virtual(5), virtual aliasing # virtual(5), virtual aliasing
# README FILES # README FILES
# Use "\fBpostconf readme_directory\fR" to locate this information. # .ad
# .fi
# Use "\fBpostconf readme_directory\fR" or
# "\fBpostconf html_directory\fR" to locate this information.
# .na
# .nf
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# ADDRESS_REWRITING_README, address rewriting guide # ADDRESS_REWRITING_README, address rewriting guide
# LICENSE # LICENSE
@ -188,5 +193,3 @@
# P.O. Box 704 # P.O. Box 704
# Yorktown Heights, NY 10598, USA # Yorktown Heights, NY 10598, USA
#-- #--
# By default, this file is not used. See sample-canonical.cf

View File

@ -56,7 +56,12 @@
# regexp_table(5) format of regular expression tables # regexp_table(5) format of regular expression tables
# pcre_table(5) format of PCRE tables # pcre_table(5) format of PCRE tables
# README FILES # README FILES
# Use "\fBpostconf readme_directory\fR" to locate this information. # .ad
# .fi
# Use "\fBpostconf readme_directory\fR" or
# "\fBpostconf html_directory\fR" to locate this information.
# .na
# .nf
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# AUTHOR(S) # AUTHOR(S)
# The CIDR table lookup code was originally written by: # The CIDR table lookup code was originally written by:

View File

@ -275,7 +275,12 @@
# RFC 2045, base64 and quoted-printable encoding rules # RFC 2045, base64 and quoted-printable encoding rules
# RFC 2047, message header encoding for non-ASCII text # RFC 2047, message header encoding for non-ASCII text
# README FILES # README FILES
# Use "\fBpostconf readme_directory\fR" to locate this information. # .ad
# .fi
# Use "\fBpostconf readme_directory\fR" or
# "\fBpostconf html_directory\fR" to locate this information.
# .na
# .nf
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# CONTENT_INSPECTION_README, Postfix content inspection overview # CONTENT_INSPECTION_README, Postfix content inspection overview
# BUILTIN_FILTER_README, Postfix built-in content inspection # BUILTIN_FILTER_README, Postfix built-in content inspection

View File

@ -399,7 +399,12 @@
# mysql_table(5), MySQL lookup tables # mysql_table(5), MySQL lookup tables
# pgsql_table(5), PostgreSQL lookup tables # pgsql_table(5), PostgreSQL lookup tables
# README FILES # README FILES
# Use "\fBpostconf readme_directory\fR" to locate this information. # .ad
# .fi
# Use "\fBpostconf readme_directory\fR" or
# "\fBpostconf html_directory\fR" to locate this information.
# .na
# .nf
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# LDAP_README, Postfix LDAP client guide # LDAP_README, Postfix LDAP client guide
# LICENSE # LICENSE

View File

@ -123,7 +123,12 @@
# ldap_table(5), LDAP lookup tables # ldap_table(5), LDAP lookup tables
# pgsql_table(5), PostgreSQL lookup tables # pgsql_table(5), PostgreSQL lookup tables
# README FILES # README FILES
# Use "\fBpostconf readme_directory\fR" to locate this information. # .ad
# .fi
# Use "\fBpostconf readme_directory\fR" or
# "\fBpostconf html_directory\fR" to locate this information.
# .na
# .nf
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# MYSQL_README, Postfix MYSQL client guide # MYSQL_README, Postfix MYSQL client guide
# LICENSE # LICENSE

View File

@ -159,7 +159,12 @@
# postconf(5), configuration parameters # postconf(5), configuration parameters
# regexp_table(5), format of POSIX regular expression tables # regexp_table(5), format of POSIX regular expression tables
# README FILES # README FILES
# Use "\fBpostconf readme_directory\fR" to locate this information. # .ad
# .fi
# Use "\fBpostconf readme_directory\fR" or
# "\fBpostconf html_directory\fR" to locate this information.
# .na
# .nf
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# AUTHOR(S) # AUTHOR(S)
# The PCRE table lookup code was originally written by: # The PCRE table lookup code was originally written by:

View File

@ -168,7 +168,12 @@
# ldap_table(5), LDAP lookup tables # ldap_table(5), LDAP lookup tables
# mysql_table(5), MySQL lookup tables # mysql_table(5), MySQL lookup tables
# README FILES # README FILES
# Use "\fBpostconf readme_directory\fR" to locate this information. # .ad
# .fi
# Use "\fBpostconf readme_directory\fR" or
# "\fBpostconf html_directory\fR" to locate this information.
# .na
# .nf
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# PGSQL_README, Postfix PostgreSQL client guide # PGSQL_README, Postfix PostgreSQL client guide
# LICENSE # LICENSE

View File

@ -127,7 +127,12 @@
# pcre_table(5), format of PCRE tables # pcre_table(5), format of PCRE tables
# cidr_table(5), format of CIDR tables # cidr_table(5), format of CIDR tables
# README FILES # README FILES
# Use "\fBpostconf readme_directory\fR" to locate this information. # .ad
# .fi
# Use "\fBpostconf readme_directory\fR" or
# "\fBpostconf html_directory\fR" to locate this information.
# .na
# .nf
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# AUTHOR(S) # AUTHOR(S)
# The regexp table lookup code was originally written by: # The regexp table lookup code was originally written by:

View File

@ -125,7 +125,12 @@
# postmap(1), Postfix lookup table manager # postmap(1), Postfix lookup table manager
# postconf(5), configuration parameters # postconf(5), configuration parameters
# README FILES # README FILES
# Use "\fBpostconf readme_directory\fR" to locate this information. # .ad
# .fi
# Use "\fBpostconf readme_directory\fR" or
# "\fBpostconf html_directory\fR" to locate this information.
# .na
# .nf
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# ADDRESS_REWRITING_README, address rewriting guide # ADDRESS_REWRITING_README, address rewriting guide
# LICENSE # LICENSE
@ -138,5 +143,3 @@
# P.O. Box 704 # P.O. Box 704
# Yorktown Heights, NY 10598, USA # Yorktown Heights, NY 10598, USA
#-- #--
# By default, this file is not used. See sample-relocated.cf

View File

@ -80,6 +80,12 @@
# pcre_table(5) format of PCRE tables # pcre_table(5) format of PCRE tables
# cidr_table(5) format of CIDR tables # cidr_table(5) format of CIDR tables
# README FILES # README FILES
# .ad
# .fi
# Use "\fBpostconf readme_directory\fR" or
# "\fBpostconf html_directory\fR" to locate this information.
# .na
# .nf
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# LICENSE # LICENSE
# .ad # .ad

View File

@ -231,7 +231,12 @@
# postconf(5), configuration parameters # postconf(5), configuration parameters
# postmap(1), Postfix lookup table manager # postmap(1), Postfix lookup table manager
# README FILES # README FILES
# Use "\fBpostconf readme_directory\fR" to locate this information. # .ad
# .fi
# Use "\fBpostconf readme_directory\fR" or
# "\fBpostconf html_directory\fR" to locate this information.
# .na
# .nf
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# FILTER_README, external content filter # FILTER_README, external content filter
# LICENSE # LICENSE
@ -244,5 +249,3 @@
# P.O. Box 704 # P.O. Box 704
# Yorktown Heights, NY 10598, USA # Yorktown Heights, NY 10598, USA
#-- #--
# By default, this file is not used. See sample-transport.cf

View File

@ -222,7 +222,12 @@
# postconf(5), configuration parameters # postconf(5), configuration parameters
# canonical(5), canonical address mapping # canonical(5), canonical address mapping
# README FILES # README FILES
# Use \fBpostconf readme_directory\fR to locate this information. # .ad
# .fi
# Use "\fBpostconf readme_directory\fR" or
# "\fBpostconf html_directory\fR" to locate this information.
# .na
# .nf
# DATABASE_README, Postfix lookup table overview # DATABASE_README, Postfix lookup table overview
# ADDRESS_REWRITING_README, address rewriting guide # ADDRESS_REWRITING_README, address rewriting guide
# VIRTUAL_README, domain hosting guide # VIRTUAL_README, domain hosting guide
@ -236,5 +241,3 @@
# P.O. Box 704 # P.O. Box 704
# Yorktown Heights, NY 10598, USA # Yorktown Heights, NY 10598, USA
#-- #--
# By default, this file is not used. See sample-virtual.cf

View File

@ -134,7 +134,12 @@
/* smtpd(8), Postfix SMTP server /* smtpd(8), Postfix SMTP server
/* postconf(5), configuration parameters /* postconf(5), configuration parameters
/* README FILES /* README FILES
/* Use "\fBpostconf readme_directory\fR" to locate this information. /* .ad
/* .fi
/* Use "\fBpostconf readme_directory\fR" or
/* "\fBpostconf html_directory\fR" to locate this information.
/* .na
/* .nf
/* TUNING_README, performance tuning /* TUNING_README, performance tuning
/* LICENSE /* LICENSE
/* .ad /* .ad

View File

@ -716,7 +716,7 @@ int bounce_original(VSTREAM *bounce, BOUNCE_INFO *bounce_info,
/* bounce_delrcpt - delete recipients from original queue file */ /* bounce_delrcpt - delete recipients from original queue file */
int bounce_delrcpt(BOUNCE_INFO *bounce_info) void bounce_delrcpt(BOUNCE_INFO *bounce_info)
{ {
if (bounce_info->orig_fp != 0 if (bounce_info->orig_fp != 0
&& bounce_info->log_handle != 0 && bounce_info->log_handle != 0
@ -729,7 +729,7 @@ int bounce_delrcpt(BOUNCE_INFO *bounce_info)
/* bounce_delrcpt_one - delete one recipient from original queue file */ /* bounce_delrcpt_one - delete one recipient from original queue file */
int bounce_delrcpt_one(BOUNCE_INFO *bounce_info) void bounce_delrcpt_one(BOUNCE_INFO *bounce_info)
{ {
if (bounce_info->orig_fp != 0 if (bounce_info->orig_fp != 0
&& bounce_info->log_handle != 0 && bounce_info->log_handle != 0

View File

@ -88,8 +88,8 @@ extern int bounce_header_dsn(VSTREAM *, BOUNCE_INFO *);
extern int bounce_recipient_dsn(VSTREAM *, BOUNCE_INFO *); extern int bounce_recipient_dsn(VSTREAM *, BOUNCE_INFO *);
extern int bounce_diagnostic_dsn(VSTREAM *, BOUNCE_INFO *); extern int bounce_diagnostic_dsn(VSTREAM *, BOUNCE_INFO *);
extern int bounce_original(VSTREAM *, BOUNCE_INFO *, int); extern int bounce_original(VSTREAM *, BOUNCE_INFO *, int);
extern int bounce_delrcpt(BOUNCE_INFO *); extern void bounce_delrcpt(BOUNCE_INFO *);
extern int bounce_delrcpt_one(BOUNCE_INFO *); extern void bounce_delrcpt_one(BOUNCE_INFO *);
#define BOUNCE_MSG_FAIL 0 #define BOUNCE_MSG_FAIL 0
#define BOUNCE_MSG_WARN 1 #define BOUNCE_MSG_WARN 1

View File

@ -266,7 +266,12 @@
/* master(8), process manager /* master(8), process manager
/* syslogd(8), system logging /* syslogd(8), system logging
/* README FILES /* README FILES
/* Use "\fBpostconf readme_directory\fR" to locate this information. /* .ad
/* .fi
/* Use "\fBpostconf readme_directory\fR" or
/* "\fBpostconf html_directory\fR" to locate this information.
/* .na
/* .nf
/* ADDRESS_REWRITING_README Postfix address manipulation /* ADDRESS_REWRITING_README Postfix address manipulation
/* LICENSE /* LICENSE
/* .ad /* .ad

View File

@ -121,7 +121,12 @@
/* master(8), process manager /* master(8), process manager
/* syslogd(8), system logging /* syslogd(8), system logging
/* README FILES /* README FILES
/* Use "\fBpostconf readme_directory\fR" to locate this information. /* .ad
/* .fi
/* Use "\fBpostconf readme_directory\fR" or
/* "\fBpostconf html_directory\fR" to locate this information.
/* .na
/* .nf
/* ETRN_README, Postfix ETRN howto /* ETRN_README, Postfix ETRN howto
/* LICENSE /* LICENSE
/* .ad /* .ad

View File

@ -20,8 +20,8 @@
* Patches change the patchlevel and the release date. Snapshots change the * Patches change the patchlevel and the release date. Snapshots change the
* release date only, unless they include the same bugfix as a patch release. * release date only, unless they include the same bugfix as a patch release.
*/ */
#define MAIL_RELEASE_DATE "20040413" #define MAIL_RELEASE_DATE "20040414"
#define MAIL_VERSION_NUMBER "2.1-RC2" #define MAIL_VERSION_NUMBER "2.1-RC3"
#define VAR_MAIL_VERSION "mail_version" #define VAR_MAIL_VERSION "mail_version"
#ifdef SNAPSHOT #ifdef SNAPSHOT

View File

@ -204,7 +204,12 @@
/* master(8), process manager /* master(8), process manager
/* syslogd(8), system logging /* syslogd(8), system logging
/* README FILES /* README FILES
/* Use "\fBpostconf readme_directory\fR" to locate this information. /* .ad
/* .fi
/* Use "\fBpostconf readme_directory\fR" or
/* "\fBpostconf html_directory\fR" to locate this information.
/* .na
/* .nf
/* LMTP_README, Postfix LMTP client howto /* LMTP_README, Postfix LMTP client howto
/* VIRTUAL_README, virtual delivery agent howto /* VIRTUAL_README, virtual delivery agent howto
/* LICENSE /* LICENSE

View File

@ -303,7 +303,8 @@ int lmtp_lhlo(LMTP_STATE *state)
/* lmtp_loop - the LMTP state machine */ /* lmtp_loop - the LMTP state machine */
static int lmtp_loop(LMTP_STATE *state, int send_state, int recv_state) static int lmtp_loop(LMTP_STATE *state, NOCLOBBER int send_state,
NOCLOBBER int recv_state)
{ {
char *myname = "lmtp_loop"; char *myname = "lmtp_loop";
DELIVER_REQUEST *request = state->request; DELIVER_REQUEST *request = state->request;
@ -311,18 +312,18 @@ static int lmtp_loop(LMTP_STATE *state, int send_state, int recv_state)
LMTP_RESP *resp; LMTP_RESP *resp;
RECIPIENT *rcpt; RECIPIENT *rcpt;
VSTRING *next_command = vstring_alloc(100); VSTRING *next_command = vstring_alloc(100);
int *survivors = 0; int *NOCLOBBER survivors = 0;
int next_state; NOCLOBBER int next_state;
int next_rcpt; NOCLOBBER int next_rcpt;
int send_rcpt; NOCLOBBER int send_rcpt;
int recv_rcpt; NOCLOBBER int recv_rcpt;
int nrcpt; NOCLOBBER int nrcpt;
int except; int except;
int rec_type; int rec_type;
int prev_type = 0; NOCLOBBER int prev_type = 0;
int sndbuffree; NOCLOBBER int sndbuffree;
int mail_from_rejected; NOCLOBBER int mail_from_rejected;
int recv_dot; NOCLOBBER int recv_dot;
/* /*
* Macros for readability. XXX Aren't LMTP addresses supposed to be case * Macros for readability. XXX Aren't LMTP addresses supposed to be case

View File

@ -252,7 +252,12 @@
/* master(8), process manager /* master(8), process manager
/* syslogd(8) system logging /* syslogd(8) system logging
/* README FILES /* README FILES
/* Use "\fBpostconf readme_directory\fR" to locate this information. /* .ad
/* .fi
/* Use "\fBpostconf readme_directory\fR" or
/* "\fBpostconf html_directory\fR" to locate this information.
/* .na
/* .nf
/* QSHAPE_README, Postfix queue analysis /* QSHAPE_README, Postfix queue analysis
/* LICENSE /* LICENSE
/* .ad /* .ad

View File

@ -162,7 +162,12 @@
/* newaliases(1), Sendmail compatibility interface. /* newaliases(1), Sendmail compatibility interface.
/* syslogd(8), system logging /* syslogd(8), system logging
/* README FILES /* README FILES
/* Use "\fBpostconf readme_directory\fR" to locate this information. /* .ad
/* .fi
/* Use "\fBpostconf readme_directory\fR" or
/* "\fBpostconf html_directory\fR" to locate this information.
/* .na
/* .nf
/* DATABASE_README, Postfix lookup table overview /* DATABASE_README, Postfix lookup table overview
/* LICENSE /* LICENSE
/* .ad /* .ad

View File

@ -136,7 +136,12 @@
/* SEE ALSO /* SEE ALSO
/* postconf(5), configuration parameters /* postconf(5), configuration parameters
/* README FILES /* README FILES
/* Use "\fBpostconf readme_directory\fR" to locate this information. /* .ad
/* .fi
/* Use "\fBpostconf readme_directory\fR" or
/* "\fBpostconf html_directory\fR" to locate this information.
/* .na
/* .nf
/* DATABASE_README, Postfix lookup table overview /* DATABASE_README, Postfix lookup table overview
/* LICENSE /* LICENSE
/* .ad /* .ad

View File

@ -286,8 +286,8 @@ int main(int argc, char **argv)
signal(SIGPIPE, SIG_IGN); signal(SIGPIPE, SIG_IGN);
signal(SIGXFSZ, SIG_IGN); signal(SIGXFSZ, SIG_IGN);
if (signal(SIGHUP, postdrop_sig) == SIG_IGN) if (signal(SIGHUP, SIG_IGN) == SIG_DFL)
signal(SIGHUP, SIG_IGN); signal(SIGHUP, postdrop_sig);
signal(SIGINT, postdrop_sig); signal(SIGINT, postdrop_sig);
signal(SIGQUIT, postdrop_sig); signal(SIGQUIT, postdrop_sig);
signal(SIGTERM, postdrop_sig); signal(SIGTERM, postdrop_sig);

View File

@ -199,8 +199,12 @@
/* Other: /* Other:
/* syslogd(8), system logging /* syslogd(8), system logging
/* README FILES /* README FILES
/* .ad
/* .fi
/* Use "\fBpostconf readme_directory\fR" or /* Use "\fBpostconf readme_directory\fR" or
/* "\fBpostconf html_directory\fR to locate this information. /* "\fBpostconf html_directory\fR" to locate this information.
/* .na
/* .nf
/* OVERVIEW, overview of Postfix commands and processes /* OVERVIEW, overview of Postfix commands and processes
/* BASIC_CONFIGURATION_README, Postfix basic configuration /* BASIC_CONFIGURATION_README, Postfix basic configuration
/* ADDRESS_REWRITING_README, Postfix address rewriting /* ADDRESS_REWRITING_README, Postfix address rewriting

View File

@ -168,7 +168,7 @@ int main(int argc, char **argv)
char *slash; char *slash;
int fd; int fd;
int ch; int ch;
char *tag; const char *tag;
int log_flags = 0; int log_flags = 0;
int level = MSG_INFO; int level = MSG_INFO;

View File

@ -173,7 +173,12 @@
/* postconf(5), configuration parameters /* postconf(5), configuration parameters
/* syslogd(8), system logging /* syslogd(8), system logging
/* README FILES /* README FILES
/* Use "\fBpostconf readme_directory\fR" to locate this information. /* .ad
/* .fi
/* Use "\fBpostconf readme_directory\fR" or
/* "\fBpostconf html_directory\fR" to locate this information.
/* .na
/* .nf
/* DATABASE_README, Postfix lookup table overview /* DATABASE_README, Postfix lookup table overview
/* LICENSE /* LICENSE
/* .ad /* .ad

View File

@ -123,7 +123,12 @@
/* sendmail(1), Sendmail-compatible user interface /* sendmail(1), Sendmail-compatible user interface
/* postsuper(1), privileged queue operations /* postsuper(1), privileged queue operations
/* README FILES /* README FILES
/* Use "\fBpostconf readme_directory\fR" to locate this information. /* .ad
/* .fi
/* Use "\fBpostconf readme_directory\fR" or
/* "\fBpostconf html_directory\fR" to locate this information.
/* .na
/* .nf
/* ETRN_README, Postfix ETRN howto /* ETRN_README, Postfix ETRN howto
/* LICENSE /* LICENSE
/* .ad /* .ad

Some files were not shown because too many files have changed in this diff Show More