2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-29 13:18:12 +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.
Point your browser at html/index.html for Postfix documentation,
for manual pages, and for the unavoidable Postfix FAQ. Expect to
see updated versions on-line at http://www.postfix.org/
Point your browser at html/index.html for Postfix documentation
and for hyperlinked versions of Postfix manual pages. Expect
to see updated versions on-line at http://www.postfix.org/
Point your MANPATH environment variable at the `man' directory (use
an absolute path) for UNIX-style on-line manual pages. These pages
@ -109,7 +109,7 @@ Documentation:
Example files:
conf/ sample configuration files
conf/ configuration files, run-time scripts
examples/ chroot environments, virtual domains
Library routines:
@ -134,20 +134,24 @@ Command-line utilities:
Postfix daemons:
src/anvil/ Connection count/rate limiter
src/bounce/ Bounce or defer mail
src/cleanup/ Canonicalize and enqueue mail
src/error/ Trivial error mailer
src/lmtp/ LMTP client
src/local/ Local delivery
src/master/ Postfix resident superserver
src/oqmgr/ Old queue manager
src/pickup/ Local pickup
src/pipe/ Pipe delivery
src/qmgr/ Queue manager
src/qmqpd/ QMQPD server
src/showq/ List Postfix queue status
src/spawn/ Run any command from a network socket
src/lmtp/ LMTP client
src/smtp/ SMTP client
src/smtpd/ SMTP server
src/spawn/ Run non-Postfix server
src/trivial-rewrite/ Address rewriting and resolving
src/verify/ address verification service
src/virtual/ virtual mailbox-only delivery agent
Test programs:
@ -159,9 +163,9 @@ Miscellaneous:
auxiliary/ Auxiliary software etc.
bin/ Postfix command executables
conf/ Sample configuration files
conf/ Configuration files, run-time scripts
include/ Installed include files
lib/ Installed object libraries
libexec/ Postfix daemon executables
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:
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:
Low: noise filter: allow smtp(8) to retry immediately if
all MXes return a quick ECONNRESET or 4xx reply during the
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
delivery.

View File

@ -1,6 +1,6 @@
SHELL = /bin/sh
WARN = -Wmissing-prototypes -Wformat
OPTS = 'CC=$(CC) -DSNAPSHOT'
OPTS = 'CC=$(CC)'
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/lmtp src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce \
@ -15,7 +15,7 @@ default: update
makefiles Makefiles:
set -e; for i in $(DIRS); do \
(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;
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

View File

@ -1,6 +1,6 @@
SHELL = /bin/sh
WARN = -Wmissing-prototypes -Wformat
OPTS = 'CC=$(CC) -DSNAPSHOT'
OPTS = 'CC=$(CC)'
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/lmtp src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce \
@ -15,7 +15,7 @@ default: update
makefiles Makefiles:
set -e; for i in $(DIRS); do \
(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;
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

View File

@ -15,7 +15,7 @@ default: update
makefiles Makefiles:
set -e; for i in $(DIRS); do \
(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;
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

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
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:
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
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
with a non-default Berkeley DB implementation, then every Postfix program will
dump core because either the system library or Postfix itself ends up using the
wrong version.
Warning: some Linux system libraries use Berkeley DB, as do some third-party
libraries such as SASL. If you compile Postfix with a different Berkeley DB
implementation, then every Postfix program will dump core because either the
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://
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:
% make tidy
% make makefiles CCARGS=-I/usr/include/db2 AUXLIBS=-ldb2
% make makefiles CCARGS=-I/usr/include/db3 AUXLIBS=-ldb3
% make
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
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
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
for some preemptive magic. The [sample-scheduler.cf file] documents all the
knobs the user can use to control this preemptive magic - there is nothing else
to the preemption than the quite simple conditions described below.
for some preemptive magic. The postconf(5) manual documents all the knobs the
user can use to control this preemptive magic - there is nothing else to the
preemption than the quite simple conditions described below.
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

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'
- Change top-level Makefiles, disable -DSNAPSHOT.
- Change top-level Makefile.stable/snapshot, makedefs.stable/snapshot
- Delete TODO-BEFORE-RELEASE :-)

View File

@ -280,13 +280,14 @@
# postconf(5), configuration parameters
#
# 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
# SMTPD_ACCESS_README, built-in SMTP server access control
# SMTPD_POLICY_README, external policy server
#
# LICENSE
# The Secure Mailer license must be distributed with this
# The Secure Mailer license must be distributed with this
# software.
#
# AUTHOR(S)

View File

@ -184,11 +184,12 @@ decode: root
# postconf(5), configuration parameters
#
# 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
#
# LICENSE
# The Secure Mailer license must be distributed with this
# The Secure Mailer license must be distributed with this
# software.
#
# AUTHOR(S)

View File

@ -207,12 +207,13 @@
# virtual(5), virtual aliasing
#
# 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
# ADDRESS_REWRITING_README, address rewriting guide
#
# LICENSE
# The Secure Mailer license must be distributed with this
# The Secure Mailer license must be distributed with this
# software.
#
# AUTHOR(S)

View File

@ -310,14 +310,15 @@
# RFC 2047, message header encoding for non-ASCII text
#
# 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
# CONTENT_INSPECTION_README, Postfix content inspection overview
# BUILTIN_FILTER_README, Postfix built-in content inspection
# BACKSCATTER_README, blocking returned forged mail
#
# LICENSE
# The Secure Mailer license must be distributed with this
# The Secure Mailer license must be distributed with this
# software.
#
# AUTHOR(S)

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.
#
# 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
# host for. Specify those names via the relay_domains settings for
# 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
# 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 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.
#
@ -216,7 +216,7 @@ unknown_local_recipient_reject_code = 550
#
# In particular, "trusted" SMTP clients are allowed to relay mail
# 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
# 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
# The relay_domains parameter restricts what destinations this system will
# relay mail to. See the smtpd_recipient_restrictions restriction in the
# file sample-smtpd.cf for detailed information.
# relay mail to. See the smtpd_recipient_restrictions description in
# postconf(5) for detailed information.
#
# By default, Postfix relays mail
# - 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
# 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
@ -337,25 +337,22 @@ unknown_local_recipient_reject_code = 550
# ADDRESS REWRITING
#
# Insert text from sample-rewrite.cf if you need to do address
# masquerading.
#
# Insert text from sample-canonical.cf if you need to do address
# rewriting, or if you need username->Firstname.Lastname mapping.
# The ADDRESS_REWRITING_README document gives information about
# address masquerading or other forms of address rewriting including
# username->Firstname.Lastname mapping.
# 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
#
# Insert text from sample-relocated.cf if you need "user has moved"
# style bounce messages. Alternatively, you can bounce recipients
# with an SMTP server access table. See sample-smtpd.cf.
# See the discussion in the ADDRESS_REWRITING_README document.
# TRANSPORT MAP
#
# Insert text from sample-transport.cf if you need explicit routing.
# See the discussion in the ADDRESS_REWRITING_README document.
# ALIAS DATABASE
#
@ -499,8 +496,8 @@ unknown_local_recipient_reject_code = 550
# JUNK MAIL CONTROLS
#
# The controls listed here are only a very small subset. See the file
# sample-smtpd.cf for an elaborate list of anti-UCE controls.
# The controls listed here are only a very small subset. The file
# SPTMD_ACCESS_README provides an overview.
# The header_checks parameter specifies an optional table with patterns
# 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
# deferred mail, so that mail can be flushed quickly with the SMTP
# "ETRN domain.tld" command, or by executing "sendmail -qRdomain.tld".
#
# 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.
# See the ETRN_README document for a detailed description.
#
# 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 =
# SHOW SOFTWARE VERSION OR NOT
#
@ -621,11 +612,16 @@ mailq_path =
#
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 =
# sample_directory: The location of the Postfix sample configuration files.
# This parameter is obsolete as of Postfix 2.1.
#
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)
# Currently not part of the public interface.
shift
$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
;;

View File

@ -141,12 +141,13 @@
# postconf(5), configuration parameters
#
# 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
# ADDRESS_REWRITING_README, address rewriting guide
#
# LICENSE
# The Secure Mailer license must be distributed with this
# The Secure Mailer license must be distributed with this
# software.
#
# AUTHOR(S)

View File

@ -247,12 +247,13 @@
# postmap(1), Postfix lookup table manager
#
# 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
# FILTER_README, external content filter
#
# LICENSE
# The Secure Mailer license must be distributed with this
# The Secure Mailer license must be distributed with this
# software.
#
# AUTHOR(S)

View File

@ -246,13 +246,14 @@
# canonical(5), canonical address mapping
#
# 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
# ADDRESS_REWRITING_README, address rewriting guide
# VIRTUAL_README, domain hosting guide
#
# LICENSE
# The Secure Mailer license must be distributed with this
# The Secure Mailer license must be distributed with this
# software.
#
# AUTHOR(S)

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
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>
<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
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
compile Postfix with a non-default Berkeley DB implementation, then
every Postfix program will dump core because either the system
library or Postfix itself ends up using the wrong version. </p>
<p> Warning: some Linux system libraries use Berkeley DB, as do
some third-party libraries such as SASL. If you compile Postfix
with a different Berkeley DB implementation, then every Postfix
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
<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>
<pre>
% make tidy
% make makefiles CCARGS=-I/usr/include/db2 AUXLIBS=-ldb2
% make makefiles CCARGS=-I/usr/include/db3 AUXLIBS=-ldb3
% make
</pre>
</blockquote>

View File

@ -59,13 +59,14 @@ unfortunate choices in its design. </p>
<h2>How the queue manager scheduler works </h2>
<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,
except for how 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 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
to the preemption than the quite simple conditions described below.
</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
SMTP clients with the same number SMTP server processes. The next
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>

View File

@ -291,7 +291,7 @@ ACCESS(5) ACCESS(5)
<a href="SMTPD_POLICY_README.html">SMTPD_POLICY_README</a>, external policy server
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -155,7 +155,7 @@ ALIASES(5) ALIASES(5)
<a href="DATABASE_README.html">DATABASE_README</a>, Postfix lookup table overview
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -152,7 +152,7 @@ ANVIL(8) ANVIL(8)
<a href="TUNING_README.html">TUNING_README</a>, performance tuning
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>HISTORY</b>

View File

@ -217,7 +217,7 @@ CANONICAL(5) CANONICAL(5)
<a href="ADDRESS_REWRITING_README.html">ADDRESS_REWRITING_README</a>, address rewriting guide
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -359,7 +359,7 @@ CLEANUP(8) CLEANUP(8)
<a href="ADDRESS_REWRITING_README.html">ADDRESS_REWRITING_README</a> Postfix address manipulation
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -164,7 +164,7 @@ FLUSH(8) FLUSH(8)
<a href="ETRN_README.html">ETRN_README</a>, Postfix ETRN howto
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>HISTORY</b>

View File

@ -322,7 +322,7 @@ HEADER_CHECKS(5) HEADER_CHECKS(5)
<a href="BACKSCATTER_README.html">BACKSCATTER_README</a>, blocking returned forged mail
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -437,13 +437,13 @@ LDAP_TABLE(5) LDAP_TABLE(5)
<a href="LDAP_README.html">LDAP_README</a>, Postfix LDAP client guide
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>
Carsten Hoeger, Hery Rakotoarisoa, John Hensley, Keith
Stevenson, LaMont Jones, Liviu Daia, Manuel Guesdon, Mike
Mattice, Prabhat K Singh, Sami Haahtinen, Samuel Tardieu,
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

@ -143,8 +143,8 @@ LMTP(8) LMTP(8)
Limit the number of parallel deliveries to the same
destination via this mail delivery transport.
<i>transport</i><b>_destination_recipient_limit ($default_destina-</b>
<b>tion_recipient_limit)</b>
<i>transport</i><b>_destination_recipient_limit ($<a href="postconf.5.html#default_destination_recipient_limit">default_destina</a>-</b>
<b><a href="postconf.5.html#default_destination_recipient_limit">tion_recipient_limit</a>)</b>
Limit the number of recipients per message delivery
via this mail delivery transport.
@ -269,7 +269,7 @@ LMTP(8) LMTP(8)
<a href="VIRTUAL_README.html">VIRTUAL_README</a>, virtual delivery agent howto
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -126,7 +126,7 @@ MYSQL_TABLE(5) MYSQL_TABLE(5)
<a href="MYSQL_README.html">MYSQL_README</a>, Postfix MYSQL client guide
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>HISTORY</b>

View File

@ -319,7 +319,7 @@ OQMGR(8) OQMGR(8)
<a href="QSHAPE_README.html">QSHAPE_README</a>, Postfix queue analysis
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -173,7 +173,7 @@ PGSQL_TABLE(5) PGSQL_TABLE(5)
<a href="PGSQL_README.html">PGSQL_README</a>, Postfix PostgreSQL client guide
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>HISTORY</b>

View File

@ -201,7 +201,7 @@ POSTALIAS(1) POSTALIAS(1)
<a href="DATABASE_README.html">DATABASE_README</a>, Postfix lookup table overview
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -174,7 +174,7 @@ POSTCONF(1) POSTCONF(1)
<a href="DATABASE_README.html">DATABASE_README</a>, Postfix lookup table overview
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -150,7 +150,7 @@ POSTFIX(1) POSTFIX(1)
Sendmail compatibility feature that specifies where
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
how to build, configure or operate a specific Post-
fix subsystem or feature.
@ -249,7 +249,6 @@ POSTFIX(1) POSTFIX(1)
syslogd(8), system logging
<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="BASIC_CONFIGURATION_README.html">BASIC_CONFIGURATION_README</a>, Postfix basic configuration
<a href="ADDRESS_REWRITING_README.html">ADDRESS_REWRITING_README</a>, Postfix address rewriting
@ -258,7 +257,7 @@ POSTFIX(1) POSTFIX(1)
<a href="QSHAPE_README.html">QSHAPE_README</a>, Postfix queue analysis
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -206,7 +206,7 @@ POSTMAP(1) POSTMAP(1)
<a href="DATABASE_README.html">DATABASE_README</a>, Postfix lookup table overview
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -155,11 +155,11 @@ POSTQUEUE(1) POSTQUEUE(1)
<a href="ETRN_README.html">ETRN_README</a>, Postfix ETRN howto
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>HISTORY</b>
The postqueue command was introduced with Postfix version
The postqueue command was introduced with Postfix version
1.1.
<b>AUTHOR(S)</b>

View File

@ -246,8 +246,8 @@ QMGR(8) QMGR(8)
The default maximal number of recipients per mes-
sage delivery.
<i>transport</i><b>_destination_recipient_limit ($default_destina-</b>
<b>tion_recipient_limit)</b>
<i>transport</i><b>_destination_recipient_limit ($<a href="postconf.5.html#default_destination_recipient_limit">default_destina</a>-</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>.
<b>MESSAGE SCHEDULING CONTROLS</b>
@ -374,7 +374,7 @@ QMGR(8) QMGR(8)
<a href="QSHAPE_README.html">QSHAPE_README</a>, Postfix queue analysis
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -160,7 +160,7 @@ QMQPD(8) QMQPD(8)
<a href="QMQP_README.html">QMQP_README</a>, Postfix ezmlm-idx howto.
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>HISTORY</b>

View File

@ -151,7 +151,7 @@ RELOCATED(5) RELOCATED(5)
<a href="ADDRESS_REWRITING_README.html">ADDRESS_REWRITING_README</a>, address rewriting guide
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -157,8 +157,8 @@ SMTP(8) SMTP(8)
same destination via the smtp message delivery
transport.
<b><a href="postconf.5.html#smtp_destination_recipient_limit">smtp_destination_recipient_limit</a> ($default_destina-</b>
<b>tion_recipient_limit)</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><a href="postconf.5.html#default_destination_recipient_limit">tion_recipient_limit</a>)</b>
The maximal number of recipients per delivery via
the smtp message delivery transport.
@ -328,7 +328,7 @@ SMTP(8) SMTP(8)
<a href="SASL_README.html">SASL_README</a>, Postfix SASL howto
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -755,7 +755,7 @@ SMTPD(8) SMTPD(8)
<a href="XFORWARD_README.html">XFORWARD_README</a>, Postfix XFORWARD extension
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -98,7 +98,7 @@ TCP_TABLE(5) TCP_TABLE(5)
<a href="DATABASE_README.html">DATABASE_README</a>, Postfix lookup table overview
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -257,7 +257,7 @@ TRANSPORT(5) TRANSPORT(5)
<a href="FILTER_README.html">FILTER_README</a>, external content filter
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -261,7 +261,7 @@ TRIVIAL-REWRITE(8) TRIVIAL-REWRITE(8)
<a href="ADDRESS_VERIFICATION_README.html">ADDRESS_VERIFICATION_README</a>, Postfix address verification
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

@ -179,7 +179,7 @@ VERIFY(8) VERIFY(8)
<a href="ADDRESS_VERIFICATION_README.html">ADDRESS_VERIFICATION_README</a>, address verification howto
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>HISTORY</b>

View File

@ -257,7 +257,7 @@ VIRTUAL(5) VIRTUAL(5)
<a href="VIRTUAL_README.html">VIRTUAL_README</a>, domain hosting guide
<b>LICENSE</b>
The Secure Mailer license must be distributed with this
The Secure Mailer license must be distributed with this
software.
<b>AUTHOR(S)</b>

View File

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

View File

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

View File

@ -154,7 +154,12 @@ postconf(5), configuration parameters
.SH "README FILES"
.na
.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
.SH "LICENSE"
.na

View File

@ -215,8 +215,12 @@ syslogd(8), system logging
.SH "README FILES"
.na
.nf
.ad
.fi
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
BASIC_CONFIGURATION_README, Postfix basic configuration
ADDRESS_REWRITING_README, Postfix address rewriting

View File

@ -193,7 +193,12 @@ syslogd(8), system logging
.SH "README FILES"
.na
.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
.SH "LICENSE"
.na

View File

@ -143,7 +143,12 @@ postsuper(1), privileged queue operations
.SH "README FILES"
.na
.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
.SH "LICENSE"
.na

View File

@ -342,7 +342,8 @@ syslogd(8), system logging
.SH "README_FILES"
.na
.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
ETRN_README, Postfix ETRN howto
VERP_README, Postfix VERP howto

View File

@ -271,7 +271,12 @@ postconf(5), configuration parameters
.SH "README FILES"
.na
.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
SMTPD_ACCESS_README, built-in SMTP server access control
SMTPD_POLICY_README, external policy server

View File

@ -140,7 +140,12 @@ postconf(5), configuration parameters
.SH "README FILES"
.na
.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
.SH "LICENSE"
.na

View File

@ -197,7 +197,12 @@ virtual(5), virtual aliasing
.SH "README FILES"
.na
.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
ADDRESS_REWRITING_README, address rewriting guide
.SH "LICENSE"

View File

@ -72,7 +72,12 @@ pcre_table(5) format of PCRE tables
.SH "README FILES"
.na
.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
.SH "AUTHOR(S)"
.na

View File

@ -299,7 +299,12 @@ RFC 2047, message header encoding for non-ASCII text
.SH "README FILES"
.na
.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
CONTENT_INSPECTION_README, Postfix content inspection overview
BUILTIN_FILTER_README, Postfix built-in content inspection

View File

@ -419,7 +419,12 @@ pgsql_table(5), PostgreSQL lookup tables
.SH "README FILES"
.na
.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
LDAP_README, Postfix LDAP client guide
.SH "LICENSE"

View File

@ -139,7 +139,12 @@ pgsql_table(5), PostgreSQL lookup tables
.SH "README FILES"
.na
.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
MYSQL_README, Postfix MYSQL client guide
.SH "LICENSE"

View File

@ -181,7 +181,12 @@ regexp_table(5), format of POSIX regular expression tables
.SH "README FILES"
.na
.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
.SH "AUTHOR(S)"
.na

View File

@ -184,7 +184,12 @@ mysql_table(5), MySQL lookup tables
.SH "README FILES"
.na
.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
PGSQL_README, Postfix PostgreSQL client guide
.SH "LICENSE"

View File

@ -149,7 +149,12 @@ cidr_table(5), format of CIDR tables
.SH "README FILES"
.na
.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
.SH "AUTHOR(S)"
.na

View File

@ -147,7 +147,12 @@ postconf(5), configuration parameters
.SH "README FILES"
.na
.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
ADDRESS_REWRITING_README, address rewriting guide
.SH "LICENSE"

View File

@ -102,6 +102,12 @@ cidr_table(5) format of CIDR tables
.SH "README FILES"
.na
.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
.SH "LICENSE"
.na

View File

@ -255,7 +255,12 @@ postmap(1), Postfix lookup table manager
.SH "README FILES"
.na
.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
FILTER_README, external content filter
.SH "LICENSE"

View File

@ -246,7 +246,12 @@ canonical(5), canonical address mapping
.SH "README FILES"
.na
.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
ADDRESS_REWRITING_README, address rewriting guide
VIRTUAL_README, domain hosting guide

View File

@ -154,7 +154,12 @@ postconf(5), configuration parameters
.SH "README FILES"
.na
.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
.SH "LICENSE"
.na

View File

@ -300,7 +300,12 @@ syslogd(8), system logging
.SH "README FILES"
.na
.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
.SH "LICENSE"
.na

View File

@ -141,7 +141,12 @@ syslogd(8), system logging
.SH "README FILES"
.na
.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
.SH "LICENSE"
.na

View File

@ -234,7 +234,12 @@ syslogd(8), system logging
.SH "README FILES"
.na
.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
VIRTUAL_README, virtual delivery agent howto
.SH "LICENSE"

View File

@ -292,7 +292,12 @@ syslogd(8) system logging
.SH "README FILES"
.na
.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
.SH "LICENSE"
.na

View File

@ -331,7 +331,12 @@ syslogd(8) system logging
.SH "README FILES"
.na
.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
QSHAPE_README, Postfix queue analysis
.SH "LICENSE"

View File

@ -150,7 +150,12 @@ syslogd(8), system logging
.SH "README FILES"
.na
.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.
.SH "LICENSE"
.na

View File

@ -276,7 +276,12 @@ syslogd(8), system logging
.SH "README FILES"
.na
.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
.SH "LICENSE"
.na

View File

@ -606,7 +606,12 @@ syslogd(8), system logging
.SH "README FILES"
.na
.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
FILTER_README, external after-queue content filter
LOCAL_RECIPIENT_README, blocking unknown local recipients

View File

@ -224,7 +224,12 @@ syslogd(8), system logging
.SH "README FILES"
.na
.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_VERIFICATION_README, Postfix address verification
.SH "LICENSE"

View File

@ -163,7 +163,12 @@ syslogd(5), system logging
.SH "README FILES"
.na
.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
.SH "LICENSE"
.na

View File

@ -264,7 +264,8 @@ syslogd(8), system logging
.SH "README_FILES"
.na
.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
.SH "LICENSE"
.na

View File

@ -31,6 +31,6 @@ sed '
s;.\(.\);<b>\1</b>;g
s;</i>\( *\)<i>;\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>'

View File

@ -158,6 +158,7 @@ exec sed '
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;[[:<:]]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;[[:<:]]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

View File

@ -720,5 +720,5 @@ bin/postconf -c $CONFIG_DIRECTORY -e \
# post-install processing now.
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
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>
<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.
</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>
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
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>
<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
code from http://www.sleepycat.com/ </p>
<p> Warning: some Linux system libraries use Berkeley DB. If you
compile Postfix with a non-default Berkeley DB implementation, then
every Postfix program will dump core because either the system
library or Postfix itself ends up using the wrong version. </p>
<p> Warning: some Linux system libraries use Berkeley DB, as do
some third-party libraries such as SASL. If you compile Postfix
with a different Berkeley DB implementation, then every Postfix
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
http://www.sleepycat.com/, use something like: </p>
@ -98,7 +108,7 @@ use a variant of the following commands: </p>
<blockquote>
<pre>
% make tidy
% make makefiles CCARGS=-I/usr/include/db2 AUXLIBS=-ldb2
% make makefiles CCARGS=-I/usr/include/db3 AUXLIBS=-ldb3
% make
</pre>
</blockquote>

View File

@ -3,8 +3,7 @@ SHELL = /bin/sh
# For now, just hard-coded rules.
CONFIG = ../conf/access ../conf/aliases ../conf/canonical ../conf/relocated \
../conf/transport ../conf/virtual ../conf/header_checks \
../conf/ldap_table ../conf/mysql_table ../conf/pgsql_table
../conf/transport ../conf/virtual ../conf/header_checks
HTML = ../html/ADDRESS_CLASS_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>
<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,
except for how 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 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
to the preemption than the quite simple conditions described below.
</p>

View File

@ -241,7 +241,12 @@
# smtpd(8), SMTP server
# postconf(5), configuration parameters
# 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
# SMTPD_ACCESS_README, built-in SMTP server access control
# SMTPD_POLICY_README, external policy server

View File

@ -122,7 +122,12 @@
# postalias(1), create/update alias database
# postconf(5), configuration parameters
# 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
# LICENSE
# .ad

View File

@ -175,7 +175,12 @@
# postconf(5), configuration parameters
# virtual(5), virtual aliasing
# 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
# ADDRESS_REWRITING_README, address rewriting guide
# LICENSE
@ -188,5 +193,3 @@
# P.O. Box 704
# 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
# pcre_table(5) format of PCRE tables
# 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
# AUTHOR(S)
# The CIDR table lookup code was originally written by:

View File

@ -275,7 +275,12 @@
# RFC 2045, base64 and quoted-printable encoding rules
# RFC 2047, message header encoding for non-ASCII text
# 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
# CONTENT_INSPECTION_README, Postfix content inspection overview
# BUILTIN_FILTER_README, Postfix built-in content inspection

View File

@ -399,7 +399,12 @@
# mysql_table(5), MySQL lookup tables
# pgsql_table(5), PostgreSQL lookup tables
# 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
# LDAP_README, Postfix LDAP client guide
# LICENSE

View File

@ -123,7 +123,12 @@
# ldap_table(5), LDAP lookup tables
# pgsql_table(5), PostgreSQL lookup tables
# 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
# MYSQL_README, Postfix MYSQL client guide
# LICENSE

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