--- postfix-2.5.5.orig/Makefile.in
+++ postfix-2.5.5/Makefile.in
@@ -8,6 +8,7 @@
src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop \
src/postkick src/postlock src/postlog src/postmap src/postqueue \
src/postsuper src/qmqpd src/spawn src/flush src/verify \
+ rmail \
src/virtual src/proxymap src/anvil src/scache src/discard src/tlsmgr
MANDIRS = proto man html
--- postfix-2.5.5.orig/examples/smtpd-policy/greylist.pl
+++ postfix-2.5.5/examples/smtpd-policy/greylist.pl
@@ -73,7 +73,7 @@
# In case of database corruption, this script saves the database as
# $database_name.time(), so that the mail system does not get stuck.
#
-$database_name="/var/mta/greylist.db";
+$database_name="/var/lib/postfix/greylist.db";
$greylist_delay=60;
#
--- postfix-2.5.5.orig/README_FILES/CYRUS_README
+++ postfix-2.5.5/README_FILES/CYRUS_README
@@ -3,3 +3,4 @@
-------------------------------------------------------------------------------
This document will be made available via http://www.postfix.org/.
+See also /usr/share/doc/cyrus21-doc/README.postfix.gz.
--- postfix-2.5.5.orig/man/man8/lmtp.8
+++ postfix-2.5.5/man/man8/lmtp.8
@@ -1 +1 @@
-.so man8/smtp.8
+.so man8/smtp.8postfix
--- postfix-2.5.5.orig/man/man8/defer.8
+++ postfix-2.5.5/man/man8/defer.8
@@ -1 +1 @@
-.so man8/bounce.8
+.so man8/bounce.8postfix
--- postfix-2.5.5.orig/man/man8/trace.8
+++ postfix-2.5.5/man/man8/trace.8
@@ -1 +1 @@
-.so man8/bounce.8
+.so man8/bounce.8postfix
--- postfix-2.5.5.orig/man/man5/postconf.5
+++ postfix-2.5.5/man/man5/postconf.5
@@ -3201,8 +3201,10 @@
.ft R
.SH myhostname (default: see "postconf -d" output)
The internet hostname of this mail system. The default is to use
-the fully-qualified domain name from gethostname(). $myhostname is
-used as a default value for many other configuration parameters.
+the name from gethostname(), which is expected to be a fully-qualified
+domain name. If it is only one component, then $mydomain is appended
+to it. $myhostname is used as a default value for many other configuration
+parameters.
.PP
Example:
.PP
--- postfix-2.5.5.orig/html/lmtp.8.html
+++ postfix-2.5.5/html/lmtp.8.html
@@ -343,7 +343,7 @@
smtp_sasl_type.
smtp_sasl_type (cyrus)
- The SASL plug-in type that the Postfix SMTP client
+ The SASL plug-in type that the Postfix SMTP client
should use for authentication.
Available in Postfix version 2.5 and later:
@@ -364,43 +364,43 @@
able.
STARTTLS SUPPORT CONTROLS
- Detailed information about STARTTLS configuration may be
+ Detailed information about STARTTLS configuration may be
found in the TLS_README document.
smtp_tls_security_level (empty)
The default SMTP TLS security level for the Postfix
- SMTP client; when a non-empty value is specified,
- this overrides the obsolete parameters
+ SMTP client; when a non-empty value is specified,
+ this overrides the obsolete parameters
smtp_use_tls, smtp_enforce_tls, and
smtp_tls_enforce_peername.
smtp_sasl_tls_security_options ($smtp_sasl_secu-
rity_options)
- The SASL authentication security options that the
- Postfix SMTP client uses for TLS encrypted SMTP
+ The SASL authentication security options that the
+ Postfix SMTP client uses for TLS encrypted SMTP
sessions.
smtp_starttls_timeout (300s)
- Time limit for Postfix SMTP client write and read
- operations during TLS startup and shutdown hand-
+ Time limit for Postfix SMTP client write and read
+ operations during TLS startup and shutdown hand-
shake procedures.
smtp_tls_CAfile (empty)
- The file with the certificate of the certification
- authority (CA) that issued the Postfix SMTP client
+ The file with the certificate of the certification
+ authority (CA) that issued the Postfix SMTP client
certificate.
smtp_tls_CApath (empty)
- Directory with PEM format certificate authority
- certificates that the Postfix SMTP client uses to
+ Directory with PEM format certificate authority
+ certificates that the Postfix SMTP client uses to
verify a remote SMTP server certificate.
smtp_tls_cert_file (empty)
- File with the Postfix SMTP client RSA certificate
+ File with the Postfix SMTP client RSA certificate
in PEM format.
smtp_tls_mandatory_ciphers (medium)
- The minimum TLS cipher grade that the Postfix SMTP
+ The minimum TLS cipher grade that the Postfix SMTP
client will use with mandatory TLS encryption.
smtp_tls_exclude_ciphers (empty)
@@ -409,35 +409,35 @@
levels.
smtp_tls_mandatory_exclude_ciphers (empty)
- Additional list of ciphers or cipher types to
- exclude from the SMTP client cipher list at manda-
+ Additional list of ciphers or cipher types to
+ exclude from the SMTP client cipher list at manda-
tory TLS security levels.
smtp_tls_dcert_file (empty)
- File with the Postfix SMTP client DSA certificate
+ File with the Postfix SMTP client DSA certificate
in PEM format.
smtp_tls_dkey_file ($smtp_tls_dcert_file)
- File with the Postfix SMTP client DSA private key
+ File with the Postfix SMTP client DSA private key
in PEM format.
smtp_tls_key_file ($smtp_tls_cert_file)
- File with the Postfix SMTP client RSA private key
+ File with the Postfix SMTP client RSA private key
in PEM format.
smtp_tls_loglevel (0)
- Enable additional Postfix SMTP client logging of
+ Enable additional Postfix SMTP client logging of
TLS activity.
smtp_tls_note_starttls_offer (no)
- Log the hostname of a remote SMTP server that
- offers STARTTLS, when TLS is not already enabled
+ Log the hostname of a remote SMTP server that
+ offers STARTTLS, when TLS is not already enabled
for that server.
smtp_tls_policy_maps (empty)
Optional lookup tables with the Postfix SMTP client
TLS security policy by next-hop destination; when a
- non-empty value is specified, this overrides the
+ non-empty value is specified, this overrides the
obsolete smtp_tls_per_site parameter.
smtp_tls_mandatory_protocols (SSLv3, TLSv1)
@@ -453,7 +453,7 @@
for the "secure" TLS security level.
smtp_tls_session_cache_database (empty)
- Name of the file containing the optional Postfix
+ Name of the file containing the optional Postfix
SMTP client TLS session cache.
smtp_tls_session_cache_timeout (3600s)
@@ -465,9 +465,9 @@
for the "verify" TLS security level.
tls_daemon_random_bytes (32)
- The number of pseudo-random bytes that an smtp(8)
- or smtpd(8) process requests from the tlsmgr(8)
- server in order to seed its internal pseudo random
+ The number of pseudo-random bytes that an smtp(8)
+ or smtpd(8) process requests from the tlsmgr(8)
+ server in order to seed its internal pseudo random
number generator (PRNG).
tls_high_cipherlist
@@ -479,7 +479,7 @@
ciphers.
tls_low_cipherlist (ALL:!EXPORT:+RC4:@STRENGTH)
- The OpenSSL cipherlist for "LOW" or higher grade
+ The OpenSSL cipherlist for "LOW" or higher grade
ciphers.
tls_export_cipherlist (ALL:+RC4:@STRENGTH)
@@ -487,15 +487,15 @@
ciphers.
tls_null_cipherlist (eNULL:!aNULL)
- The OpenSSL cipherlist for "NULL" grade ciphers
+ The OpenSSL cipherlist for "NULL" grade ciphers
that provide authentication without encryption.
Available in Postfix version 2.4 and later:
smtp_sasl_tls_verified_security_options
($smtp_sasl_tls_security_options)
- The SASL authentication security options that the
- Postfix SMTP client uses for TLS encrypted SMTP
+ The SASL authentication security options that the
+ Postfix SMTP client uses for TLS encrypted SMTP
sessions with a verified server certificate.
Available in Postfix version 2.5 and later:
--- postfix-2.5.5.orig/html/smtp.8.html
+++ postfix-2.5.5/html/smtp.8.html
@@ -343,7 +343,7 @@
smtp_sasl_type.
smtp_sasl_type (cyrus)
- The SASL plug-in type that the Postfix SMTP client
+ The SASL plug-in type that the Postfix SMTP client
should use for authentication.
Available in Postfix version 2.5 and later:
@@ -364,43 +364,43 @@
able.
STARTTLS SUPPORT CONTROLS
- Detailed information about STARTTLS configuration may be
+ Detailed information about STARTTLS configuration may be
found in the TLS_README document.
smtp_tls_security_level (empty)
The default SMTP TLS security level for the Postfix
- SMTP client; when a non-empty value is specified,
- this overrides the obsolete parameters
+ SMTP client; when a non-empty value is specified,
+ this overrides the obsolete parameters
smtp_use_tls, smtp_enforce_tls, and
smtp_tls_enforce_peername.
smtp_sasl_tls_security_options ($smtp_sasl_secu-
rity_options)
- The SASL authentication security options that the
- Postfix SMTP client uses for TLS encrypted SMTP
+ The SASL authentication security options that the
+ Postfix SMTP client uses for TLS encrypted SMTP
sessions.
smtp_starttls_timeout (300s)
- Time limit for Postfix SMTP client write and read
- operations during TLS startup and shutdown hand-
+ Time limit for Postfix SMTP client write and read
+ operations during TLS startup and shutdown hand-
shake procedures.
smtp_tls_CAfile (empty)
- The file with the certificate of the certification
- authority (CA) that issued the Postfix SMTP client
+ The file with the certificate of the certification
+ authority (CA) that issued the Postfix SMTP client
certificate.
smtp_tls_CApath (empty)
- Directory with PEM format certificate authority
- certificates that the Postfix SMTP client uses to
+ Directory with PEM format certificate authority
+ certificates that the Postfix SMTP client uses to
verify a remote SMTP server certificate.
smtp_tls_cert_file (empty)
- File with the Postfix SMTP client RSA certificate
+ File with the Postfix SMTP client RSA certificate
in PEM format.
smtp_tls_mandatory_ciphers (medium)
- The minimum TLS cipher grade that the Postfix SMTP
+ The minimum TLS cipher grade that the Postfix SMTP
client will use with mandatory TLS encryption.
smtp_tls_exclude_ciphers (empty)
@@ -409,35 +409,35 @@
levels.
smtp_tls_mandatory_exclude_ciphers (empty)
- Additional list of ciphers or cipher types to
- exclude from the SMTP client cipher list at manda-
+ Additional list of ciphers or cipher types to
+ exclude from the SMTP client cipher list at manda-
tory TLS security levels.
smtp_tls_dcert_file (empty)
- File with the Postfix SMTP client DSA certificate
+ File with the Postfix SMTP client DSA certificate
in PEM format.
smtp_tls_dkey_file ($smtp_tls_dcert_file)
- File with the Postfix SMTP client DSA private key
+ File with the Postfix SMTP client DSA private key
in PEM format.
smtp_tls_key_file ($smtp_tls_cert_file)
- File with the Postfix SMTP client RSA private key
+ File with the Postfix SMTP client RSA private key
in PEM format.
smtp_tls_loglevel (0)
- Enable additional Postfix SMTP client logging of
+ Enable additional Postfix SMTP client logging of
TLS activity.
smtp_tls_note_starttls_offer (no)
- Log the hostname of a remote SMTP server that
- offers STARTTLS, when TLS is not already enabled
+ Log the hostname of a remote SMTP server that
+ offers STARTTLS, when TLS is not already enabled
for that server.
smtp_tls_policy_maps (empty)
Optional lookup tables with the Postfix SMTP client
TLS security policy by next-hop destination; when a
- non-empty value is specified, this overrides the
+ non-empty value is specified, this overrides the
obsolete smtp_tls_per_site parameter.
smtp_tls_mandatory_protocols (SSLv3, TLSv1)
@@ -453,7 +453,7 @@
for the "secure" TLS security level.
smtp_tls_session_cache_database (empty)
- Name of the file containing the optional Postfix
+ Name of the file containing the optional Postfix
SMTP client TLS session cache.
smtp_tls_session_cache_timeout (3600s)
@@ -465,9 +465,9 @@
for the "verify" TLS security level.
tls_daemon_random_bytes (32)
- The number of pseudo-random bytes that an smtp(8)
- or smtpd(8) process requests from the tlsmgr(8)
- server in order to seed its internal pseudo random
+ The number of pseudo-random bytes that an smtp(8)
+ or smtpd(8) process requests from the tlsmgr(8)
+ server in order to seed its internal pseudo random
number generator (PRNG).
tls_high_cipherlist
@@ -479,7 +479,7 @@
ciphers.
tls_low_cipherlist (ALL:!EXPORT:+RC4:@STRENGTH)
- The OpenSSL cipherlist for "LOW" or higher grade
+ The OpenSSL cipherlist for "LOW" or higher grade
ciphers.
tls_export_cipherlist (ALL:+RC4:@STRENGTH)
@@ -487,15 +487,15 @@
ciphers.
tls_null_cipherlist (eNULL:!aNULL)
- The OpenSSL cipherlist for "NULL" grade ciphers
+ The OpenSSL cipherlist for "NULL" grade ciphers
that provide authentication without encryption.
Available in Postfix version 2.4 and later:
smtp_sasl_tls_verified_security_options
($smtp_sasl_tls_security_options)
- The SASL authentication security options that the
- Postfix SMTP client uses for TLS encrypted SMTP
+ The SASL authentication security options that the
+ Postfix SMTP client uses for TLS encrypted SMTP
sessions with a verified server certificate.
Available in Postfix version 2.5 and later:
--- postfix-2.5.5.orig/debian/postfix.prerm
+++ postfix-2.5.5/debian/postfix.prerm
@@ -0,0 +1,49 @@
+#!/bin/sh -e
+
+# Debian Postfix prerm
+# LaMont Jones
+
+case "$1" in
+ upgrade)
+ new=$2 # get new version
+ [ -x /usr/sbin/invoke-rc.d ] && \
+ INIT="invoke-rc.d postfix" || \
+ INIT="/etc/init.d/postfix"
+ ${INIT} stop
+ if dpkg --compare-versions $new lt 0.0.20020113.SNAPSHOT-1; then
+ # Need to handle some changes in services.
+ MASTER=/etc/postfix/master.cf
+ if grep -qE '^cleanup[[:space:]]+unix[[:space:]]+n' ${MASTER}; then
+ echo "in master.cf:"
+ echo " forcing pickup=privileged, cleanup=private, flush=private"
+ sed 's/^\(cleanup[[:space:]]*unix[[:space:]]*\)n/\1-/
+ s/^\(flush[[:space:]]*unix[[:space:]]*\)n/\1-/
+ s/^\(pickup[[:space:]]*fifo[[:space:]]*.[[:space:]]*\)-/\1n/
+ ' ${MASTER} > ${MASTER}.$$
+ mv ${MASTER}.$$ ${MASTER}
+ fi
+ fi
+ ;;
+
+ deconfigure)
+ ;;
+
+ remove)
+ [ -x /usr/sbin/invoke-rc.d ] && \
+ INIT="invoke-rc.d postfix" || \
+ INIT="/etc/init.d/postfix"
+ ${INIT} stop
+ rm -rf /var/spool/postfix/lib
+ rm -rf /var/spool/postfix/etc
+ ;;
+
+ failed-upgrade)
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+#DEBHELPER#
+exit 0
--- postfix-2.5.5.orig/debian/postfix-pgsql.copyright
+++ postfix-2.5.5/debian/postfix-pgsql.copyright
@@ -0,0 +1,318 @@
+This is the Debian GNU/Linux prepackaged version of Postfix, a mail transport
+agent.
+
+Postfix was created by Wietse Venema ; the Debian
+package has been assembled by LaMont Jones from sources
+available from http://www.postfix.org, and can be cloned from git via:
+ git clone git://git.debian.org/~lamont/postfix.git
+
+
+ Copyright (c) 1999, International Business Machines Corporation
+ and others. All Rights Reserved.
+
+The following copyright and license applies to this software:
+
+ IBM PUBLIC LICENSE VERSION 1.0 - SECURE MAILER
+
+ THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS IBM PUBLIC
+ LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE
+ PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+
+ 1. DEFINITIONS
+
+ "Contribution" means:
+ a) in the case of International Business Machines Corporation ("IBM"),
+ the Original Program, and
+ b) in the case of each Contributor,
+ i) changes to the Program, and
+ ii) additions to the Program;
+ where such changes and/or additions to the Program originate
+ from and are distributed by that particular Contributor.
+ A Contribution 'originates' from a Contributor if it was added
+ to the Program by such Contributor itself or anyone acting on
+ such Contributor's behalf.
+ Contributions do not include additions to the Program which:
+ (i) are separate modules of software distributed in conjunction
+ with the Program under their own license agreement, and
+ (ii) are not derivative works of the Program.
+
+ "Contributor" means IBM and any other entity that distributes the Program.
+
+ "Licensed Patents " mean patent claims licensable by a Contributor which
+ are necessarily infringed by the use or sale of its Contribution alone
+ or when combined with the Program.
+
+ "Original Program" means the original version of the software accompanying
+ this Agreement as released by IBM, including source code, object code
+ and documentation, if any.
+
+ "Program" means the Original Program and Contributions.
+
+ "Recipient" means anyone who receives the Program under this Agreement,
+ including all Contributors.
+
+ 2. GRANT OF RIGHTS
+
+ a) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free copyright
+ license to reproduce, prepare derivative works of, publicly display,
+ publicly perform, distribute and sublicense the Contribution of such
+ Contributor, if any, and such derivative works, in source code and
+ object code form.
+
+ b) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free patent
+ license under Licensed Patents to make, use, sell, offer to sell,
+ import and otherwise transfer the Contribution of such Contributor,
+ if any, in source code and object code form. This patent license
+ shall apply to the combination of the Contribution and the Program
+ if, at the time the Contribution is added by the Contributor, such
+ addition of the Contribution causes such combination to be covered
+ by the Licensed Patents. The patent license shall not apply to any
+ other combinations which include the Contribution. No hardware per
+ se is licensed hereunder.
+
+ c) Recipient understands that although each Contributor grants the
+ licenses to its Contributions set forth herein, no assurances are
+ provided by any Contributor that the Program does not infringe the
+ patent or other intellectual property rights of any other entity.
+ Each Contributor disclaims any liability to Recipient for claims
+ brought by any other entity based on infringement of intellectual
+ property rights or otherwise. As a condition to exercising the rights
+ and licenses granted hereunder, each Recipient hereby assumes sole
+ responsibility to secure any other intellectual property rights
+ needed, if any. For example, if a third party patent license
+ is required to allow Recipient to distribute the Program, it is
+ Recipient's responsibility to acquire that license before distributing
+ the Program.
+
+ d) Each Contributor represents that to its knowledge it has sufficient
+ copyright rights in its Contribution, if any, to grant the copyright
+ license set forth in this Agreement.
+
+ 3. REQUIREMENTS
+
+ A Contributor may choose to distribute the Program in object code form
+ under its own license agreement, provided that:
+ a) it complies with the terms and conditions of this Agreement; and
+ b) its license agreement:
+ i) effectively disclaims on behalf of all Contributors all
+ warranties and conditions, express and implied, including
+ warranties or conditions of title and non-infringement, and
+ implied warranties or conditions of merchantability and fitness
+ for a particular purpose;
+ ii) effectively excludes on behalf of all Contributors all
+ liability for damages, including direct, indirect, special,
+ incidental and consequential damages, such as lost profits;
+ iii) states that any provisions which differ from this Agreement
+ are offered by that Contributor alone and not by any other
+ party; and
+ iv) states that source code for the Program is available from
+ such Contributor, and informs licensees how to obtain it in a
+ reasonable manner on or through a medium customarily used for
+ software exchange.
+
+ When the Program is made available in source code form:
+ a) it must be made available under this Agreement; and
+ b) a copy of this Agreement must be included with each copy of the
+ Program.
+
+ Each Contributor must include the following in a conspicuous location
+ in the Program:
+
+ Copyright (c) 1997,1998,1999, International Business Machines
+ Corporation and others. All Rights Reserved.
+
+ In addition, each Contributor must identify itself as the originator of
+ its Contribution, if any, in a manner that reasonably allows subsequent
+ Recipients to identify the originator of the Contribution.
+
+ 4. COMMERCIAL DISTRIBUTION
+
+ Commercial distributors of software may accept certain responsibilities
+ with respect to end users, business partners and the like. While this
+ license is intended to facilitate the commercial use of the Program, the
+ Contributor who includes the Program in a commercial product offering
+ should do so in a manner which does not create potential liability for
+ other Contributors. Therefore, if a Contributor includes the Program in
+ a commercial product offering, such Contributor ("Commercial Contributor")
+ hereby agrees to defend and indemnify every other Contributor
+ ("Indemnified Contributor") against any losses, damages and costs
+ (collectively "Losses") arising from claims, lawsuits and other legal
+ actions brought by a third party against the Indemnified Contributor to
+ the extent caused by the acts or omissions of such Commercial Contributor
+ in connection with its distribution of the Program in a commercial
+ product offering. The obligations in this section do not apply to any
+ claims or Losses relating to any actual or alleged intellectual property
+ infringement. In order to qualify, an Indemnified Contributor must:
+ a) promptly notify the Commercial Contributor in writing of such claim,
+ and
+ b) allow the Commercial Contributor to control, and cooperate with
+ the Commercial Contributor in, the defense and any related
+ settlement negotiations. The Indemnified Contributor may
+ participate in any such claim at its own expense.
+
+ For example, a Contributor might include the Program in a commercial
+ product offering, Product X. That Contributor is then a Commercial
+ Contributor. If that Commercial Contributor then makes performance
+ claims, or offers warranties related to Product X, those performance
+ claims and warranties are such Commercial Contributor's responsibility
+ alone. Under this section, the Commercial Contributor would have to
+ defend claims against the other Contributors related to those performance
+ claims and warranties, and if a court requires any other Contributor to
+ pay any damages as a result, the Commercial Contributor must pay those
+ damages.
+
+ 5. NO WARRANTY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED
+ ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER
+ EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR
+ CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A
+ PARTICULAR PURPOSE. Each Recipient is solely responsible for determining
+ the appropriateness of using and distributing the Program and assumes
+ all risks associated with its exercise of rights under this Agreement,
+ including but not limited to the risks and costs of program errors,
+ compliance with applicable laws, damage to or loss of data, programs or
+ equipment, and unavailability or interruption of operations.
+
+ 6. DISCLAIMER OF LIABILITY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR
+ ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
+ WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION
+ OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ 7. GENERAL
+
+ If any provision of this Agreement is invalid or unenforceable under
+ applicable law, it shall not affect the validity or enforceability of
+ the remainder of the terms of this Agreement, and without further action
+ by the parties hereto, such provision shall be reformed to the minimum
+ extent necessary to make such provision valid and enforceable.
+
+ If Recipient institutes patent litigation against a Contributor with
+ respect to a patent applicable to software (including a cross-claim or
+ counterclaim in a lawsuit), then any patent licenses granted by that
+ Contributor to such Recipient under this Agreement shall terminate
+ as of the date such litigation is filed. In addition, If Recipient
+ institutes patent litigation against any entity (including a cross-claim
+ or counterclaim in a lawsuit) alleging that the Program itself (excluding
+ combinations of the Program with other software or hardware) infringes
+ such Recipient's patent(s), then such Recipient's rights granted under
+ Section 2(b) shall terminate as of the date such litigation is filed.
+
+ All Recipient's rights under this Agreement shall terminate if it fails
+ to comply with any of the material terms or conditions of this Agreement
+ and does not cure such failure in a reasonable period of time after
+ becoming aware of such noncompliance. If all Recipient's rights under
+ this Agreement terminate, Recipient agrees to cease use and distribution
+ of the Program as soon as reasonably practicable. However, Recipient's
+ obligations under this Agreement and any licenses granted by Recipient
+ relating to the Program shall continue and survive.
+
+ IBM may publish new versions (including revisions) of this Agreement
+ from time to time. Each new version of the Agreement will be given a
+ distinguishing version number. The Program (including Contributions)
+ may always be distributed subject to the version of the Agreement under
+ which it was received. In addition, after a new version of the Agreement
+ is published, Contributor may elect to distribute the Program (including
+ its Contributions) under the new version. No one other than IBM has the
+ right to modify this Agreement. Except as expressly stated in Sections
+ 2(a) and 2(b) above, Recipient receives no rights or licenses to the
+ intellectual property of any Contributor under this Agreement, whether
+ expressly, by implication, estoppel or otherwise. All rights in the
+ Program not expressly granted under this Agreement are reserved.
+
+ This Agreement is governed by the laws of the State of New York and the
+ intellectual property laws of the United States of America. No party to
+ this Agreement will bring a legal action under this Agreement more than
+ one year after the cause of action arose. Each party waives its rights
+ to a jury trial in any resulting litigation.
+
+The following license applies to rmail, distributed with Postfix:
+
+ SENDMAIL LICENSE
+
+ The following license terms and conditions apply, unless a different
+ license is obtained from Sendmail, Inc., 6425 Christie Ave, Fourth Floor,
+ Emeryville, CA 94608, or by electronic mail at license@sendmail.com.
+
+ License Terms:
+
+ Use, Modification and Redistribution (including distribution of any
+ modified or derived work) in source and binary forms is permitted only if
+ each of the following conditions is met:
+
+ 1. Redistributions qualify as "freeware" or "Open Source Software" under
+ one of the following terms:
+
+ (a) Redistributions are made at no charge beyond the reasonable cost of
+ materials and delivery.
+
+ (b) Redistributions are accompanied by a copy of the Source Code or by an
+ irrevocable offer to provide a copy of the Source Code for up to three
+ years at the cost of materials and delivery. Such redistributions
+ must allow further use, modification, and redistribution of the Source
+ Code under substantially the same terms as this license. For the
+ purposes of redistribution "Source Code" means the complete compilable
+ and linkable source code of sendmail including all modifications.
+
+ 2. Redistributions of source code must retain the copyright notices as they
+ appear in each source code file, these license terms, and the
+ disclaimer/limitation of liability set forth as paragraph 6 below.
+
+ 3. Redistributions in binary form must reproduce the Copyright Notice,
+ these license terms, and the disclaimer/limitation of liability set
+ forth as paragraph 6 below, in the documentation and/or other materials
+ provided with the distribution. For the purposes of binary distribution
+ the "Copyright Notice" refers to the following language:
+ "Copyright (c) 1998-2000 Sendmail, Inc. All rights reserved."
+
+ 4. Neither the name of Sendmail, Inc. nor the University of California nor
+ the names of their contributors may be used to endorse or promote
+ products derived from this software without specific prior written
+ permission. The name "sendmail" is a trademark of Sendmail, Inc.
+
+ 5. All redistributions must comply with the conditions imposed by the
+ University of California on certain embedded code, whose copyright
+ notice and conditions for redistribution are as follows:
+
+ (a) Copyright (c) 1988, 1993 The Regents of the University of
+ California. All rights reserved.
+
+ (b) Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ (i) Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ (ii) Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ (iii) Neither the name of the University nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY
+ SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+ NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF
+ CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ $Revision: 1.1.4.3 $, Last updated $Date: 2003/07/23 16:13:15 $
+
--- postfix-2.5.5.orig/debian/postfix-pcre.copyright
+++ postfix-2.5.5/debian/postfix-pcre.copyright
@@ -0,0 +1,318 @@
+This is the Debian GNU/Linux prepackaged version of Postfix, a mail transport
+agent.
+
+Postfix was created by Wietse Venema ; the Debian
+package has been assembled by LaMont Jones from sources
+available from http://www.postfix.org, and can be cloned from git via:
+ git clone git://git.debian.org/~lamont/postfix.git
+
+
+ Copyright (c) 1999, International Business Machines Corporation
+ and others. All Rights Reserved.
+
+The following copyright and license applies to this software:
+
+ IBM PUBLIC LICENSE VERSION 1.0 - SECURE MAILER
+
+ THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS IBM PUBLIC
+ LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE
+ PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+
+ 1. DEFINITIONS
+
+ "Contribution" means:
+ a) in the case of International Business Machines Corporation ("IBM"),
+ the Original Program, and
+ b) in the case of each Contributor,
+ i) changes to the Program, and
+ ii) additions to the Program;
+ where such changes and/or additions to the Program originate
+ from and are distributed by that particular Contributor.
+ A Contribution 'originates' from a Contributor if it was added
+ to the Program by such Contributor itself or anyone acting on
+ such Contributor's behalf.
+ Contributions do not include additions to the Program which:
+ (i) are separate modules of software distributed in conjunction
+ with the Program under their own license agreement, and
+ (ii) are not derivative works of the Program.
+
+ "Contributor" means IBM and any other entity that distributes the Program.
+
+ "Licensed Patents " mean patent claims licensable by a Contributor which
+ are necessarily infringed by the use or sale of its Contribution alone
+ or when combined with the Program.
+
+ "Original Program" means the original version of the software accompanying
+ this Agreement as released by IBM, including source code, object code
+ and documentation, if any.
+
+ "Program" means the Original Program and Contributions.
+
+ "Recipient" means anyone who receives the Program under this Agreement,
+ including all Contributors.
+
+ 2. GRANT OF RIGHTS
+
+ a) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free copyright
+ license to reproduce, prepare derivative works of, publicly display,
+ publicly perform, distribute and sublicense the Contribution of such
+ Contributor, if any, and such derivative works, in source code and
+ object code form.
+
+ b) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free patent
+ license under Licensed Patents to make, use, sell, offer to sell,
+ import and otherwise transfer the Contribution of such Contributor,
+ if any, in source code and object code form. This patent license
+ shall apply to the combination of the Contribution and the Program
+ if, at the time the Contribution is added by the Contributor, such
+ addition of the Contribution causes such combination to be covered
+ by the Licensed Patents. The patent license shall not apply to any
+ other combinations which include the Contribution. No hardware per
+ se is licensed hereunder.
+
+ c) Recipient understands that although each Contributor grants the
+ licenses to its Contributions set forth herein, no assurances are
+ provided by any Contributor that the Program does not infringe the
+ patent or other intellectual property rights of any other entity.
+ Each Contributor disclaims any liability to Recipient for claims
+ brought by any other entity based on infringement of intellectual
+ property rights or otherwise. As a condition to exercising the rights
+ and licenses granted hereunder, each Recipient hereby assumes sole
+ responsibility to secure any other intellectual property rights
+ needed, if any. For example, if a third party patent license
+ is required to allow Recipient to distribute the Program, it is
+ Recipient's responsibility to acquire that license before distributing
+ the Program.
+
+ d) Each Contributor represents that to its knowledge it has sufficient
+ copyright rights in its Contribution, if any, to grant the copyright
+ license set forth in this Agreement.
+
+ 3. REQUIREMENTS
+
+ A Contributor may choose to distribute the Program in object code form
+ under its own license agreement, provided that:
+ a) it complies with the terms and conditions of this Agreement; and
+ b) its license agreement:
+ i) effectively disclaims on behalf of all Contributors all
+ warranties and conditions, express and implied, including
+ warranties or conditions of title and non-infringement, and
+ implied warranties or conditions of merchantability and fitness
+ for a particular purpose;
+ ii) effectively excludes on behalf of all Contributors all
+ liability for damages, including direct, indirect, special,
+ incidental and consequential damages, such as lost profits;
+ iii) states that any provisions which differ from this Agreement
+ are offered by that Contributor alone and not by any other
+ party; and
+ iv) states that source code for the Program is available from
+ such Contributor, and informs licensees how to obtain it in a
+ reasonable manner on or through a medium customarily used for
+ software exchange.
+
+ When the Program is made available in source code form:
+ a) it must be made available under this Agreement; and
+ b) a copy of this Agreement must be included with each copy of the
+ Program.
+
+ Each Contributor must include the following in a conspicuous location
+ in the Program:
+
+ Copyright (c) 1997,1998,1999, International Business Machines
+ Corporation and others. All Rights Reserved.
+
+ In addition, each Contributor must identify itself as the originator of
+ its Contribution, if any, in a manner that reasonably allows subsequent
+ Recipients to identify the originator of the Contribution.
+
+ 4. COMMERCIAL DISTRIBUTION
+
+ Commercial distributors of software may accept certain responsibilities
+ with respect to end users, business partners and the like. While this
+ license is intended to facilitate the commercial use of the Program, the
+ Contributor who includes the Program in a commercial product offering
+ should do so in a manner which does not create potential liability for
+ other Contributors. Therefore, if a Contributor includes the Program in
+ a commercial product offering, such Contributor ("Commercial Contributor")
+ hereby agrees to defend and indemnify every other Contributor
+ ("Indemnified Contributor") against any losses, damages and costs
+ (collectively "Losses") arising from claims, lawsuits and other legal
+ actions brought by a third party against the Indemnified Contributor to
+ the extent caused by the acts or omissions of such Commercial Contributor
+ in connection with its distribution of the Program in a commercial
+ product offering. The obligations in this section do not apply to any
+ claims or Losses relating to any actual or alleged intellectual property
+ infringement. In order to qualify, an Indemnified Contributor must:
+ a) promptly notify the Commercial Contributor in writing of such claim,
+ and
+ b) allow the Commercial Contributor to control, and cooperate with
+ the Commercial Contributor in, the defense and any related
+ settlement negotiations. The Indemnified Contributor may
+ participate in any such claim at its own expense.
+
+ For example, a Contributor might include the Program in a commercial
+ product offering, Product X. That Contributor is then a Commercial
+ Contributor. If that Commercial Contributor then makes performance
+ claims, or offers warranties related to Product X, those performance
+ claims and warranties are such Commercial Contributor's responsibility
+ alone. Under this section, the Commercial Contributor would have to
+ defend claims against the other Contributors related to those performance
+ claims and warranties, and if a court requires any other Contributor to
+ pay any damages as a result, the Commercial Contributor must pay those
+ damages.
+
+ 5. NO WARRANTY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED
+ ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER
+ EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR
+ CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A
+ PARTICULAR PURPOSE. Each Recipient is solely responsible for determining
+ the appropriateness of using and distributing the Program and assumes
+ all risks associated with its exercise of rights under this Agreement,
+ including but not limited to the risks and costs of program errors,
+ compliance with applicable laws, damage to or loss of data, programs or
+ equipment, and unavailability or interruption of operations.
+
+ 6. DISCLAIMER OF LIABILITY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR
+ ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
+ WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION
+ OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ 7. GENERAL
+
+ If any provision of this Agreement is invalid or unenforceable under
+ applicable law, it shall not affect the validity or enforceability of
+ the remainder of the terms of this Agreement, and without further action
+ by the parties hereto, such provision shall be reformed to the minimum
+ extent necessary to make such provision valid and enforceable.
+
+ If Recipient institutes patent litigation against a Contributor with
+ respect to a patent applicable to software (including a cross-claim or
+ counterclaim in a lawsuit), then any patent licenses granted by that
+ Contributor to such Recipient under this Agreement shall terminate
+ as of the date such litigation is filed. In addition, If Recipient
+ institutes patent litigation against any entity (including a cross-claim
+ or counterclaim in a lawsuit) alleging that the Program itself (excluding
+ combinations of the Program with other software or hardware) infringes
+ such Recipient's patent(s), then such Recipient's rights granted under
+ Section 2(b) shall terminate as of the date such litigation is filed.
+
+ All Recipient's rights under this Agreement shall terminate if it fails
+ to comply with any of the material terms or conditions of this Agreement
+ and does not cure such failure in a reasonable period of time after
+ becoming aware of such noncompliance. If all Recipient's rights under
+ this Agreement terminate, Recipient agrees to cease use and distribution
+ of the Program as soon as reasonably practicable. However, Recipient's
+ obligations under this Agreement and any licenses granted by Recipient
+ relating to the Program shall continue and survive.
+
+ IBM may publish new versions (including revisions) of this Agreement
+ from time to time. Each new version of the Agreement will be given a
+ distinguishing version number. The Program (including Contributions)
+ may always be distributed subject to the version of the Agreement under
+ which it was received. In addition, after a new version of the Agreement
+ is published, Contributor may elect to distribute the Program (including
+ its Contributions) under the new version. No one other than IBM has the
+ right to modify this Agreement. Except as expressly stated in Sections
+ 2(a) and 2(b) above, Recipient receives no rights or licenses to the
+ intellectual property of any Contributor under this Agreement, whether
+ expressly, by implication, estoppel or otherwise. All rights in the
+ Program not expressly granted under this Agreement are reserved.
+
+ This Agreement is governed by the laws of the State of New York and the
+ intellectual property laws of the United States of America. No party to
+ this Agreement will bring a legal action under this Agreement more than
+ one year after the cause of action arose. Each party waives its rights
+ to a jury trial in any resulting litigation.
+
+The following license applies to rmail, distributed with Postfix:
+
+ SENDMAIL LICENSE
+
+ The following license terms and conditions apply, unless a different
+ license is obtained from Sendmail, Inc., 6425 Christie Ave, Fourth Floor,
+ Emeryville, CA 94608, or by electronic mail at license@sendmail.com.
+
+ License Terms:
+
+ Use, Modification and Redistribution (including distribution of any
+ modified or derived work) in source and binary forms is permitted only if
+ each of the following conditions is met:
+
+ 1. Redistributions qualify as "freeware" or "Open Source Software" under
+ one of the following terms:
+
+ (a) Redistributions are made at no charge beyond the reasonable cost of
+ materials and delivery.
+
+ (b) Redistributions are accompanied by a copy of the Source Code or by an
+ irrevocable offer to provide a copy of the Source Code for up to three
+ years at the cost of materials and delivery. Such redistributions
+ must allow further use, modification, and redistribution of the Source
+ Code under substantially the same terms as this license. For the
+ purposes of redistribution "Source Code" means the complete compilable
+ and linkable source code of sendmail including all modifications.
+
+ 2. Redistributions of source code must retain the copyright notices as they
+ appear in each source code file, these license terms, and the
+ disclaimer/limitation of liability set forth as paragraph 6 below.
+
+ 3. Redistributions in binary form must reproduce the Copyright Notice,
+ these license terms, and the disclaimer/limitation of liability set
+ forth as paragraph 6 below, in the documentation and/or other materials
+ provided with the distribution. For the purposes of binary distribution
+ the "Copyright Notice" refers to the following language:
+ "Copyright (c) 1998-2000 Sendmail, Inc. All rights reserved."
+
+ 4. Neither the name of Sendmail, Inc. nor the University of California nor
+ the names of their contributors may be used to endorse or promote
+ products derived from this software without specific prior written
+ permission. The name "sendmail" is a trademark of Sendmail, Inc.
+
+ 5. All redistributions must comply with the conditions imposed by the
+ University of California on certain embedded code, whose copyright
+ notice and conditions for redistribution are as follows:
+
+ (a) Copyright (c) 1988, 1993 The Regents of the University of
+ California. All rights reserved.
+
+ (b) Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ (i) Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ (ii) Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ (iii) Neither the name of the University nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY
+ SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+ NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF
+ CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ $Revision: 1.1.4.3 $, Last updated $Date: 2003/07/23 16:13:15 $
+
--- postfix-2.5.5.orig/debian/postfix-dev.dirs
+++ postfix-2.5.5/debian/postfix-dev.dirs
@@ -0,0 +1,2 @@
+usr/include/postfix
+usr/lib
--- postfix-2.5.5.orig/debian/ip-up.d
+++ postfix-2.5.5/debian/ip-up.d
@@ -0,0 +1,43 @@
+#!/bin/sh -e
+# Called when a new interface comes up
+# Written by LaMont Jones
+
+# don't bother to restart postfix when lo is configured.
+if [ "$IFACE" = "lo" ]; then
+ exit 0
+fi
+
+# If /usr isn't mounted yet, silently bail.
+if [ ! -d /usr/lib/postfix ]; then
+ exit 0
+fi
+
+RUNNING=""
+# If master is running, force a queue run to unload any mail that is
+# hanging around. Yes, sendmail is a symlink...
+if [ -f /var/spool/postfix/pid/master.pid ]; then
+ pid=$(sed 's/ //g' /var/spool/postfix/pid/master.pid)
+ exe=$(ls -l /proc/$pid/exe 2>/dev/null | sed 's/.* //;s/.*\///')
+ if [ "X$exe" = "Xmaster" ]; then
+ RUNNING="y"
+ fi
+fi
+
+# start or reload Postfix as needed
+if [ ! -x /sbin/resolvconf ]; then
+ f=/etc/resolv.conf
+ if ! cp $f $(postconf -h queue_directory)$f 2>/dev/null; then
+ exit 0
+ fi
+ if [ -n "$RUNNING" ]; then
+ /etc/init.d/postfix reload >/dev/null 2>&1
+ fi
+fi
+
+# If master is running, force a queue run to unload any mail that is
+# hanging around. Yes, sendmail is a symlink...
+if [ -n "$RUNNING" ]; then
+ if [ -x /usr/sbin/sendmail ]; then
+ /usr/sbin/sendmail -q >/dev/null 2>&1
+ fi
+fi
--- postfix-2.5.5.orig/debian/postfix-pgsql.dirs
+++ postfix-2.5.5/debian/postfix-pgsql.dirs
@@ -0,0 +1 @@
+usr/lib/postfix
--- postfix-2.5.5.orig/debian/compat
+++ postfix-2.5.5/debian/compat
@@ -0,0 +1 @@
+4
--- postfix-2.5.5.orig/debian/postfix-dev.prerm
+++ postfix-2.5.5/debian/postfix-dev.prerm
@@ -0,0 +1,37 @@
+#! /bin/sh
+# prerm script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * `remove'
+# * `upgrade'
+# * `failed-upgrade'
+# * `remove' `in-favour'
+# * `deconfigure' `in-favour'
+# `removing'
+#
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+ remove|upgrade|deconfigure)
+# install-info --quiet --remove /usr/info/#PACKAGE#.info.gz
+ ;;
+ failed-upgrade)
+ ;;
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- postfix-2.5.5.orig/debian/postfix-add-policy
+++ postfix-2.5.5/debian/postfix-add-policy
@@ -0,0 +1,99 @@
+#!/usr/bin/python
+'''
+postfix-add-filter - A script to append new services to Postfix master.cf to
+simplify integration of content filters.
+
+Copyright (c) 2008 Scott Kitterman
+Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+'''
+__author__ = "Scott Kitterman"
+__email__ = "scott@kitterman.com"
+__version__ = "0.1: August 3, 2008"
+
+import sys
+import shutil
+import os
+import time
+
+def makepolicy(name, user, argv):
+ # Recommendations from the Postfix SMTPD_POLICY_README.
+ header = """# ==========================================================================
+# service type private unpriv chroot wakeup maxproc command + args
+# (yes) (yes) (yes) (never) (100)
+# ==========================================================================
+# Added using postfix-add-policy script:
+"""
+ policy = ("""%s unix - n n - 0 spawn
+ user=%s argv=%s
+""" % (name, user, argv))
+ additions = header + policy
+ return (additions)
+
+
+USAGE = """To add a new policy service to your master.cf:
+ % sudo postfix-policy-add {policy service name} {user} {file (full path)}
+
+Example:
+ % sudo postfix-policy-add policyd noboby /usr/bin/policyd
+
+Adds the following to master.cf:
+""" + makepolicy('policyd', 'nobody', '/usr/bin/policyd') + """
+To output this usage message:
+ % postfix-add-policy
+"""
+
+
+if __name__ == '__main__':
+ import sys
+ if len(sys.argv) < 4:
+ print USAGE
+ elif len(sys.argv) == 4:
+ policyname = sys.argv[1]
+ user = sys.argv[2]
+ argv = sys.argv[3]
+ # Read in master.cf and check to make sure specified name isn't
+ # already used
+ masterfile = open('/etc/postfix/master.cf', mode='r')
+ master = masterfile.readlines()
+ masterfile.close()
+ bailout = False
+ for line in master:
+ if policyname in line:
+ # Policy name already used, print error and bail
+ print ('Selected policy name, %s, already in master.cf. \
+ Master.cf not updated.' % (policyname))
+ bailout = True
+ break
+ if not bailout:
+ # Make backup copy
+ backupname = '/etc/postfix/master.cf.' + str(int(time.time()))
+ shutil.copy2('/etc/postfix/master.cf', backupname)
+ # Make working copy
+ shutil.copy2('/etc/postfix/master.cf', \
+ '/etc/postfix/master.cf.working')
+ # Add stuff in
+ stuff = makepolicy(policyname, user, argv)
+ # Append stuff to the working copy:
+ newmaster = open('/etc/postfix/master.cf.working', mode='a')
+ newmaster.writelines(stuff)
+ newmaster.close()
+ # Put working copy in place.
+ shutil.move('/etc/postfix/master.cf.working', \
+ '/etc/postfix/master.cf')
+ else:
+ print USAGE
+
--- postfix-2.5.5.orig/debian/postfix.postrm
+++ postfix-2.5.5/debian/postfix.postrm
@@ -0,0 +1,35 @@
+#!/bin/sh -e
+
+# Debian Postfix postrm
+
+# LaMont Jones
+
+case "$1" in
+ remove)
+ ldconfig
+ dpkg-statoverride --remove /usr/sbin/postdrop >/dev/null 2>&1 || true
+ dpkg-statoverride --remove /var/spool/postfix/public >/dev/null 2>&1 || true
+ dpkg-statoverride --remove /usr/sbin/postqueue >/dev/null 2>&1 || true
+ ;;
+
+ upgrade)
+ ;;
+
+ purge)
+ rm -rf /var/spool/postfix
+ rm -rf /etc/postfix
+ update-rc.d postfix remove >/dev/null
+ userdel postfix >/dev/null 2>&1 || true
+ groupdel postdrop >/dev/null 2>&1 || true
+ groupdel postfix >/dev/null 2>&1 || true
+ ;;
+
+ failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+#DEBHELPER#
--- postfix-2.5.5.orig/debian/postfix-add-filter
+++ postfix-2.5.5/debian/postfix-add-filter
@@ -0,0 +1,126 @@
+#!/usr/bin/python
+'''
+postfix-add-filter - A script to append new services to Postfix master.cf to
+simplify integration of content filters.
+
+Copyright (c) 2008 Scott Kitterman
+Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+'''
+__author__ = "Scott Kitterman"
+__email__ = "scott@kitterman.com"
+__version__ = "0.11: August 2, 2008"
+
+import sys
+import shutil
+import os
+import time
+
+def makeservice(name, port):
+ # Recommendations from amavisd-new 2.6.0 documentation plus chrooted to
+ # match Debian Postfix package defaults.
+ header = """# ==========================================================================
+# service type private unpriv chroot wakeup maxproc command + args
+# (yes) (yes) (yes) (never) (100)
+# ==========================================================================
+# Added using postfix-add-filter script:
+"""
+ smtp = ("""%s unix - - - - 2 smtp
+ -o smtp_data_done_timeout=1200
+ -o smtp_send_xforward_command=yes
+ -o smtp_tls_note_starttls_offer=no
+
+""" % (name))
+
+ smtpd = ("""127.0.0.1:%s inet n - - - - smtpd
+ -o content_filter=
+ -o smtpd_delay_reject=no
+ -o smtpd_client_restrictions=permit_mynetworks,reject
+ -o smtpd_helo_restrictions=
+ -o smtpd_sender_restrictions=
+ -o smtpd_recipient_restrictions=permit_mynetworks,reject
+ -o smtpd_data_restrictions=reject_unauth_pipelining
+ -o smtpd_end_of_data_restrictions=
+ -o smtpd_restriction_classes=
+ -o mynetworks=127.0.0.0/8
+ -o smtpd_error_sleep_time=0
+ -o smtpd_soft_error_limit=1001
+ -o smtpd_hard_error_limit=1000
+ -o smtpd_client_connection_count_limit=0
+ -o smtpd_client_connection_rate_limit=0
+ -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters
+ -o local_header_rewrite_clients=
+ -o smtpd_milters=
+ -o local_recipient_maps=
+ -o relay_recipient_maps=
+""" % (port))
+ additions = header + smtp + smtpd
+ return (additions)
+
+
+USAGE = """To add a new filter service to your master.cf:
+ % sudo postfix-add-filter {smtp client name} {smtpd service port}
+
+Example:
+ % sudo postfix-add-filter amavisfeed 10025
+
+Adds the following to master.cf:
+""" + makeservice('amavisfeed', '10025') + """
+To output this usage message:
+ % postfix-add-filter
+"""
+
+
+if __name__ == '__main__':
+ import sys
+ if len(sys.argv) < 3:
+ print USAGE
+ elif len(sys.argv) == 3:
+ servicename = sys.argv[1]
+ listenerport = sys.argv[2]
+ # Read in master.cf and check to make sure specified names aren't
+ # already used
+ masterfile = open('/etc/postfix/master.cf', mode='r')
+ master = masterfile.readlines()
+ masterfile.close()
+ bailout = False
+ for line in master:
+ if servicename in line or listenerport in line:
+ # Service name or listen port already used, print error and bail
+ print ('Selected service name, %s, or smtpd port, %s, \
+ already in master.cf. Master.cf not updated.'
+ % (servicename, listenerport))
+ bailout = True
+ break
+ if not bailout:
+ # Make backup copy
+ backupname = '/etc/postfix/master.cf.' + str(int(time.time()))
+ shutil.copy2('/etc/postfix/master.cf', backupname)
+ # Make working copy
+ shutil.copy2('/etc/postfix/master.cf', \
+ '/etc/postfix/master.cf.working')
+ # Add stuff in
+ stuff = makeservice(servicename, listenerport)
+ # Append stuff to the working copy:
+ newmaster = open('/etc/postfix/master.cf.working', mode='a')
+ newmaster.writelines(stuff)
+ newmaster.close()
+ # Put working copy in place.
+ shutil.move('/etc/postfix/master.cf.working', \
+ '/etc/postfix/master.cf')
+ else:
+ print USAGE
+
--- postfix-2.5.5.orig/debian/postfix-doc.prerm
+++ postfix-2.5.5/debian/postfix-doc.prerm
@@ -0,0 +1,39 @@
+#! /bin/sh
+# prerm script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * `remove'
+# * `upgrade'
+# * `failed-upgrade'
+# * `remove' `in-favour'
+# * `deconfigure' `in-favour'
+# `removing'
+#
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+ remove|upgrade|deconfigure)
+ if [ -x /usr/sbin/postconf ]; then
+ postconf -e readme_directory=no html_directory=no
+ fi
+ ;;
+ failed-upgrade)
+ ;;
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- postfix-2.5.5.orig/debian/postfix-cdb.README.Debian
+++ postfix-2.5.5/debian/postfix-cdb.README.Debian
@@ -0,0 +1,2 @@
+The postfix-doc package contains documentation on how to configure this
+map type. See /usr/share/doc/postfix/html/CDB_README.html
--- postfix-2.5.5.orig/debian/postfix-pcre.dirs
+++ postfix-2.5.5/debian/postfix-pcre.dirs
@@ -0,0 +1 @@
+usr/lib/postfix
--- postfix-2.5.5.orig/debian/postfix-ldap.README.Debian
+++ postfix-2.5.5/debian/postfix-ldap.README.Debian
@@ -0,0 +1,6 @@
+The postfix-doc package contains documentation on how to configure this
+map type. See /usr/share/doc/postfix/html/LDAP_README.html
+
+To use ldaps maps, you will need to have access to /dev/random and
+/dev/urandom. Either create them in the chroot, or use a proxy: map to
+escape the chroot for lookups.
--- postfix-2.5.5.orig/debian/postfix-cdb.files
+++ postfix-2.5.5/debian/postfix-cdb.files
@@ -0,0 +1 @@
+usr/lib/postfix/dict_cdb.so
--- postfix-2.5.5.orig/debian/postfix-add-policy.1
+++ postfix-2.5.5/debian/postfix-add-policy.1
@@ -0,0 +1,67 @@
+.TH POSTFIX-ADD-POLICY 1
+.ad
+.fi
+.SH NAME
+postfix-add-policy
+\-
+add policy service to Postfix master.cf
+.SH "SYNOPSIS"
+.na
+.nf
+\fBpostfix-add-policy\fR [\fIpolicy name\fR...] [\fIusername\fR...] [\fIargv\fR...]
+.SH DESCRIPTION
+.ad
+.fi
+The \fBpostfix-add-policy\fR(1) command adds an smtp policy server named
+\fIpolicy name\fR running using \fIusername\fR and called as \fIargv\fR to
+\/etc/postfix/master.cf to facilitate integration of SMTP policy servers such as
+postgrey or postfix-policyd-spf-perl. The configuration is based on the Postfix
+SMTPD_POLICY_README. Adminstrators should verify it is appropriate for their
+requirements.
+
+The original file is copied prior to modification and left in /etc/postfix to
+make it possible to revert changes easily.
+
+Available in the Debian package for Postfix version 2.5.3 and later.
+
+.SH DIAGNOSTICS
+.ad
+.fi
+If the given \fIpolicy name\fR already appears in the master.cf, a message will
+be printed to standard out and master.cf will not be modified.
+
+.SH "ENVIRONMENT"
+.na
+.nf
+.ad
+.fi
+.IP \fBMAIL_CONFIG\fR
+Directory with Postfix configuration files.
+
+The \fBpostfix-add-policy\fR(1) command should use this, but it currently
+doesn't. It is hard coded to /etc/postfix. This should be changed.
+.SH "CONFIGURATION PARAMETERS"
+.na
+.nf
+.ad
+.fi
+None
+.SH "FILES"
+.na
+.nf
+/etc/postfix/master.cf
+.SH "SEE ALSO"
+.na
+.nf
+postconf(5), Postfix configuration
+.SH "LICENSE"
+.na
+.nf
+.ad
+.fi
+This software is licensed under the MIT open source license.
+.SH "AUTHOR(S)"
+.na
+.nf
+Scott Kitterman
+
--- postfix-2.5.5.orig/debian/postfix-doc.doc-base
+++ postfix-2.5.5/debian/postfix-doc.doc-base
@@ -0,0 +1,9 @@
+Document: postfix
+Title: Postfix documentation
+Author: Wietse Venema
+Abstract: This document describes Postfix: how to configure and use it.
+Section: Network/Communication
+
+Format: HTML
+Index: /usr/share/doc/postfix/html/index.html
+Files: /usr/share/doc/postfix/html/*.html
--- postfix-2.5.5.orig/debian/postfix-pcre.prerm
+++ postfix-2.5.5/debian/postfix-pcre.prerm
@@ -0,0 +1,37 @@
+#! /bin/sh
+# prerm script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * `remove'
+# * `upgrade'
+# * `failed-upgrade'
+# * `remove' `in-favour'
+# * `deconfigure' `in-favour'
+# `removing'
+#
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+ remove|upgrade|deconfigure)
+# install-info --quiet --remove /usr/info/#PACKAGE#.info.gz
+ ;;
+ failed-upgrade)
+ ;;
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- postfix-2.5.5.orig/debian/postfix-ldap.files
+++ postfix-2.5.5/debian/postfix-ldap.files
@@ -0,0 +1 @@
+usr/lib/postfix/dict_ldap.so
--- postfix-2.5.5.orig/debian/postfix-pgsql.README.Debian
+++ postfix-2.5.5/debian/postfix-pgsql.README.Debian
@@ -0,0 +1,2 @@
+The postfix-doc package contains documentation on how to configure this
+map type. See /usr/share/doc/postfix/html/PGSQL_README.html
--- postfix-2.5.5.orig/debian/vars.in
+++ postfix-2.5.5/debian/vars.in
@@ -0,0 +1 @@
+Description=Postfix is Wietse Venema's mail transport agent that started life as an${Newline} alternative to the widely-used Sendmail program. Postfix attempts to${Newline} be fast, easy to administer, and secure, while at the same time being${Newline} sendmail compatible enough to not upset existing users. Thus, the outside${Newline} has a sendmail-ish flavor, but the inside is completely different.
--- postfix-2.5.5.orig/debian/init.d
+++ postfix-2.5.5/debian/init.d
@@ -0,0 +1,168 @@
+#!/bin/sh -e
+
+# Start or stop Postfix
+#
+# LaMont Jones
+# based on sendmail's init.d script
+
+### BEGIN INIT INFO
+# Provides: postfix mail-transport-agent
+# Required-Start: $local_fs $remote_fs $syslog $named $network $time
+# Required-Stop: $local_fs $remote_fs $syslog $named $network
+# Should-Start: postgresql mysql clamav-daemon postgrey spamassassin
+# Should-Stop: postgresql mysql clamav-daemon postgrey spamassassin
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: start and stop the Postfix Mail Transport Agent
+# Description: postfix is a Mail Transport agent
+### END INIT INFO
+
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+DAEMON=/usr/sbin/postfix
+NAME=Postfix
+TZ=
+unset TZ
+
+# Defaults - don't touch, edit /etc/default/postfix
+SYNC_CHROOT="y"
+
+test -f /etc/default/postfix && . /etc/default/postfix
+
+test -x $DAEMON && test -f /etc/postfix/main.cf || exit 0
+
+. /lib/lsb/init-functions
+#DISTRO=$(lsb_release -is 2>/dev/null || echo Debian)
+
+running() {
+ queue=$(postconf -h queue_directory 2>/dev/null || echo /var/spool/postfix)
+ if [ -f ${queue}/pid/master.pid ]; then
+ pid=$(sed 's/ //g' ${queue}/pid/master.pid)
+ # what directory does the executable live in. stupid prelink systems.
+ dir=$(ls -l /proc/$pid/exe 2>/dev/null | sed 's/.* -> //; s/\/[^\/]*$//')
+ if [ "X$dir" = "X/usr/lib/postfix" ]; then
+ echo y
+ fi
+ fi
+}
+
+case "$1" in
+ start)
+ log_daemon_msg "Starting Postfix Mail Transport Agent" postfix
+ RUNNING=$(running)
+ if [ -n "$RUNNING" ]; then
+ log_end_msg 0
+ else
+ # if you set myorigin to 'ubuntu.com' or 'debian.org', it's wrong, and annoys the admins of
+ # those domains. See also sender_canonical_maps.
+
+ MYORIGIN=$(postconf -h myorigin | tr 'A-Z' 'a-z')
+ if [ "X${MYORIGIN#/}" != "X${MYORIGIN}" ]; then
+ MYORIGIN=$(tr 'A-Z' 'a-z' < $MYORIGIN)
+ fi
+ if [ "X$MYORIGIN" = Xubuntu.com ] || [ "X$MYORIGIN" = Xdebian.org ]; then
+ log_failure_msg "Invalid \$myorigin ($MYORIGIN), refusing to start"
+ log_end_msg 1
+ exit 1
+ fi
+
+ # see if anything is running chrooted.
+ NEED_CHROOT=$(awk '/^[0-9a-z]/ && ($5 ~ "[-yY]") { print "y"; exit}' /etc/postfix/master.cf)
+
+ if [ -n "$NEED_CHROOT" ] && [ -n "$SYNC_CHROOT" ]; then
+ # Make sure that the chroot environment is set up correctly.
+ oldumask=$(umask)
+ umask 022
+ cd $(postconf -h queue_directory)
+
+ # if we're using tls, then we need to add etc/ssl/certs/ca-certificates.crt.
+ smtp_use_tls=$(postconf -h smtp_use_tls)
+ smtpd_use_tls=$(postconf -h smtpd_use_tls)
+ if [ "X$smtp_use_tls" = "Xyes" -o "X$smtpd_use_tls" = "Xyes" ]; then
+ if [ -f "/etc/ssl/certs/ca-certificates.crt" ]; then
+ mkdir -p etc/ssl/certs
+ cp /etc/ssl/certs/ca-certificates.crt etc/ssl/certs/
+ fi
+ fi
+
+ # if we're using unix:passwd.byname, then we need to add etc/passwd.
+ local_maps=$(postconf -h local_recipient_maps)
+ if [ "X$local_maps" != "X${local_maps#*unix:passwd.byname}" ]; then
+ if [ "X$local_maps" = "X${local_maps#*proxy:unix:passwd.byname}" ]; then
+ sed 's/^\([^:]*\):[^:]*/\1:x/' /etc/passwd > etc/passwd
+ chmod a+r etc/passwd
+ fi
+ fi
+
+ FILES="etc/localtime etc/services etc/resolv.conf etc/hosts \
+ etc/nsswitch.conf etc/nss_mdns.config"
+ for file in $FILES; do
+ [ -d ${file%/*} ] || mkdir -p ${file%/*}
+ if [ -f /${file} ]; then rm -f ${file} && cp /${file} ${file}; fi
+ if [ -f ${file} ]; then chmod a+rX ${file}; fi
+ done
+ rm -f usr/lib/zoneinfo/localtime
+ mkdir -p usr/lib/zoneinfo
+ ln -sf /etc/localtime usr/lib/zoneinfo/localtime
+ rm -f lib/libnss_*so*
+ tar cf - /lib/libnss_*so* 2>/dev/null |tar xf -
+ umask $oldumask
+ fi
+
+ if start-stop-daemon --start --exec ${DAEMON} -- quiet-quick-start; then
+ log_end_msg 0
+ else
+ log_end_msg 1
+ fi
+ fi
+ ;;
+
+ stop)
+ RUNNING=$(running)
+ log_daemon_msg "Stopping Postfix Mail Transport Agent" postfix
+ if [ -n "$RUNNING" ]; then
+ if ${DAEMON} quiet-stop; then
+ log_end_msg 0
+ else
+ log_end_msg 1
+ fi
+ else
+ log_end_msg 0
+ fi
+ ;;
+
+ restart)
+ $0 stop
+ $0 start
+ ;;
+
+ force-reload|reload)
+ log_action_begin_msg "Reloading Postfix configuration"
+ if ${DAEMON} quiet-reload; then
+ log_action_end_msg 0
+ else
+ log_action_end_msg 1
+ fi
+ ;;
+
+ status)
+ RUNNING=$(running)
+ if [ -n "$RUNNING" ]; then
+ log_success_msg "postfix is running"
+ exit 0
+ else
+ log_success_msg "postfix is not running"
+ exit 3
+ fi
+ ;;
+
+ flush|check|abort)
+ ${DAEMON} $1
+ ;;
+
+ *)
+ log_action_msg "Usage: /etc/init.d/postfix {start|stop|restart|reload|flush|check|abort|force-reload}"
+ exit 1
+ ;;
+esac
+
+exit 0
--- postfix-2.5.5.orig/debian/postfix_groups.pl
+++ postfix-2.5.5/debian/postfix_groups.pl
@@ -0,0 +1,418 @@
+#! /usr/bin/perl
+
+# Gateway script for postfix to send to LDAP mail-enabled groups.
+# $Id: postfix_groups.pl,v 1.6 2007/01/29 16:11:07 subbarao Exp $
+
+#++
+# NAME
+# postfix_groups.pl 8
+# SUMMARY
+# Pipe mailer program for postfix to send to LDAP mail-enabled groups.
+# SYNOPSIS
+# postfix_groups.pl
+# DESCRIPTION
+# postfix_groups.pl delivers mail to LDAP mail-enabled groups. It is
+# intended to be invoked by \fBpipe\fR(8). Here is an example of a
+# simple mail-enabled LDAP group:
+#
+# dn: cn=postfix-hackers, ou=Groups, o=hp.com
+# .br
+# objectClass: top
+# .br
+# objectClass: groupOfNames
+# .br
+# objectClass: mailGroup
+# .br
+# cn: postfix-hackers
+# .br
+# mail: postfix-hackers@groups.hp.com
+# .br
+# member: uid=lamont.jones@hp.com, ou=People, o=hp.com
+# .br
+# member: uid=kartik.subbarao@hp.com, ou=People, o=hp.com
+#
+# Here are excerpts from the people entries who are members of this group:
+#
+# dn: uid=lamont.jones@hp.com, ou=People, o=hp.com
+# .br
+# mailRoutingAddress: lamont@cranston.fc.hp.com
+#
+# dn: uid=kartik.subbarao@hp.com, ou=People, o=hp.com
+# .br
+# mailRoutingAddress: subbarao@quest.lf.hp.com
+#
+# postfix_groups.pl expands the incoming address
+# postfix-hackers@groups.hp.com to the destination addresses
+# lamont@cranston.fc.hp.com and subbarao@quest.lf.hp.com.
+#
+# CONFIGURATION
+# To configure postfix_groups.pl to handle addresses of the form
+# groupaddr@groups.mycompany.com, specify the following in \fBmaster.cf\fR:
+#
+# groups unix - n n - - pipe
+# flags=q user=uucp argv=/path/to/postfix_groups.pl ${sender} ${nexthop} ${recipient}
+#
+# And the following in the \fBtransport\fR file:
+#
+# groups.mycompany.com groups:groups
+#
+# And the following in \fBmain.cf\fR (assuming an LDAP server
+# ldap.mycompany.com with the root DN of o=mycompany.com):
+#
+# groups_destination_recipient_limit = 1
+# groups_server_host = ldap.mycompany.com
+# groups_search_base = o=mycompany.com
+# groups_query_filter = (mail=%u@groups.mycompany.com)
+# groups_result_attribute = mailRoutingAddress mgrpRFC822MailMember
+# groups_special_result_attribute = member memberURL mgrpDeliverTo
+# groups_domain = groups.mycompany.com
+# groups_bind = no
+#
+# Note: The groups_* map should not be referenced in virtual_maps or
+# elsewhere. Also note that the groups_destination_recipient_limit
+# should be set to 1.
+#
+## [Describe main.cf parameters]
+## TBD
+#
+## [Describe LDAP attributes that govern mail-enabled groups]
+## TBD
+#
+# AUTHOR
+# Kartik Subbarao
+#
+# SEE ALSO
+# \fBpipe\fR(8)
+# http://www.watersprings.org/pub/id/draft-steinback-ldap-mailgroups-00.txt
+# http://playground.sun.com/laser/0066.html
+# RFC 2919
+## TODO: Document implementation differences/enhancements by this script,
+## compared to the draft spec.
+#--
+
+use Mail::Internet;
+use Mail::Address;
+use Net::SMTP;
+use Net::LDAP qw (:all);
+use URI;
+use File::Basename;
+use Sys::Syslog qw(:DEFAULT setlogsock);
+
+use strict;
+
+$ENV{'PATH'} = '/usr/local/bin:/usr/sbin:/usr/bin:/bin';
+# Exit values from /usr/include/sysexits.h
+my $DATAERR=65;
+my $NOUSER=67;
+my $SOFTWARE=70;
+my $OSFILE=72;
+my $NOPERM=77;
+my $TEMPFAIL=75; # Most LDAP-related errors are transient failures
+
+my $sender = shift(@ARGV); # ${sender}
+my $map = shift(@ARGV); # ${nexthop} == map name
+my $recipient = shift(@ARGV); # ${recipient}
+my $debug = 0;
+
+if ($debug && ! -t STDIN) {
+ open(STDOUT, "> /tmp/postfix_groups.stdout");
+ open(STDERR, "> /tmp/postfix_groups.stderr");
+}
+
+setlogsock('unix');
+openlog(basename($0), 'pid', 'mail');
+
+# Read postfix configuration from main.cf into %postconf hash
+my $maincf_file = '/etc/postfix/main.cf';
+my %postconf;
+get_postfix_params($maincf_file, \%postconf);
+
+my $ldap_host = $postconf{"${map}_server_host"} || 'localhost';
+my $ldap_port = $postconf{"${map}_server_port"} || 389;
+my $ldap_timeout = $postconf{"${map}_timeout"} || 120;
+my $basedn = $postconf{"${map}_search_base"};
+my @excluded_resolved_domains =
+ split(" ", $postconf{"${map}_excluded_resolved_domains"});
+
+my $mail_attr = 'mail';
+my $member_attr = 'member';
+my @group_objectclasses = qw(groupOfNames groupOfURLs);
+my @ldapurl_attrs = qw(memberURL mgrpDeliverTo);
+my @default_result_attrs = split(" ", $postconf{"${map}_result_attribute"});
+my @allowed_broadcaster_result_attrs = ($mail_attr, @default_result_attrs);
+my $allowed_broadcaster_attr = 'mgrpAllowedBroadcaster';
+my $errorsto_attr = 'mgrpErrorsTo';
+my $addheader_attr = 'mgrpAddHeader';
+my $removeheader_attr = 'mgrpRemoveHeader';
+
+my $smtp_host = 'localhost'; # Use smtpd running on localhost
+my $smtpd_recipient_limit = $postconf{smtpd_recipient_limit}
+ || `postconf -h smtpd_recipient_limit`
+ || 1000;
+chomp $smtpd_recipient_limit;
+
+
+# Read message from STDIN
+my $message = Mail::Internet->new(\*STDIN, Modify => 0);
+
+my $ldap = Net::LDAP->new($ldap_host,
+ port => $ldap_port,
+ timeout => $ldap_timeout)
+ or warn("$ldap_host: $@\n"), exit $TEMPFAIL;
+
+## TODO: Explicitly specify the attributes retrieved by the first search, so
+## that it can match the specific names as defined (e.g. member, etc)
+my $ldapmesg = $ldap->search(base => $basedn,
+ filter => "(mail=$recipient)");
+if ($ldapmesg->code) {
+ warn("$ldap_host: ", $ldapmesg->error, "\n");
+ exit $TEMPFAIL;
+}
+# $mail_attr is assumed to be a unique attribute
+my $entry = $ldapmesg->entry(0)
+ or warn("Couldn't find entry for $recipient in $ldap_host\n"), exit $NOUSER;
+
+my @allowed_broadcasters = $entry->get_value($allowed_broadcaster_attr);
+my $errorsto = $entry->get_value($errorsto_attr);
+my @addheaders = $entry->get_value($addheader_attr);
+my @removeheaders = $entry->get_value($removeheader_attr);
+
+my $header = $message->head;
+$header->add('X-postfixgroups-version', ('$Revision: 1.6 $' =~ /\$Revision:\s+([^\s]+)/)[0]);
+
+# Check if user is allowed to send to this list
+my $from = (Mail::Address->parse($header->get('From:')))[0];
+my $fromaddr = $from->address;
+my @allowed_fromaddrs;
+foreach my $allowed_broadcaster (@allowed_broadcasters) {
+ # Allowed broadcasters can be specified as a mailto: or ldap: URL.
+ my $uri = URI->new($allowed_broadcaster);
+ if ($uri->scheme eq 'ldap') {
+ # Expand the LDAP entry for all appropriate mail addresses,
+ my @attrs = $uri->attributes;
+ if (@attrs) {
+ # If attributes are specified in the LDAP URL,
+ # their values are expanded as DNs, instead of expanding
+ # the LDAP entry itself.
+ my $mesg = $ldap->search(base => $uri->dn,
+ scope => 'base',
+ filter => "(objectclass=*)",
+ attrs => \@attrs);
+ if ($mesg->code) {
+ if ($mesg->code == LDAP_NO_SUCH_OBJECT) {
+ syslog('warning', "Could not find allowed broadcaster " . $uri->dn);
+ next;
+ }
+ warn("$ldap_host: ", $mesg->error, "\n");
+ exit $TEMPFAIL;
+ }
+
+ my $entry = $mesg->entry(0) or next;
+
+ foreach my $dnval (map { $entry->get_value($_) } @attrs) {
+ push(@allowed_fromaddrs,
+ expand_entry(dn => $dnval,
+ resultattrs => \@allowed_broadcaster_result_attrs));
+ }
+ }
+ else {
+ # Expand the entry, and append to the list of allowed
+ # broadcaster addresses.
+ push(@allowed_fromaddrs,
+ expand_entry(dn => $uri->dn,
+ resultattrs => \@allowed_broadcaster_result_attrs));
+ }
+ }
+ elsif ($uri->scheme eq 'mailto') {
+ push(@allowed_fromaddrs, $uri->to);
+ }
+ else {
+ # Unknown scheme, treat it as an RFC 822 mail address
+ push(@allowed_fromaddrs, $allowed_broadcaster);
+ }
+}
+
+if (@allowed_fromaddrs) {
+ if (!grep(/^$fromaddr$/i, @allowed_fromaddrs)) {
+ warn("$fromaddr is not allowed to send to $recipient\n");
+ exit $NOPERM;
+ }
+}
+
+# Populate Errors-To: header if requested. Also adjust envelope sender.
+if ($errorsto) {
+ # Only supports RFC 822 mail address specification for now
+ $errorsto =~ s/^mailto://;
+ $header->add(undef, "Errors-To: $errorsto");
+ $sender = $errorsto;
+}
+
+# Add List-Id header (defined in RFC 2919)
+(my $listid = $recipient) =~ s/@/.list-id./;
+$header->add('List-Id', $listid);
+
+# Adjust message headers as appropriate
+foreach my $addh (@addheaders) { $header->add(undef, $addh) }
+foreach my $remh (@removeheaders) { $header->delete($remh) }
+
+if ($debug) {
+ open(DEBUGMESSAGE, "> /tmp/postfix_groups.message");
+ $message->print(\*DEBUGMESSAGE);
+ close DEBUGMESSAGE;
+}
+
+# Get target addresses
+my @alladdrs = expand_entry(entry => $entry);
+
+# Exclude specified domains
+my (@addrs, @excluded_addrs);
+foreach my $addr (@alladdrs) {
+ my $excluded;
+ foreach my $domain (@excluded_resolved_domains) {
+ grep(/$domain$/, $addr) and $excluded = 1, last;
+ }
+ if ($excluded) { push(@excluded_addrs, $addr) }
+ else { push(@addrs, $addr) }
+}
+syslog('warning', "The following addresses were explicitly excluded from $recipient: " . join(',', @excluded_addrs))
+ if @excluded_addrs;
+
+# Sort list of addresses by reversed domain name, to assist with bundling mail
+@addrs = sort { lc(reverse($a)) cmp lc(reverse($b)) } @addrs;
+$debug and print join("\n", @addrs) . "\n";
+## TODO: do some more enhanced sorting to better collapse addresses,
+## to minimize the number of messages sent out.
+
+# Send the message
+my $smtp = Net::SMTP->new($smtp_host, Debug => $debug)
+ or warn("Could not contact SMTP server on $smtp_host\n"), exit $TEMPFAIL;
+my @badaddrs;
+while (@addrs) {
+ my (@rcpt_to, @goodaddrs, %seen);
+
+ $smtp->mail($sender);
+ # Break up recipients based on $smtpd_recipient_limit
+ @rcpt_to = splice(@addrs, 0, $smtpd_recipient_limit);
+ @goodaddrs = $smtp->to(@rcpt_to, { SkipBad => 1 });
+ @seen{@goodaddrs} = ();
+ foreach my $addr (@rcpt_to) {
+ push(@badaddrs, $addr) unless exists $seen{$addr};
+ }
+ unless ($smtp->data(split(/^/m, $message->as_string))) {
+ warn("Message not accepted by SMTP server $smtp_host\n");
+ exit $SOFTWARE;
+ }
+}
+syslog('warning', "The following addresses were not accepted by the SMTP server on $smtp_host: " . join(',', @badaddrs))
+ if @badaddrs;
+
+exit;
+
+
+# Read postfix configuration from main.cf into a hash
+sub get_postfix_params
+{
+ my ($maincf_file, $hashref) = @_;
+ local $/ = undef;
+
+ open(MAINCF, $maincf_file) or warn("$maincf_file: $!\n"), exit $OSFILE;
+ my $maincfstr = ; close MAINCF;
+ $maincfstr =~ s/^#.*?\n//mg; # Get rid of comments
+ $maincfstr =~ s/\n[ \t]+/ /mg; # Collapse line continuation
+ foreach (split(/\n/, $maincfstr)) {
+ my ($param, $val);
+ ($param, $val) = /\s*(\S+)\s*=\s*(.*?)\s*$/;
+ $hashref->{$param} = $val;
+ }
+}
+
+
+# Expand an LDAP entry, returning a list of results (culled for duplicates)
+sub expand_entry
+{
+ my %arg = (@_);
+ my (%results, @result_attrs);
+ my ($dn, $mesg, $entry, @entries, %seen);
+
+ @result_attrs = $arg{resultattrs}
+ ? @{$arg{resultattrs}} : @default_result_attrs;
+
+ push(@entries, $arg{entry}) if $arg{entry}; # Passed as entry
+ push(@entries, $arg{dn}) if $arg{dn}; # Passed as DN
+
+ while (my $entry = shift(@entries)) {
+ unless (ref $entry) { # Actually a DN, get corresponding entry
+ my $dn = $entry;
+ $mesg = $ldap->search(base => $dn,
+ scope => 'base',
+ filter => "(objectclass=*)",
+ attrs => [ $mail_attr,
+ $member_attr,
+ @ldapurl_attrs,
+ @result_attrs ]);
+ if ($mesg->code) {
+ if ($mesg->code == LDAP_NO_SUCH_OBJECT) {
+ syslog('warning', "Could not find entry $dn");
+ next;
+ }
+ warn("$ldap_host: ", $mesg->error, "\n");
+ exit $TEMPFAIL;
+ }
+
+ $entry = $mesg->entry(0) or next;
+ }
+
+ # Add any result attributes of the entry itself to the results hash
+ foreach my $value (map { $entry->get_value($_) } @result_attrs) {
+ $results{$value} = 1;
+ }
+
+ # Add any static group member DNs to the list of entries
+ if ($entry->exists($member_attr)) {
+ # Break infinite loops from malformed nested groups
+ push(@entries, $entry->get_value($member_attr))
+ unless $seen{$entry->dn};
+ }
+
+ # Perform any specified dynamic queries
+ foreach my $query (map { $entry->get_value($_) } @ldapurl_attrs) {
+ my $uri = URI->new($query);
+ $mesg = $ldap->search(base => $uri->dn,
+ scope => $uri->scope,
+ filter => $uri->filter,
+ attrs => ['objectclass', @result_attrs]);
+ if ($mesg->code) {
+ if ($mesg->code == LDAP_NO_SUCH_OBJECT) {
+ syslog('warning', "Invalid base DN in $query\n");
+ next;
+ }
+ warn("$ldap_host: ", $mesg->error, "\n");
+ exit $TEMPFAIL;
+ }
+
+ # Add the result attributes of each group member to the results hash
+ foreach my $memberentry ($mesg->entries) {
+ foreach my $value (map { $memberentry->get_value($_) }
+ @result_attrs) {
+ $results{$value} = 1;
+ }
+ # Add any nested groups to the list of entries to be expanded
+ my $isgroup;
+ foreach my $oc (@group_objectclasses) {
+ grep(/^$oc$/i, $memberentry->get_value('objectClass'))
+ and $isgroup = 1, last;
+ }
+ if ($isgroup) {
+ # Check for infinite loops in nested groups
+ push(@entries, $memberentry->dn)
+ unless $seen{$memberentry->dn};
+ }
+ }
+ }
+
+ # Mark that we saw this entry's dn
+ $seen{$entry->dn} = 1;
+ }
+
+ return keys %results;
+}
--- postfix-2.5.5.orig/debian/postfix-ldap.postinst
+++ postfix-2.5.5/debian/postfix-ldap.postinst
@@ -0,0 +1,49 @@
+#! /bin/sh
+# postinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * `configure'
+# * `abort-upgrade'
+# * `abort-remove' `in-favour'
+#
+# * `abort-deconfigure' `in-favour'
+# `removing'
+#
+# for details, see /usr/share/doc/packaging-manual/
+#
+# quoting from the policy:
+# Any necessary prompting should almost always be confined to the
+# post-installation script, and should be protected with a conditional
+# so that unnecessary prompting doesn't happen if a package's
+# installation fails and the `postinst' is called with `abort-upgrade',
+# `abort-remove' or `abort-deconfigure'.
+
+. /usr/share/postfix/postinst.functions
+
+case "$1" in
+ configure)
+ addmap ldap
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- postfix-2.5.5.orig/debian/postfix-pgsql.files
+++ postfix-2.5.5/debian/postfix-pgsql.files
@@ -0,0 +1 @@
+usr/lib/postfix/dict_pgsql.so
--- postfix-2.5.5.orig/debian/postfix.ufw.profile
+++ postfix-2.5.5/debian/postfix.ufw.profile
@@ -0,0 +1,9 @@
+[Postfix]
+title=Mail server (SMTP)
+description=Postfix is a high-performance mail transport agent
+ports=25/tcp
+
+[Postfix Submission]
+title=Mail server (Submission)
+description=Postfix is a high-performance mail transport agent
+ports=587/tcp
--- postfix-2.5.5.orig/debian/postfix-add-filter.1
+++ postfix-2.5.5/debian/postfix-add-filter.1
@@ -0,0 +1,68 @@
+.TH POSTFIX-ADD-FILTER 1
+.ad
+.fi
+.SH NAME
+postfix-add-filter
+\-
+add filter service to Postfix master.cf
+.SH "SYNOPSIS"
+.na
+.nf
+\fBpostfix-add-filter\fR [\fIsmtp service name\fR...] [\fIsmtpd port\fR...]
+.SH DESCRIPTION
+.ad
+.fi
+The \fBpostfix-add-filter\fR(1) command adds an smtp service named
+\fIsmtp service name\fR and and smtpd server listening on \fIsmtpd port\fR to
+\/etc/postfix/master.cf to facilitate integration of SMTP filters such as
+amavisd-new or clamsmtp. The configuration is based on the upstream
+recommendations for amavisd-new 2.6.0. Adminstrators should verify it is
+appropriate for their requirements.
+
+The original file is copied prior to modification and left in /etc/postfix to
+make it possible to revert changes easily.
+
+Available in the Debian package for Postfix version 2.5.3 and later.
+
+.SH DIAGNOSTICS
+.ad
+.fi
+If the given \fIsmtp service name\fR or \fIsmtpd port\fR already appear in the
+master.cf, a message will be printed to standard out and master.cf will not be
+modified.
+
+.SH "ENVIRONMENT"
+.na
+.nf
+.ad
+.fi
+.IP \fBMAIL_CONFIG\fR
+Directory with Postfix configuration files.
+
+The \fBpostfix-add-filter\fR(1) command should use this, but it currently
+doesn't. It is hard coded to /etc/postfix. This should be changed.
+.SH "CONFIGURATION PARAMETERS"
+.na
+.nf
+.ad
+.fi
+None
+.SH "FILES"
+.na
+.nf
+/etc/postfix/master.cf
+.SH "SEE ALSO"
+.na
+.nf
+postconf(5), Postfix configuration
+.SH "LICENSE"
+.na
+.nf
+.ad
+.fi
+This software is licensed under the MIT open source license.
+.SH "AUTHOR(S)"
+.na
+.nf
+Scott Kitterman
+
--- postfix-2.5.5.orig/debian/postfix-dev.copyright
+++ postfix-2.5.5/debian/postfix-dev.copyright
@@ -0,0 +1,318 @@
+This is the Debian GNU/Linux prepackaged version of Postfix, a mail transport
+agent.
+
+Postfix was created by Wietse Venema ; the Debian
+package has been assembled by LaMont Jones from sources
+available from http://www.postfix.org, and can be cloned from git via:
+ git clone git://git.debian.org/~lamont/postfix.git
+
+
+ Copyright (c) 1999, International Business Machines Corporation
+ and others. All Rights Reserved.
+
+The following copyright and license applies to this software:
+
+ IBM PUBLIC LICENSE VERSION 1.0 - SECURE MAILER
+
+ THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS IBM PUBLIC
+ LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE
+ PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+
+ 1. DEFINITIONS
+
+ "Contribution" means:
+ a) in the case of International Business Machines Corporation ("IBM"),
+ the Original Program, and
+ b) in the case of each Contributor,
+ i) changes to the Program, and
+ ii) additions to the Program;
+ where such changes and/or additions to the Program originate
+ from and are distributed by that particular Contributor.
+ A Contribution 'originates' from a Contributor if it was added
+ to the Program by such Contributor itself or anyone acting on
+ such Contributor's behalf.
+ Contributions do not include additions to the Program which:
+ (i) are separate modules of software distributed in conjunction
+ with the Program under their own license agreement, and
+ (ii) are not derivative works of the Program.
+
+ "Contributor" means IBM and any other entity that distributes the Program.
+
+ "Licensed Patents " mean patent claims licensable by a Contributor which
+ are necessarily infringed by the use or sale of its Contribution alone
+ or when combined with the Program.
+
+ "Original Program" means the original version of the software accompanying
+ this Agreement as released by IBM, including source code, object code
+ and documentation, if any.
+
+ "Program" means the Original Program and Contributions.
+
+ "Recipient" means anyone who receives the Program under this Agreement,
+ including all Contributors.
+
+ 2. GRANT OF RIGHTS
+
+ a) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free copyright
+ license to reproduce, prepare derivative works of, publicly display,
+ publicly perform, distribute and sublicense the Contribution of such
+ Contributor, if any, and such derivative works, in source code and
+ object code form.
+
+ b) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free patent
+ license under Licensed Patents to make, use, sell, offer to sell,
+ import and otherwise transfer the Contribution of such Contributor,
+ if any, in source code and object code form. This patent license
+ shall apply to the combination of the Contribution and the Program
+ if, at the time the Contribution is added by the Contributor, such
+ addition of the Contribution causes such combination to be covered
+ by the Licensed Patents. The patent license shall not apply to any
+ other combinations which include the Contribution. No hardware per
+ se is licensed hereunder.
+
+ c) Recipient understands that although each Contributor grants the
+ licenses to its Contributions set forth herein, no assurances are
+ provided by any Contributor that the Program does not infringe the
+ patent or other intellectual property rights of any other entity.
+ Each Contributor disclaims any liability to Recipient for claims
+ brought by any other entity based on infringement of intellectual
+ property rights or otherwise. As a condition to exercising the rights
+ and licenses granted hereunder, each Recipient hereby assumes sole
+ responsibility to secure any other intellectual property rights
+ needed, if any. For example, if a third party patent license
+ is required to allow Recipient to distribute the Program, it is
+ Recipient's responsibility to acquire that license before distributing
+ the Program.
+
+ d) Each Contributor represents that to its knowledge it has sufficient
+ copyright rights in its Contribution, if any, to grant the copyright
+ license set forth in this Agreement.
+
+ 3. REQUIREMENTS
+
+ A Contributor may choose to distribute the Program in object code form
+ under its own license agreement, provided that:
+ a) it complies with the terms and conditions of this Agreement; and
+ b) its license agreement:
+ i) effectively disclaims on behalf of all Contributors all
+ warranties and conditions, express and implied, including
+ warranties or conditions of title and non-infringement, and
+ implied warranties or conditions of merchantability and fitness
+ for a particular purpose;
+ ii) effectively excludes on behalf of all Contributors all
+ liability for damages, including direct, indirect, special,
+ incidental and consequential damages, such as lost profits;
+ iii) states that any provisions which differ from this Agreement
+ are offered by that Contributor alone and not by any other
+ party; and
+ iv) states that source code for the Program is available from
+ such Contributor, and informs licensees how to obtain it in a
+ reasonable manner on or through a medium customarily used for
+ software exchange.
+
+ When the Program is made available in source code form:
+ a) it must be made available under this Agreement; and
+ b) a copy of this Agreement must be included with each copy of the
+ Program.
+
+ Each Contributor must include the following in a conspicuous location
+ in the Program:
+
+ Copyright (c) 1997,1998,1999, International Business Machines
+ Corporation and others. All Rights Reserved.
+
+ In addition, each Contributor must identify itself as the originator of
+ its Contribution, if any, in a manner that reasonably allows subsequent
+ Recipients to identify the originator of the Contribution.
+
+ 4. COMMERCIAL DISTRIBUTION
+
+ Commercial distributors of software may accept certain responsibilities
+ with respect to end users, business partners and the like. While this
+ license is intended to facilitate the commercial use of the Program, the
+ Contributor who includes the Program in a commercial product offering
+ should do so in a manner which does not create potential liability for
+ other Contributors. Therefore, if a Contributor includes the Program in
+ a commercial product offering, such Contributor ("Commercial Contributor")
+ hereby agrees to defend and indemnify every other Contributor
+ ("Indemnified Contributor") against any losses, damages and costs
+ (collectively "Losses") arising from claims, lawsuits and other legal
+ actions brought by a third party against the Indemnified Contributor to
+ the extent caused by the acts or omissions of such Commercial Contributor
+ in connection with its distribution of the Program in a commercial
+ product offering. The obligations in this section do not apply to any
+ claims or Losses relating to any actual or alleged intellectual property
+ infringement. In order to qualify, an Indemnified Contributor must:
+ a) promptly notify the Commercial Contributor in writing of such claim,
+ and
+ b) allow the Commercial Contributor to control, and cooperate with
+ the Commercial Contributor in, the defense and any related
+ settlement negotiations. The Indemnified Contributor may
+ participate in any such claim at its own expense.
+
+ For example, a Contributor might include the Program in a commercial
+ product offering, Product X. That Contributor is then a Commercial
+ Contributor. If that Commercial Contributor then makes performance
+ claims, or offers warranties related to Product X, those performance
+ claims and warranties are such Commercial Contributor's responsibility
+ alone. Under this section, the Commercial Contributor would have to
+ defend claims against the other Contributors related to those performance
+ claims and warranties, and if a court requires any other Contributor to
+ pay any damages as a result, the Commercial Contributor must pay those
+ damages.
+
+ 5. NO WARRANTY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED
+ ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER
+ EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR
+ CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A
+ PARTICULAR PURPOSE. Each Recipient is solely responsible for determining
+ the appropriateness of using and distributing the Program and assumes
+ all risks associated with its exercise of rights under this Agreement,
+ including but not limited to the risks and costs of program errors,
+ compliance with applicable laws, damage to or loss of data, programs or
+ equipment, and unavailability or interruption of operations.
+
+ 6. DISCLAIMER OF LIABILITY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR
+ ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
+ WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION
+ OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ 7. GENERAL
+
+ If any provision of this Agreement is invalid or unenforceable under
+ applicable law, it shall not affect the validity or enforceability of
+ the remainder of the terms of this Agreement, and without further action
+ by the parties hereto, such provision shall be reformed to the minimum
+ extent necessary to make such provision valid and enforceable.
+
+ If Recipient institutes patent litigation against a Contributor with
+ respect to a patent applicable to software (including a cross-claim or
+ counterclaim in a lawsuit), then any patent licenses granted by that
+ Contributor to such Recipient under this Agreement shall terminate
+ as of the date such litigation is filed. In addition, If Recipient
+ institutes patent litigation against any entity (including a cross-claim
+ or counterclaim in a lawsuit) alleging that the Program itself (excluding
+ combinations of the Program with other software or hardware) infringes
+ such Recipient's patent(s), then such Recipient's rights granted under
+ Section 2(b) shall terminate as of the date such litigation is filed.
+
+ All Recipient's rights under this Agreement shall terminate if it fails
+ to comply with any of the material terms or conditions of this Agreement
+ and does not cure such failure in a reasonable period of time after
+ becoming aware of such noncompliance. If all Recipient's rights under
+ this Agreement terminate, Recipient agrees to cease use and distribution
+ of the Program as soon as reasonably practicable. However, Recipient's
+ obligations under this Agreement and any licenses granted by Recipient
+ relating to the Program shall continue and survive.
+
+ IBM may publish new versions (including revisions) of this Agreement
+ from time to time. Each new version of the Agreement will be given a
+ distinguishing version number. The Program (including Contributions)
+ may always be distributed subject to the version of the Agreement under
+ which it was received. In addition, after a new version of the Agreement
+ is published, Contributor may elect to distribute the Program (including
+ its Contributions) under the new version. No one other than IBM has the
+ right to modify this Agreement. Except as expressly stated in Sections
+ 2(a) and 2(b) above, Recipient receives no rights or licenses to the
+ intellectual property of any Contributor under this Agreement, whether
+ expressly, by implication, estoppel or otherwise. All rights in the
+ Program not expressly granted under this Agreement are reserved.
+
+ This Agreement is governed by the laws of the State of New York and the
+ intellectual property laws of the United States of America. No party to
+ this Agreement will bring a legal action under this Agreement more than
+ one year after the cause of action arose. Each party waives its rights
+ to a jury trial in any resulting litigation.
+
+The following license applies to rmail, distributed with Postfix:
+
+ SENDMAIL LICENSE
+
+ The following license terms and conditions apply, unless a different
+ license is obtained from Sendmail, Inc., 6425 Christie Ave, Fourth Floor,
+ Emeryville, CA 94608, or by electronic mail at license@sendmail.com.
+
+ License Terms:
+
+ Use, Modification and Redistribution (including distribution of any
+ modified or derived work) in source and binary forms is permitted only if
+ each of the following conditions is met:
+
+ 1. Redistributions qualify as "freeware" or "Open Source Software" under
+ one of the following terms:
+
+ (a) Redistributions are made at no charge beyond the reasonable cost of
+ materials and delivery.
+
+ (b) Redistributions are accompanied by a copy of the Source Code or by an
+ irrevocable offer to provide a copy of the Source Code for up to three
+ years at the cost of materials and delivery. Such redistributions
+ must allow further use, modification, and redistribution of the Source
+ Code under substantially the same terms as this license. For the
+ purposes of redistribution "Source Code" means the complete compilable
+ and linkable source code of sendmail including all modifications.
+
+ 2. Redistributions of source code must retain the copyright notices as they
+ appear in each source code file, these license terms, and the
+ disclaimer/limitation of liability set forth as paragraph 6 below.
+
+ 3. Redistributions in binary form must reproduce the Copyright Notice,
+ these license terms, and the disclaimer/limitation of liability set
+ forth as paragraph 6 below, in the documentation and/or other materials
+ provided with the distribution. For the purposes of binary distribution
+ the "Copyright Notice" refers to the following language:
+ "Copyright (c) 1998-2000 Sendmail, Inc. All rights reserved."
+
+ 4. Neither the name of Sendmail, Inc. nor the University of California nor
+ the names of their contributors may be used to endorse or promote
+ products derived from this software without specific prior written
+ permission. The name "sendmail" is a trademark of Sendmail, Inc.
+
+ 5. All redistributions must comply with the conditions imposed by the
+ University of California on certain embedded code, whose copyright
+ notice and conditions for redistribution are as follows:
+
+ (a) Copyright (c) 1988, 1993 The Regents of the University of
+ California. All rights reserved.
+
+ (b) Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ (i) Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ (ii) Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ (iii) Neither the name of the University nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY
+ SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+ NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF
+ CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ $Revision: 1.1.4.3 $, Last updated $Date: 2003/07/23 16:13:15 $
+
--- postfix-2.5.5.orig/debian/postfix-pgsql.prerm
+++ postfix-2.5.5/debian/postfix-pgsql.prerm
@@ -0,0 +1,37 @@
+#! /bin/sh
+# prerm script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * `remove'
+# * `upgrade'
+# * `failed-upgrade'
+# * `remove' `in-favour'
+# * `deconfigure' `in-favour'
+# `removing'
+#
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+ remove|upgrade|deconfigure)
+# install-info --quiet --remove /usr/info/#PACKAGE#.info.gz
+ ;;
+ failed-upgrade)
+ ;;
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- postfix-2.5.5.orig/debian/postfix.shlibs
+++ postfix-2.5.5/debian/postfix.shlibs
@@ -0,0 +1,5 @@
+libpostfix-util 1 postfix
+libpostfix-global 1 postfix
+libpostfix-dns 1 postfix
+libpostfix-master 1 postfix
+libpostfix-tls 1 postfix
--- postfix-2.5.5.orig/debian/postfix.preinst
+++ postfix-2.5.5/debian/postfix.preinst
@@ -0,0 +1,185 @@
+#!/bin/sh -e
+
+# Debian Postfix preinst
+# LaMont Jones
+# Modified to use debconf by Colin Walters
+
+# do we have debconf?
+if [ -f /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+ DEBCONF=true
+else
+ DEBCONF=
+fi
+
+dpkg_vers=$(dpkg --status dpkg | sed -n '/Version: /s/^Version: //p')
+CONFIG=/etc/postfix/main.cf
+MASTER=/etc/postfix/master.cf
+POSTDROP=/usr/sbin/postdrop
+
+mydomain_warning() {
+ if [ -n "$DEBCONF" ]; then
+ db_fset postfix/mydomain_warning seen false
+ db_input medium postfix/mydomain_warning || true
+ db_go || true
+ db_get postfix/mydomain_warning
+ if [ "$RET" = "false" ]; then
+ echo "aborting postfix install"
+ exit 1
+ fi
+ else
+ # no debconf, fall back
+ cat << EOF
+Postfix version 2.3.3-2 and later require changes in main.cf.
+Specifically, mydomain must be specified, since hostname(2) is not
+an FQDN.
+EOF
+ echo -n "Shall I make the change? "
+ read line
+ case ${line} in
+ [nN]*) echo "aborting postfix install"
+ exit 1
+ ;;
+ esac
+ fi
+}
+retry_warning() {
+ if [ -n "$DEBCONF" ]; then
+ db_fset postfix/retry_upgrade_warning seen false
+ db_input medium postfix/retry_upgrade_warning || true
+ db_go || true
+ db_get postfix/retry_upgrade_warning
+ if [ "$RET" = "false" ]; then
+ echo "aborting postfix install"
+ exit 1
+ fi
+ else
+ # no debconf, fall back
+ cat << EOF
+Postfix version 2.4 requires that the retry service be added to master.cf
+EOF
+ echo -n "Shall I make the change? "
+ read line
+ case ${line} in
+ [nN]*) echo "aborting postfix install"
+ exit 1
+ ;;
+ esac
+ fi
+}
+tlsmgr_warning() {
+ if [ -n "$DEBCONF" ]; then
+ db_fset postfix/tlsmgr_upgrade_warning seen false
+ db_input medium postfix/tlsmgr_upgrade_warning || true
+ db_go || true
+ db_get postfix/tlsmgr_upgrade_warning
+ if [ "$RET" = "false" ]; then
+ echo "aborting postfix install"
+ exit 1
+ fi
+ else
+ # no debconf, fall back
+ cat << EOF
+Postfix version 2.2 has changed the invocation of tlsmgr.
+EOF
+ echo -n "Shall I make the change? "
+ read line
+ case ${line} in
+ [nN]*) echo "aborting postfix install"
+ exit 1
+ ;;
+ esac
+ fi
+}
+
+kernel_version_warning() {
+ if [ -n "$DEBCONF" ]; then
+ db_fset postfix/kernel_version_warning seen false
+ db_input low postfix/kernel_version_warning || true
+ db_go || true
+ db_get postfix/kernel_version_warning
+ else
+ cat << EOF
+Postfix uses features that are not found in kernels prior to 2.6. If you
+proceeed with the installation, Postfix will not run.
+EOF
+ RET=false
+ fi
+ if [ "$RET" = "false" ]; then
+ echo "Aborting postfix install"
+ exit 1
+ fi
+}
+
+(umask 022; mkdir -p /var/spool/postfix)
+
+case "$1" in
+ install)
+ rm -f /var/spool/postfix/restart /var/spool/postfix/reload
+ # workaround sendmail not unregistering itself...
+ if [ -e /etc/suid.conf ] && [ -x /usr/sbin/suidunregister ]; then
+ if grep -q sendmail /etc/suid.conf; then
+ /usr/sbin/suidunregister -s postfix /usr/sbin/sendmail
+ fi
+ fi
+
+ if [ -L /etc/postfix/postfix-script ]; then
+ rm -f /etc/postfix/postfix-script
+ fi
+
+ ;;
+
+ upgrade)
+ version=$2
+ if [ -d /var/spool/postfix ] && [ -f /etc/postfix/main.cf ]; then
+ touch /var/spool/postfix/restart
+ fi
+ export LANG=C # for the comparison of mail version...
+
+ if dpkg --compare-versions "`uname -r`" lt 2.6.0 ; then
+ kernel_version_warning
+ fi
+
+ if [ -L /etc/postfix/postfix-script ]; then
+ rm -f /etc/postfix/postfix-script
+ fi
+
+ if grep -q '^tlsmgr[[:space:]]*fifo' $MASTER; then
+ tlsmgr_warning
+ fi
+
+ if dpkg --compare-versions $version lt 2.3.5-1; then
+ # droping 10hostname.dpatch forces cleanup.
+ if [ -z "$(postconf -n mydomain 2>/dev/null || true)" ]; then
+ myhost=$(hostname 2>/dev/null)
+ if [ "X${myhost%.*}" = "X${myhost}" ]; then
+ mydomain_warning
+ touch /var/spool/postfix/mydomain-upgrade
+ fi
+ fi
+ fi
+
+ if ! grep -q '^retry[[:space:]]' $MASTER; then
+ retry_warning
+ fi
+ invoke-rc.d --quiet postfix stop || true
+ ;;
+
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+if [ install = "$1" -o upgrade = "$1" ]; then
+ # cleanup after past mistakes.
+ rm -f /usr/sbin/postconf.postfix
+ dpkg-divert --package postfix-tls --remove \
+ --divert /usr/sbin/postconf.postfix \
+ /usr/sbin/postconf >/dev/null 2>/dev/null
+fi
+
+#DEBHELPER#
--- postfix-2.5.5.orig/debian/postfix-mysql.postinst
+++ postfix-2.5.5/debian/postfix-mysql.postinst
@@ -0,0 +1,49 @@
+#! /bin/sh
+# postinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * `configure'
+# * `abort-upgrade'
+# * `abort-remove' `in-favour'
+#
+# * `abort-deconfigure' `in-favour'
+# `removing'
+#
+# for details, see /usr/share/doc/packaging-manual/
+#
+# quoting from the policy:
+# Any necessary prompting should almost always be confined to the
+# post-installation script, and should be protected with a conditional
+# so that unnecessary prompting doesn't happen if a package's
+# installation fails and the `postinst' is called with `abort-upgrade',
+# `abort-remove' or `abort-deconfigure'.
+
+. /usr/share/postfix/postinst.functions
+
+case "$1" in
+ configure)
+ addmap mysql
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- postfix-2.5.5.orig/debian/postfix-cdb.postinst
+++ postfix-2.5.5/debian/postfix-cdb.postinst
@@ -0,0 +1,55 @@
+#! /bin/sh
+# postinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * `configure'
+# * `abort-upgrade'
+# * `abort-remove' `in-favour'
+#
+# * `abort-deconfigure' `in-favour'
+# `removing'
+#
+# for details, see /usr/share/doc/packaging-manual/
+#
+# quoting from the policy:
+# Any necessary prompting should almost always be confined to the
+# post-installation script, and should be protected with a conditional
+# so that unnecessary prompting doesn't happen if a package's
+# installation fails and the `postinst' is called with `abort-upgrade',
+# `abort-remove' or `abort-deconfigure'.
+
+. /usr/share/postfix/postinst.functions
+
+case "$1" in
+ configure)
+ version="$2"
+ # deal with the old version's brain damage
+ if [ "X$version" != X ] && \
+ dpkg --compare-versions $version lt 2.3.3-3; then
+ delmap cdb
+ fi
+ addmap cdb mkmap_cdb_open
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- postfix-2.5.5.orig/debian/postfix-ldap.dirs
+++ postfix-2.5.5/debian/postfix-ldap.dirs
@@ -0,0 +1 @@
+usr/lib/postfix
--- postfix-2.5.5.orig/debian/rsyslog.conf
+++ postfix-2.5.5/debian/rsyslog.conf
@@ -0,0 +1,4 @@
+# Create an additional socket in postfix's chroot in order not to break
+# mail logging when rsyslog is restarted. If the directory is missing,
+# rsyslog will silently skip creating the socket.
+$AddUnixListenSocket /var/spool/postfix/dev/log
--- postfix-2.5.5.orig/debian/postfix-mysql.prerm
+++ postfix-2.5.5/debian/postfix-mysql.prerm
@@ -0,0 +1,37 @@
+#! /bin/sh
+# prerm script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * `remove'
+# * `upgrade'
+# * `failed-upgrade'
+# * `remove' `in-favour'
+# * `deconfigure' `in-favour'
+# `removing'
+#
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+ remove|upgrade|deconfigure)
+# install-info --quiet --remove /usr/info/#PACKAGE#.info.gz
+ ;;
+ failed-upgrade)
+ ;;
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- postfix-2.5.5.orig/debian/postfix.postinst
+++ postfix-2.5.5/debian/postfix.postinst
@@ -0,0 +1,572 @@
+#!/bin/sh -e
+
+# Debian Postfix postinst
+# LaMont Jones
+# Based on debconf code by Colin Walters ,
+# and John Goerzen .
+
+# Use debconf.
+. /usr/share/debconf/confmodule
+CHROOT=/var/spool/postfix
+config_directory="/etc/postfix" # make variable expansion easier...
+
+. /usr/share/postfix/postinst.functions
+
+set_maildrop_perms() {
+ MAILDROP=${CHROOT}/maildrop
+ SCRIPT=/etc/postfix/postfix-script
+ POSTDROP=/usr/sbin/postdrop
+ mkdir -p $MAILDROP
+ if ! chown postfix:postdrop $MAILDROP 2>/dev/null; then
+ addgroup --system postdrop
+ chown postfix:postdrop $MAILDROP
+ fi
+ dpkg-statoverride --remove $POSTDROP >/dev/null 2>&1 || true
+ dpkg-statoverride --remove /var/spool/postfix/public >/dev/null 2>&1 || true
+ dpkg-statoverride --remove /usr/sbin/postqueue >/dev/null 2>&1 || true
+ dpkg-statoverride --update --add root postdrop 02555 $POSTDROP
+ dpkg-statoverride --update --add postfix postdrop 02710 /var/spool/postfix/public
+ dpkg-statoverride --update --add root postdrop 02555 /usr/sbin/postqueue
+ chmod 1730 $MAILDROP
+}
+
+fset_all_changed() {
+ db_fset postfix/main_mailer_type changed $1
+ db_fset postfix/root_address changed $1
+ db_fset postfix/destinations changed $1
+ db_fset postfix/mailname changed $1
+ db_fset postfix/relayhost changed $1
+ db_fset postfix/chattr changed $1
+ db_fset postfix/mynetworks changed $1
+ db_fset postfix/procmail changed $1
+ db_fset postfix/mailbox_limit changed $1
+ db_fset postfix/recipient_delim changed $1
+}
+
+set_postconf() {
+ CHANGES=true
+ postconf -e "$@"
+}
+
+get_postconf() {
+ postconf -h "$@"
+}
+
+makedir() {
+ if [ ! -d $1 ]; then
+ mkdir $1
+ fi
+ chown $2 $1 && chmod $3 $1
+}
+
+convert_dbs() {
+ # get all of the hash and btree maps.
+ maps=$(postconf -h | sed -e 's/[,[:space:]]/\
+/g' -e 's/^proxy://' -e '/:/p' | sort -u )
+ for i in $maps; do
+ case $i in
+ hash:*|btree:*)
+ f=${i#*:}.db
+ if [ -f $f ]; then
+ echo "attempting conversion of $i"
+ echo " saving old db in ${f}.db3"
+ cp $f ${f}.db3
+ postmap -u $i
+ fi
+ ;;
+ esac
+ done
+}
+
+fix_master() {
+ echoed=""
+ # Need to handle some changes in services.
+ MASTER=/etc/postfix/master.cf
+ if grep -qE '^cleanup[[:space:]]+unix[[:space:]]+-' ${MASTER}; then
+ echo "in master.cf:"; echoed=y
+ echo " forcing pickup=unprivileged, cleanup=public, flush=public"
+ sed 's/^\(cleanup[[:space:]]*unix[[:space:]]*\)-/\1n/
+ s/^\(flush[[:space:]]*unix[[:space:]]*\)-/\1n/
+ s/^\(pickup[[:space:]]*fifo[[:space:]]*.[[:space:]]*\)n/\1-/
+ ' ${MASTER} > ${MASTER}.$$
+ mv ${MASTER}.$$ ${MASTER}
+ fi
+
+ while read line; do
+ serv=${line%% *}
+ if ! grep -qE "^${serv}[[:space:]]" ${MASTER}; then
+ [ -n "$echoed" ] || echo "in master.cf:"; echoed=y
+ echo " adding missing entry for ${serv} service"
+ echo "$line" >> ${MASTER}
+ fi
+ done << @@EOF@@
+flush unix n - - 1000? 0 flush
+proxymap unix - - n - - proxymap
+trace unix - - - - 0 bounce
+verify unix - - - - 1 verify
+tlsmgr unix - - - 1000? 1 tlsmgr
+anvil unix - - - - 1 anvil
+scache unix - - - - 1 scache
+discard unix - - - - - discard
+retry unix - - - - - error
+@@EOF@@
+
+ if ! grep -qE '^relay[[:space:]]' ${MASTER}; then
+ [ -n $echoed ] || echo "in master.cf:"; echoed=y
+ echo " adding missing entry for relay service"
+ echo "relay unix - - n - - smtp -o smtp_fallback_relay= " \
+ >> ${MASTER}
+ echo "# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5" \
+ >> ${MASTER}
+ fi
+
+ if grep -qE '^tlsmgr[[:space:]]*fifo' ${MASTER}; then
+ sed '/^tlsmgr/s/fifo/unix/' ${MASTER} > ${MASTER}.$$
+ mv ${MASTER}.$$ ${MASTER}
+ fi
+
+}
+
+add_root_alias() {
+ db_get postfix/root_address && root_addr="$RET"
+ ret=$(echo $RET | tr 'A-Z' 'a-z')
+ if [ "$ret" != "none" ] && [ -n "$ret" ] ; then
+ echo "adding root: $RET alias"
+ echo "root: $RET" >> /etc/aliases
+ fi
+}
+
+umask 022
+
+# postinst processing
+
+#DEBHELPER#
+
+case "$1" in
+ configure)
+ OLDVERSION="$2"
+ # see below
+ ;;
+
+ abort-upgrade)
+ fix_master
+ exit 0
+ ;;
+
+ abort-remove|abort-deconfigure)
+ exit 0
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+CHANGES=""
+NEWALIASES="y"
+
+update-rc.d postfix defaults > /dev/null
+
+ldconfig
+
+dpkg-divert --package postfix --remove --rename \
+ --divert /usr/share/man/man8/smtpd.real.8.gz \
+ /usr/share/man/man8/smtpd.8.gz > /dev/null 2>&1
+
+# handle sasl-smtp[d] -> smtp[d] change. oops..
+if [ -d /etc/postfix/sasl ]; then
+ cd /etc/postfix/sasl
+ for file in smtp smtpd; do
+ if [ -r sasl-${file}.conf ] && [ ! -r ${file}.conf ]; then
+ ln -s sasl-${file}.conf ${file}.conf
+ fi
+ done
+fi
+
+cd ${CHROOT}
+# make sure that the postfix user exists. Simplest portable way to check is to
+# chown something, so we'll create the directories that we need here.
+makedir private root:root 700
+chgrp postfix private 2>/dev/null ||
+ addgroup --system postfix
+chown postfix private 2>/dev/null ||
+ adduser --system --home ${CHROOT} --no-create-home --disabled-password --ingroup postfix postfix
+
+# need to have postfix in the right group, but old revs do it wrong..
+if [ "$(id -gn postfix)" != "postfix" ]; then
+ usermod -g postfix postfix
+fi
+
+chown postfix:root private
+
+db_fget postfix/chattr changed
+if [ "$RET" = "true" ]; then
+ db_get postfix/chattr && chat="$RET"
+ echo "setting synchronous mail queue updates: $chat"
+ if [ "$chat" = "true" ]; then
+ chat="+S"
+ else
+ chat="-S"
+ fi
+fi
+
+for dir in pid public; do
+ makedir ${dir} postfix:root 755
+done
+for dir in incoming active bounce defer deferred flush saved corrupt; do
+ makedir ${dir} postfix:root 700
+ if [ -n "$chat" ]; then
+ chattr $chat $dir 2>/dev/null || true
+ fi
+done
+
+cd /etc/postfix
+
+if [ ! -f dynamicmaps.cf ]; then
+ echo "Creating /etc/postfix/dynamicmaps.cf"
+ cat << EOF > dynamicmaps.cf
+# Postfix dynamic maps configuration file.
+#
+# The first match found is the one that is used. Wildcards are not supported
+# as of postfix 2.0.2
+#
+#type location of .so file open function (mkmap func)
+#==== ================================ ============= ============
+EOF
+ addmap tcp
+else
+ # handle dynamicmaps.cf upgrade - we checked with the user in preinst.
+ if [ -f /var/spool/postfix/dynamicmaps_upgrade ]; then
+ (
+ if ! grep -qi 'wildcards are not supported' dynamicmaps.cf; then
+ echo '# *** Wildcards are not supported as of postfix 2.0.2 ***'
+ echo '#'
+ fi
+ sed '/^\*[[:space:]]/d' dynamicmaps.cf
+ ) > dynamicmaps.cf.$$
+ mv dynamicmaps.cf.$$ dynamicmaps.cf
+ # Need to add all of them, since we may need them to configure... sigh.
+ addmap tcp
+ addmap ldap
+ addmap pcre
+ addmap mysql
+ addmap pgsql
+ fi
+fi
+#addmap sdbm mkmap_sdbm_open # make sure this entry is there, for tls
+
+db_get postfix/main_mailer_type && mailer="$RET"
+
+[ -f master.cf ] || cp /usr/share/postfix/master.cf.dist master.cf
+
+if [ "$mailer" != "No configuration" ]; then # [
+ if [ -f main.cf ]; then
+ NEWCONF=""
+ else
+ cp /usr/share/postfix/main.cf.debian main.cf
+ if [ -f /etc/ssl/private/ssl-cert-snakeoil.key ]; then
+ cat /usr/share/postfix/main.cf.tls >> main.cf
+ fi
+ NEWCONF=yes
+ fi
+
+ # This is the braindead local-only master.cf from elsewhen
+ # we now deal with this in main.cf, so mark the mailer_type changed.
+ md5sum=$(md5sum /etc/postfix/master.cf)
+ if [ "${md5sum%% *}" = "fadb677a071ea2851cc2b8a12345823d" ]; then
+ cp /usr/share/postfix/master.cf.dist master.cf
+ db_fset postfix/main_mailer_type changed true
+ fi
+fi # !No configuration ]
+
+# cleanup from braindamage.
+if [ -d /etc/postfix/maildrop ]; then
+ rmdir /etc/postfix/maildrop 2>/dev/null
+fi
+
+set_maildrop_perms postdrop
+if [ -f /var/spool/postfix/db-upgrade ]; then
+ rm /var/spool/postfix/db-upgrade
+ db_get postfix/db_upgrade_warning && convert="$RET"
+ if [ "$convert" = "true" ]; then
+ convert_dbs
+ else
+ echo "DB files not converted, Postfix restart may fail."
+ fi
+fi
+
+if [ "$mailer" != "No configuration" ]; then # [
+ myhostname=$(hostname --fqdn 2>/dev/null || echo "")
+ if [ -z "$myhostname" ]; then
+ if [ -r /etc/hostname ];then
+ myhostname=$(cat /etc/hostname)
+ if [ $myhostname = ${myhostname%.*} -a -f /etc/resolv.conf ]; then
+ # The resolver uses the last one found, and ignores the rest
+ mydom=$(awk '/^(search|domain)/ {x=$2;} END {print x}' \
+ /etc/resolv.conf)
+ myhostname="$myhostname${mydom:+.$mydom}"
+ fi
+ else
+ myhostname="UNKNOWN"
+ fi
+ fi
+ mydomain=${myhostname#*.}
+
+ if [ -n "$NEWCONF" ]; then
+ fset_all_changed true
+ alias_maps=hash:/etc/aliases
+ nis_status=$(dpkg -l nis 2>/dev/null | sed -n '$p')
+ if [ "X$nis_status" != "X${nis_status#i}" ] && [ -x /usr/bin/ypcat ] &&
+ /usr/bin/ypcat mail.aliases >/dev/null 2>&1; then
+ alias_maps="hash:/etc/aliases, nis:mail.aliases"
+ cat << EOF
+It appears that you have an NIS map for mail aliases; using that in
+addition to /etc/aliases.
+
+EOF
+ fi
+ if [ -n "$myhostname" ]; then
+ echo "setting myhostname: $myhostname"
+ set_postconf "myhostname=$myhostname"
+ fi
+ echo "setting alias maps"
+ set_postconf "alias_maps=$alias_maps"
+ echo "setting alias database"
+ set_postconf "alias_database=hash:/etc/aliases"
+ else
+ if [ -f /var/spool/postfix/mydomain-upgrade ]; then
+ rm -f /var/spool/postfix/mydomain-upgrade
+ db_get postfix/mydomain_upgrade && upgrade="$RET"
+ if [ "$upgrade" = "true" ]; then
+ echo "setting mydomain=$mydomain"
+ set_postconf "mydomain=$mydomain"
+ fi
+ fi
+ fi
+
+ db_fget postfix/mailname changed
+ if [ "$RET" = "true" ]; then
+ db_get postfix/mailname && mailname="$RET"
+ lcmailname="$(echo $RET| tr 'A-Z' 'a-z')"
+ if [ "X$lcmailname" = "X==default==" ]; then
+ mailname=$(hostname --fqdn 2>/dev/null || echo localdomain)
+ fi
+ lcmailname="$(echo $mailname| tr 'A-Z' 'a-z')"
+ if [ -f /etc/mailname ] && [ "X$(tr 'A-Z' 'a-z' < /etc/mailname)" = "X$lcmailname" ]; then
+ MAILNAME=""
+ else
+ MAILNAME=yes
+ fi
+ if [ "X${lcmailname}" = Xubuntu.com ] || [ "X${lcmailname}" = Xdebian.org ]; then
+ echo "refusing to set mailname to ${mailname}."
+ elif [ "X${mailname%.*}" != "X${mailname}" ]; then
+ if [ -n "$MAILNAME" ]; then
+ echo "changing /etc/mailname to $mailname"
+ echo $mailname > /etc/mailname
+ fi
+ echo "setting myorigin"
+ set_postconf "myorigin=/etc/mailname"
+ else
+ echo "mailname is not a fully qualified domain name. Not changing /etc/mailname."
+ fi
+ fi
+ db_fget postfix/destinations changed
+ if [ "$RET" = "true" ]; then
+ db_get postfix/destinations && destinations="$RET"
+ echo "setting destinations: $destinations"
+ set_postconf "mydestination=$destinations"
+ fi
+ db_fget postfix/relayhost changed
+ if [ "$RET" = "true" ]; then
+ db_get postfix/relayhost && relayhost="$RET"
+ echo "setting relayhost: $relayhost"
+ set_postconf "relayhost=$relayhost"
+ fi
+ db_fget postfix/mynetworks changed
+ if [ "$RET" = "true" ]; then
+ db_get postfix/mynetworks && mynetworks="$RET"
+ if [ -z "$RET" ]; then
+ echo "deleting mynetworks"
+ if grep -q '^mynetworks[[:space:]]*=' main.cf; then
+ # need to remove it, get postconf to do the hard part.
+ postconf -e 'mynetworks=127.0.0.0/8'
+ perl -i -ne 'print unless /^mynetworks\s*=/' main.cf
+ fi
+ else
+ echo "setting mynetworks: $mynetworks"
+ set_postconf "mynetworks=$mynetworks"
+ fi
+ fi
+ db_fget postfix/procmail changed
+ if [ "$RET" = "true" ]; then
+ db_get postfix/procmail && useprocmail="$RET"
+ if [ "x$useprocmail" = "xtrue" ]; then
+ echo "setting mailbox_command"
+ set_postconf 'mailbox_command=procmail -a "$EXTENSION"'
+ else
+ if grep -q ^mailbox_command /etc/postfix/main.cf; then
+ echo "clearing mailbox_command"
+ set_postconf "mailbox_command="
+ fi
+ fi
+ fi
+ db_fget postfix/mailbox_limit changed
+ if [ "$RET" = "true" ]; then
+ db_get postfix/mailbox_limit && mailbox_limit="$RET"
+ echo "setting mailbox_size_limit: $mailbox_limit"
+ set_postconf "mailbox_size_limit=$mailbox_limit"
+ fi
+
+ db_fget postfix/recipient_delim changed
+ if [ "$RET" = "true" ]; then
+ db_get postfix/recipient_delim && recip="$RET"
+ echo "setting recipient_delimiter: $recip"
+ set_postconf "recipient_delimiter=$recip"
+ fi
+
+ db_fget postfix/main_mailer_type changed
+ if [ "$RET" = "true" ]; then
+ dtrans=smtp
+ # already have mailer
+ case "$mailer" in
+ "Local only") val=loopback-only; dtrans=error;;
+ "Satellite system") val=loopback-only;;
+ *) val=all;;
+ esac
+ echo "setting inet_interfaces: $val"
+ set_postconf "inet_interfaces=$val"
+
+ if [ $(postconf -h default_transport) != $dtrans ]; then
+ echo "setting default_transport: $dtrans"
+ set_postconf "default_transport=$dtrans"
+ echo "setting relay_transport: $dtrans"
+ set_postconf "relay_transport=$dtrans"
+ fi
+ fi
+
+ db_fget postfix/protocols changed
+ if [ "$RET" = "true" ]; then
+ db_get postfix/protocols && protocols="$RET"
+ echo "setting inet_protocols: $protocols"
+ set_postconf "inet_protocols=$protocols"
+ fi
+
+ if [ -z "$CHANGES" ]; then
+ MSG="configuration was not changed"
+ else if [ -n "$NEWCONF" ]; then
+ MSG="is now set up with a default configuration"
+ else
+ MSG="is now set up with the changes above"
+ fi
+ fi
+else # ] No configuration [
+ if [ -f main.cf ]; then
+ MSG="configuration was untouched"
+ else
+ MSG="was not set up. Start with
+ cp /usr/share/postfix/main.cf.debian /etc/postfix/main.cf
+"
+ # make sure that we don't try anything stupid below.
+ NEWALIASES=""
+ rm -f /var/spool/postfix/restart /var/spool/postfix/reload
+ fi
+fi # not 'No configuration' ]
+
+if [ ! -f /etc/aliases ]; then # no /etc/aliases [
+ echo "/etc/aliases does not exist, creating it."
+ cat << EOF > /etc/aliases
+# See man 5 aliases for format
+postmaster: root
+EOF
+ if [ "$mailer" != "No configuration" ]; then # [
+ db_fget postfix/root_address changed
+ if [ "$RET" = "true" ]; then
+ add_root_alias
+ NEWALIASES=y
+ fi
+ fi # not 'No configuration' ]
+fi # ] no /etc/aliases
+
+if [ "X$OLDVERSION" = "X" ]; then
+ # On fresh installs, push a root alias into the file.
+ if ! grep -q ^root: /etc/aliases && ! [ -f ~root/.forward ]; then
+ add_root_alias
+ NEWALIASES=y
+ fi
+ # And update the doc dirs if postfix-doc is already unpacked
+ if [ -f /etc/postfix/main.cf ] && \
+ [ -f /usr/share/doc/postfix-doc/changelog.Debian.gz ]; then
+ postconf -e readme_directory=/usr/share/doc/postfix \
+ html_directory=/usr/share/doc/postfix/html
+ fi
+fi
+
+db_fget postfix/root_address changed
+if [ "$RET" = "true" ] && ! grep -q ^root: /etc/aliases; then
+ echo "WARNING: /etc/aliases exists, but does not have a root alias."
+fi
+
+fset_all_changed false
+
+fold -s << EOF
+
+Postfix $MSG. If you need to make changes, edit
+/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
+values, see postconf(1).
+
+After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
+
+EOF
+
+# all done with debconf here.
+db_stop
+
+fix_master
+
+# Fix old permissions
+chown postfix:postfix /var/lib/postfix
+if [ -f /var/lib/postfix/prng_exch ]; then
+ chown postfix:postfix /var/lib/postfix/prng_exch
+fi
+
+if [ "X$OLDVERSION" = "X" ] && [ ! -f /etc/aliases.db ]; then
+ NEWALIASES=y
+fi
+
+if [ -x /usr/sbin/update-inetd ]; then
+ update-inetd --disable smtp /dev/null 2>&1 || true
+fi
+
+if [ "$mailer" != "No configuration" ] || [ -f /etc/postfix/main.cf ]; then
+ if [ -n "$NEWALIASES" ]; then
+ echo "Running newaliases"
+ rm -f /etc/aliases.db # handle the roll to db2.0
+ # newaliases chokes if hostname not set
+ # newaliases is equivalent to postalias $(postconf -h alias_database)
+ # and in debootstrap, newaliases == /bin/true...
+ if [ -z "$(postconf -h myhostname||true)" ]; then
+ cp -a main.cf main.cf.dpkg.$$
+ postconf -e 'myhostname=debian'
+ newaliases
+ mv main.cf.dpkg.$$ main.cf
+ else
+ newaliases
+ fi
+ fi
+
+ [ -x /usr/sbin/invoke-rc.d ] && \
+ INIT="invoke-rc.d postfix" || \
+ INIT="/etc/init.d/postfix"
+ # start postfix
+ if [ -f /var/spool/postfix/restart ]; then
+ rm -f /var/spool/postfix/restart
+ ${INIT} restart
+ else
+ # or maybe just restart postfix
+ if [ -f /var/spool/postfix/reload ]; then
+ rm -f /var/spool/postfix/reload
+ ${INIT} restart
+ fi
+ fi
+fi
--- postfix-2.5.5.orig/debian/ip-down.d
+++ postfix-2.5.5/debian/ip-down.d
@@ -0,0 +1,34 @@
+#!/bin/sh -e
+
+# Called when an interface disconnects
+# Written by LaMont Jones
+
+# start or reload Postfix as needed
+
+# If /usr isn't mounted yet, silently bail.
+if [ ! -d /usr/lib/postfix ]; then
+ exit 0
+fi
+
+RUNNING=""
+# If master is running, force a queue run to unload any mail that is
+# hanging around. Yes, sendmail is a symlink...
+if [ -f /var/spool/postfix/pid/master.pid ]; then
+ pid=$(sed 's/ //g' /var/spool/postfix/pid/master.pid)
+ exe=$(ls -l /proc/$pid/exe 2>/dev/null | sed 's/.* //;s/.*\///')
+ if [ "X$exe" = "Xmaster" ]; then
+ RUNNING="y"
+ fi
+fi
+
+if [ ! -x /sbin/resolvconf ]; then
+ f=/etc/resolv.conf
+ if ! cp $f $(postconf -h queue_directory)$f 2>/dev/null; then
+ exit 0
+ fi
+ if [ -n "$RUNNING" ]; then
+ /etc/init.d/postfix reload >/dev/null 2>&1
+ fi
+fi
+
+exit 0
--- postfix-2.5.5.orig/debian/lintian-override
+++ postfix-2.5.5/debian/lintian-override
@@ -0,0 +1,6 @@
+# Lintian doesn't know how to parse the damn files.
+postfix: postinst-unsafe-ldconfig
+postfix: postrm-unsafe-ldconfig
+postfix: package-name-doesnt-match-sonames
+postfix: maintainer-script-needs-depends-on-update-inetd postinst
+postfix: missing-debconf-dependency-for-preinst
--- postfix-2.5.5.orig/debian/postfix-mysql.README.Debian
+++ postfix-2.5.5/debian/postfix-mysql.README.Debian
@@ -0,0 +1,2 @@
+The postfix-doc package contains documentation on how to configure this
+map type. See /usr/share/doc/postfix/html/MYSQL_README.html
--- postfix-2.5.5.orig/debian/postfix-ldap.copyright
+++ postfix-2.5.5/debian/postfix-ldap.copyright
@@ -0,0 +1,318 @@
+This is the Debian GNU/Linux prepackaged version of Postfix, a mail transport
+agent.
+
+Postfix was created by Wietse Venema ; the Debian
+package has been assembled by LaMont Jones from sources
+available from http://www.postfix.org, and can be cloned from git via:
+ git clone git://git.debian.org/~lamont/postfix.git
+
+
+ Copyright (c) 1999, International Business Machines Corporation
+ and others. All Rights Reserved.
+
+The following copyright and license applies to this software:
+
+ IBM PUBLIC LICENSE VERSION 1.0 - SECURE MAILER
+
+ THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS IBM PUBLIC
+ LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE
+ PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+
+ 1. DEFINITIONS
+
+ "Contribution" means:
+ a) in the case of International Business Machines Corporation ("IBM"),
+ the Original Program, and
+ b) in the case of each Contributor,
+ i) changes to the Program, and
+ ii) additions to the Program;
+ where such changes and/or additions to the Program originate
+ from and are distributed by that particular Contributor.
+ A Contribution 'originates' from a Contributor if it was added
+ to the Program by such Contributor itself or anyone acting on
+ such Contributor's behalf.
+ Contributions do not include additions to the Program which:
+ (i) are separate modules of software distributed in conjunction
+ with the Program under their own license agreement, and
+ (ii) are not derivative works of the Program.
+
+ "Contributor" means IBM and any other entity that distributes the Program.
+
+ "Licensed Patents " mean patent claims licensable by a Contributor which
+ are necessarily infringed by the use or sale of its Contribution alone
+ or when combined with the Program.
+
+ "Original Program" means the original version of the software accompanying
+ this Agreement as released by IBM, including source code, object code
+ and documentation, if any.
+
+ "Program" means the Original Program and Contributions.
+
+ "Recipient" means anyone who receives the Program under this Agreement,
+ including all Contributors.
+
+ 2. GRANT OF RIGHTS
+
+ a) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free copyright
+ license to reproduce, prepare derivative works of, publicly display,
+ publicly perform, distribute and sublicense the Contribution of such
+ Contributor, if any, and such derivative works, in source code and
+ object code form.
+
+ b) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free patent
+ license under Licensed Patents to make, use, sell, offer to sell,
+ import and otherwise transfer the Contribution of such Contributor,
+ if any, in source code and object code form. This patent license
+ shall apply to the combination of the Contribution and the Program
+ if, at the time the Contribution is added by the Contributor, such
+ addition of the Contribution causes such combination to be covered
+ by the Licensed Patents. The patent license shall not apply to any
+ other combinations which include the Contribution. No hardware per
+ se is licensed hereunder.
+
+ c) Recipient understands that although each Contributor grants the
+ licenses to its Contributions set forth herein, no assurances are
+ provided by any Contributor that the Program does not infringe the
+ patent or other intellectual property rights of any other entity.
+ Each Contributor disclaims any liability to Recipient for claims
+ brought by any other entity based on infringement of intellectual
+ property rights or otherwise. As a condition to exercising the rights
+ and licenses granted hereunder, each Recipient hereby assumes sole
+ responsibility to secure any other intellectual property rights
+ needed, if any. For example, if a third party patent license
+ is required to allow Recipient to distribute the Program, it is
+ Recipient's responsibility to acquire that license before distributing
+ the Program.
+
+ d) Each Contributor represents that to its knowledge it has sufficient
+ copyright rights in its Contribution, if any, to grant the copyright
+ license set forth in this Agreement.
+
+ 3. REQUIREMENTS
+
+ A Contributor may choose to distribute the Program in object code form
+ under its own license agreement, provided that:
+ a) it complies with the terms and conditions of this Agreement; and
+ b) its license agreement:
+ i) effectively disclaims on behalf of all Contributors all
+ warranties and conditions, express and implied, including
+ warranties or conditions of title and non-infringement, and
+ implied warranties or conditions of merchantability and fitness
+ for a particular purpose;
+ ii) effectively excludes on behalf of all Contributors all
+ liability for damages, including direct, indirect, special,
+ incidental and consequential damages, such as lost profits;
+ iii) states that any provisions which differ from this Agreement
+ are offered by that Contributor alone and not by any other
+ party; and
+ iv) states that source code for the Program is available from
+ such Contributor, and informs licensees how to obtain it in a
+ reasonable manner on or through a medium customarily used for
+ software exchange.
+
+ When the Program is made available in source code form:
+ a) it must be made available under this Agreement; and
+ b) a copy of this Agreement must be included with each copy of the
+ Program.
+
+ Each Contributor must include the following in a conspicuous location
+ in the Program:
+
+ Copyright (c) 1997,1998,1999, International Business Machines
+ Corporation and others. All Rights Reserved.
+
+ In addition, each Contributor must identify itself as the originator of
+ its Contribution, if any, in a manner that reasonably allows subsequent
+ Recipients to identify the originator of the Contribution.
+
+ 4. COMMERCIAL DISTRIBUTION
+
+ Commercial distributors of software may accept certain responsibilities
+ with respect to end users, business partners and the like. While this
+ license is intended to facilitate the commercial use of the Program, the
+ Contributor who includes the Program in a commercial product offering
+ should do so in a manner which does not create potential liability for
+ other Contributors. Therefore, if a Contributor includes the Program in
+ a commercial product offering, such Contributor ("Commercial Contributor")
+ hereby agrees to defend and indemnify every other Contributor
+ ("Indemnified Contributor") against any losses, damages and costs
+ (collectively "Losses") arising from claims, lawsuits and other legal
+ actions brought by a third party against the Indemnified Contributor to
+ the extent caused by the acts or omissions of such Commercial Contributor
+ in connection with its distribution of the Program in a commercial
+ product offering. The obligations in this section do not apply to any
+ claims or Losses relating to any actual or alleged intellectual property
+ infringement. In order to qualify, an Indemnified Contributor must:
+ a) promptly notify the Commercial Contributor in writing of such claim,
+ and
+ b) allow the Commercial Contributor to control, and cooperate with
+ the Commercial Contributor in, the defense and any related
+ settlement negotiations. The Indemnified Contributor may
+ participate in any such claim at its own expense.
+
+ For example, a Contributor might include the Program in a commercial
+ product offering, Product X. That Contributor is then a Commercial
+ Contributor. If that Commercial Contributor then makes performance
+ claims, or offers warranties related to Product X, those performance
+ claims and warranties are such Commercial Contributor's responsibility
+ alone. Under this section, the Commercial Contributor would have to
+ defend claims against the other Contributors related to those performance
+ claims and warranties, and if a court requires any other Contributor to
+ pay any damages as a result, the Commercial Contributor must pay those
+ damages.
+
+ 5. NO WARRANTY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED
+ ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER
+ EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR
+ CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A
+ PARTICULAR PURPOSE. Each Recipient is solely responsible for determining
+ the appropriateness of using and distributing the Program and assumes
+ all risks associated with its exercise of rights under this Agreement,
+ including but not limited to the risks and costs of program errors,
+ compliance with applicable laws, damage to or loss of data, programs or
+ equipment, and unavailability or interruption of operations.
+
+ 6. DISCLAIMER OF LIABILITY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR
+ ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
+ WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION
+ OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ 7. GENERAL
+
+ If any provision of this Agreement is invalid or unenforceable under
+ applicable law, it shall not affect the validity or enforceability of
+ the remainder of the terms of this Agreement, and without further action
+ by the parties hereto, such provision shall be reformed to the minimum
+ extent necessary to make such provision valid and enforceable.
+
+ If Recipient institutes patent litigation against a Contributor with
+ respect to a patent applicable to software (including a cross-claim or
+ counterclaim in a lawsuit), then any patent licenses granted by that
+ Contributor to such Recipient under this Agreement shall terminate
+ as of the date such litigation is filed. In addition, If Recipient
+ institutes patent litigation against any entity (including a cross-claim
+ or counterclaim in a lawsuit) alleging that the Program itself (excluding
+ combinations of the Program with other software or hardware) infringes
+ such Recipient's patent(s), then such Recipient's rights granted under
+ Section 2(b) shall terminate as of the date such litigation is filed.
+
+ All Recipient's rights under this Agreement shall terminate if it fails
+ to comply with any of the material terms or conditions of this Agreement
+ and does not cure such failure in a reasonable period of time after
+ becoming aware of such noncompliance. If all Recipient's rights under
+ this Agreement terminate, Recipient agrees to cease use and distribution
+ of the Program as soon as reasonably practicable. However, Recipient's
+ obligations under this Agreement and any licenses granted by Recipient
+ relating to the Program shall continue and survive.
+
+ IBM may publish new versions (including revisions) of this Agreement
+ from time to time. Each new version of the Agreement will be given a
+ distinguishing version number. The Program (including Contributions)
+ may always be distributed subject to the version of the Agreement under
+ which it was received. In addition, after a new version of the Agreement
+ is published, Contributor may elect to distribute the Program (including
+ its Contributions) under the new version. No one other than IBM has the
+ right to modify this Agreement. Except as expressly stated in Sections
+ 2(a) and 2(b) above, Recipient receives no rights or licenses to the
+ intellectual property of any Contributor under this Agreement, whether
+ expressly, by implication, estoppel or otherwise. All rights in the
+ Program not expressly granted under this Agreement are reserved.
+
+ This Agreement is governed by the laws of the State of New York and the
+ intellectual property laws of the United States of America. No party to
+ this Agreement will bring a legal action under this Agreement more than
+ one year after the cause of action arose. Each party waives its rights
+ to a jury trial in any resulting litigation.
+
+The following license applies to rmail, distributed with Postfix:
+
+ SENDMAIL LICENSE
+
+ The following license terms and conditions apply, unless a different
+ license is obtained from Sendmail, Inc., 6425 Christie Ave, Fourth Floor,
+ Emeryville, CA 94608, or by electronic mail at license@sendmail.com.
+
+ License Terms:
+
+ Use, Modification and Redistribution (including distribution of any
+ modified or derived work) in source and binary forms is permitted only if
+ each of the following conditions is met:
+
+ 1. Redistributions qualify as "freeware" or "Open Source Software" under
+ one of the following terms:
+
+ (a) Redistributions are made at no charge beyond the reasonable cost of
+ materials and delivery.
+
+ (b) Redistributions are accompanied by a copy of the Source Code or by an
+ irrevocable offer to provide a copy of the Source Code for up to three
+ years at the cost of materials and delivery. Such redistributions
+ must allow further use, modification, and redistribution of the Source
+ Code under substantially the same terms as this license. For the
+ purposes of redistribution "Source Code" means the complete compilable
+ and linkable source code of sendmail including all modifications.
+
+ 2. Redistributions of source code must retain the copyright notices as they
+ appear in each source code file, these license terms, and the
+ disclaimer/limitation of liability set forth as paragraph 6 below.
+
+ 3. Redistributions in binary form must reproduce the Copyright Notice,
+ these license terms, and the disclaimer/limitation of liability set
+ forth as paragraph 6 below, in the documentation and/or other materials
+ provided with the distribution. For the purposes of binary distribution
+ the "Copyright Notice" refers to the following language:
+ "Copyright (c) 1998-2000 Sendmail, Inc. All rights reserved."
+
+ 4. Neither the name of Sendmail, Inc. nor the University of California nor
+ the names of their contributors may be used to endorse or promote
+ products derived from this software without specific prior written
+ permission. The name "sendmail" is a trademark of Sendmail, Inc.
+
+ 5. All redistributions must comply with the conditions imposed by the
+ University of California on certain embedded code, whose copyright
+ notice and conditions for redistribution are as follows:
+
+ (a) Copyright (c) 1988, 1993 The Regents of the University of
+ California. All rights reserved.
+
+ (b) Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ (i) Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ (ii) Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ (iii) Neither the name of the University nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY
+ SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+ NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF
+ CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ $Revision: 1.1.4.3 $, Last updated $Date: 2003/07/23 16:13:15 $
+
--- postfix-2.5.5.orig/debian/postfix-pcre.files
+++ postfix-2.5.5/debian/postfix-pcre.files
@@ -0,0 +1 @@
+usr/lib/postfix/dict_pcre.so
--- postfix-2.5.5.orig/debian/postfix-mysql.copyright
+++ postfix-2.5.5/debian/postfix-mysql.copyright
@@ -0,0 +1,318 @@
+This is the Debian GNU/Linux prepackaged version of Postfix, a mail transport
+agent.
+
+Postfix was created by Wietse Venema ; the Debian
+package has been assembled by LaMont Jones from sources
+available from http://www.postfix.org, and can be cloned from git via:
+ git clone git://git.debian.org/~lamont/postfix.git
+
+
+ Copyright (c) 1999, International Business Machines Corporation
+ and others. All Rights Reserved.
+
+The following copyright and license applies to this software:
+
+ IBM PUBLIC LICENSE VERSION 1.0 - SECURE MAILER
+
+ THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS IBM PUBLIC
+ LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE
+ PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+
+ 1. DEFINITIONS
+
+ "Contribution" means:
+ a) in the case of International Business Machines Corporation ("IBM"),
+ the Original Program, and
+ b) in the case of each Contributor,
+ i) changes to the Program, and
+ ii) additions to the Program;
+ where such changes and/or additions to the Program originate
+ from and are distributed by that particular Contributor.
+ A Contribution 'originates' from a Contributor if it was added
+ to the Program by such Contributor itself or anyone acting on
+ such Contributor's behalf.
+ Contributions do not include additions to the Program which:
+ (i) are separate modules of software distributed in conjunction
+ with the Program under their own license agreement, and
+ (ii) are not derivative works of the Program.
+
+ "Contributor" means IBM and any other entity that distributes the Program.
+
+ "Licensed Patents " mean patent claims licensable by a Contributor which
+ are necessarily infringed by the use or sale of its Contribution alone
+ or when combined with the Program.
+
+ "Original Program" means the original version of the software accompanying
+ this Agreement as released by IBM, including source code, object code
+ and documentation, if any.
+
+ "Program" means the Original Program and Contributions.
+
+ "Recipient" means anyone who receives the Program under this Agreement,
+ including all Contributors.
+
+ 2. GRANT OF RIGHTS
+
+ a) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free copyright
+ license to reproduce, prepare derivative works of, publicly display,
+ publicly perform, distribute and sublicense the Contribution of such
+ Contributor, if any, and such derivative works, in source code and
+ object code form.
+
+ b) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free patent
+ license under Licensed Patents to make, use, sell, offer to sell,
+ import and otherwise transfer the Contribution of such Contributor,
+ if any, in source code and object code form. This patent license
+ shall apply to the combination of the Contribution and the Program
+ if, at the time the Contribution is added by the Contributor, such
+ addition of the Contribution causes such combination to be covered
+ by the Licensed Patents. The patent license shall not apply to any
+ other combinations which include the Contribution. No hardware per
+ se is licensed hereunder.
+
+ c) Recipient understands that although each Contributor grants the
+ licenses to its Contributions set forth herein, no assurances are
+ provided by any Contributor that the Program does not infringe the
+ patent or other intellectual property rights of any other entity.
+ Each Contributor disclaims any liability to Recipient for claims
+ brought by any other entity based on infringement of intellectual
+ property rights or otherwise. As a condition to exercising the rights
+ and licenses granted hereunder, each Recipient hereby assumes sole
+ responsibility to secure any other intellectual property rights
+ needed, if any. For example, if a third party patent license
+ is required to allow Recipient to distribute the Program, it is
+ Recipient's responsibility to acquire that license before distributing
+ the Program.
+
+ d) Each Contributor represents that to its knowledge it has sufficient
+ copyright rights in its Contribution, if any, to grant the copyright
+ license set forth in this Agreement.
+
+ 3. REQUIREMENTS
+
+ A Contributor may choose to distribute the Program in object code form
+ under its own license agreement, provided that:
+ a) it complies with the terms and conditions of this Agreement; and
+ b) its license agreement:
+ i) effectively disclaims on behalf of all Contributors all
+ warranties and conditions, express and implied, including
+ warranties or conditions of title and non-infringement, and
+ implied warranties or conditions of merchantability and fitness
+ for a particular purpose;
+ ii) effectively excludes on behalf of all Contributors all
+ liability for damages, including direct, indirect, special,
+ incidental and consequential damages, such as lost profits;
+ iii) states that any provisions which differ from this Agreement
+ are offered by that Contributor alone and not by any other
+ party; and
+ iv) states that source code for the Program is available from
+ such Contributor, and informs licensees how to obtain it in a
+ reasonable manner on or through a medium customarily used for
+ software exchange.
+
+ When the Program is made available in source code form:
+ a) it must be made available under this Agreement; and
+ b) a copy of this Agreement must be included with each copy of the
+ Program.
+
+ Each Contributor must include the following in a conspicuous location
+ in the Program:
+
+ Copyright (c) 1997,1998,1999, International Business Machines
+ Corporation and others. All Rights Reserved.
+
+ In addition, each Contributor must identify itself as the originator of
+ its Contribution, if any, in a manner that reasonably allows subsequent
+ Recipients to identify the originator of the Contribution.
+
+ 4. COMMERCIAL DISTRIBUTION
+
+ Commercial distributors of software may accept certain responsibilities
+ with respect to end users, business partners and the like. While this
+ license is intended to facilitate the commercial use of the Program, the
+ Contributor who includes the Program in a commercial product offering
+ should do so in a manner which does not create potential liability for
+ other Contributors. Therefore, if a Contributor includes the Program in
+ a commercial product offering, such Contributor ("Commercial Contributor")
+ hereby agrees to defend and indemnify every other Contributor
+ ("Indemnified Contributor") against any losses, damages and costs
+ (collectively "Losses") arising from claims, lawsuits and other legal
+ actions brought by a third party against the Indemnified Contributor to
+ the extent caused by the acts or omissions of such Commercial Contributor
+ in connection with its distribution of the Program in a commercial
+ product offering. The obligations in this section do not apply to any
+ claims or Losses relating to any actual or alleged intellectual property
+ infringement. In order to qualify, an Indemnified Contributor must:
+ a) promptly notify the Commercial Contributor in writing of such claim,
+ and
+ b) allow the Commercial Contributor to control, and cooperate with
+ the Commercial Contributor in, the defense and any related
+ settlement negotiations. The Indemnified Contributor may
+ participate in any such claim at its own expense.
+
+ For example, a Contributor might include the Program in a commercial
+ product offering, Product X. That Contributor is then a Commercial
+ Contributor. If that Commercial Contributor then makes performance
+ claims, or offers warranties related to Product X, those performance
+ claims and warranties are such Commercial Contributor's responsibility
+ alone. Under this section, the Commercial Contributor would have to
+ defend claims against the other Contributors related to those performance
+ claims and warranties, and if a court requires any other Contributor to
+ pay any damages as a result, the Commercial Contributor must pay those
+ damages.
+
+ 5. NO WARRANTY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED
+ ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER
+ EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR
+ CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A
+ PARTICULAR PURPOSE. Each Recipient is solely responsible for determining
+ the appropriateness of using and distributing the Program and assumes
+ all risks associated with its exercise of rights under this Agreement,
+ including but not limited to the risks and costs of program errors,
+ compliance with applicable laws, damage to or loss of data, programs or
+ equipment, and unavailability or interruption of operations.
+
+ 6. DISCLAIMER OF LIABILITY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR
+ ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
+ WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION
+ OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ 7. GENERAL
+
+ If any provision of this Agreement is invalid or unenforceable under
+ applicable law, it shall not affect the validity or enforceability of
+ the remainder of the terms of this Agreement, and without further action
+ by the parties hereto, such provision shall be reformed to the minimum
+ extent necessary to make such provision valid and enforceable.
+
+ If Recipient institutes patent litigation against a Contributor with
+ respect to a patent applicable to software (including a cross-claim or
+ counterclaim in a lawsuit), then any patent licenses granted by that
+ Contributor to such Recipient under this Agreement shall terminate
+ as of the date such litigation is filed. In addition, If Recipient
+ institutes patent litigation against any entity (including a cross-claim
+ or counterclaim in a lawsuit) alleging that the Program itself (excluding
+ combinations of the Program with other software or hardware) infringes
+ such Recipient's patent(s), then such Recipient's rights granted under
+ Section 2(b) shall terminate as of the date such litigation is filed.
+
+ All Recipient's rights under this Agreement shall terminate if it fails
+ to comply with any of the material terms or conditions of this Agreement
+ and does not cure such failure in a reasonable period of time after
+ becoming aware of such noncompliance. If all Recipient's rights under
+ this Agreement terminate, Recipient agrees to cease use and distribution
+ of the Program as soon as reasonably practicable. However, Recipient's
+ obligations under this Agreement and any licenses granted by Recipient
+ relating to the Program shall continue and survive.
+
+ IBM may publish new versions (including revisions) of this Agreement
+ from time to time. Each new version of the Agreement will be given a
+ distinguishing version number. The Program (including Contributions)
+ may always be distributed subject to the version of the Agreement under
+ which it was received. In addition, after a new version of the Agreement
+ is published, Contributor may elect to distribute the Program (including
+ its Contributions) under the new version. No one other than IBM has the
+ right to modify this Agreement. Except as expressly stated in Sections
+ 2(a) and 2(b) above, Recipient receives no rights or licenses to the
+ intellectual property of any Contributor under this Agreement, whether
+ expressly, by implication, estoppel or otherwise. All rights in the
+ Program not expressly granted under this Agreement are reserved.
+
+ This Agreement is governed by the laws of the State of New York and the
+ intellectual property laws of the United States of America. No party to
+ this Agreement will bring a legal action under this Agreement more than
+ one year after the cause of action arose. Each party waives its rights
+ to a jury trial in any resulting litigation.
+
+The following license applies to rmail, distributed with Postfix:
+
+ SENDMAIL LICENSE
+
+ The following license terms and conditions apply, unless a different
+ license is obtained from Sendmail, Inc., 6425 Christie Ave, Fourth Floor,
+ Emeryville, CA 94608, or by electronic mail at license@sendmail.com.
+
+ License Terms:
+
+ Use, Modification and Redistribution (including distribution of any
+ modified or derived work) in source and binary forms is permitted only if
+ each of the following conditions is met:
+
+ 1. Redistributions qualify as "freeware" or "Open Source Software" under
+ one of the following terms:
+
+ (a) Redistributions are made at no charge beyond the reasonable cost of
+ materials and delivery.
+
+ (b) Redistributions are accompanied by a copy of the Source Code or by an
+ irrevocable offer to provide a copy of the Source Code for up to three
+ years at the cost of materials and delivery. Such redistributions
+ must allow further use, modification, and redistribution of the Source
+ Code under substantially the same terms as this license. For the
+ purposes of redistribution "Source Code" means the complete compilable
+ and linkable source code of sendmail including all modifications.
+
+ 2. Redistributions of source code must retain the copyright notices as they
+ appear in each source code file, these license terms, and the
+ disclaimer/limitation of liability set forth as paragraph 6 below.
+
+ 3. Redistributions in binary form must reproduce the Copyright Notice,
+ these license terms, and the disclaimer/limitation of liability set
+ forth as paragraph 6 below, in the documentation and/or other materials
+ provided with the distribution. For the purposes of binary distribution
+ the "Copyright Notice" refers to the following language:
+ "Copyright (c) 1998-2000 Sendmail, Inc. All rights reserved."
+
+ 4. Neither the name of Sendmail, Inc. nor the University of California nor
+ the names of their contributors may be used to endorse or promote
+ products derived from this software without specific prior written
+ permission. The name "sendmail" is a trademark of Sendmail, Inc.
+
+ 5. All redistributions must comply with the conditions imposed by the
+ University of California on certain embedded code, whose copyright
+ notice and conditions for redistribution are as follows:
+
+ (a) Copyright (c) 1988, 1993 The Regents of the University of
+ California. All rights reserved.
+
+ (b) Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ (i) Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ (ii) Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ (iii) Neither the name of the University nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY
+ SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+ NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF
+ CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ $Revision: 1.1.4.3 $, Last updated $Date: 2003/07/23 16:13:15 $
+
--- postfix-2.5.5.orig/debian/postfix-doc.postinst
+++ postfix-2.5.5/debian/postfix-doc.postinst
@@ -0,0 +1,50 @@
+#! /bin/sh
+# postinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * `configure'
+# * `abort-upgrade'
+# * `abort-remove' `in-favour'
+#
+# * `abort-deconfigure' `in-favour'
+# `removing'
+#
+# for details, see /usr/share/doc/packaging-manual/
+#
+# quoting from the policy:
+# Any necessary prompting should almost always be confined to the
+# post-installation script, and should be protected with a conditional
+# so that unnecessary prompting doesn't happen if a package's
+# installation fails and the `postinst' is called with `abort-upgrade',
+# `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+ configure)
+ if [ -x /usr/sbin/postconf ] && [ -e /etc/postfix/main.cf ]; then
+ postconf -e readme_directory=/usr/share/doc/postfix \
+ html_directory=/usr/share/doc/postfix/html
+ fi
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- postfix-2.5.5.orig/debian/README.Debian
+++ postfix-2.5.5/debian/README.Debian
@@ -0,0 +1,38 @@
+There are some significant differences between the Debian Postfix packages,
+and the source from upstream:
+
+1. The Debian install is chrooted by default.
+2. Dynamically loadable map support.
+3. For policy reasons:
+ a. SASL configuration goes in /etc/postfix/sasl
+ b. myhostname=/path/to/file is supported (and used) in main.cf
+4. smtp_line_length_limit defaults to 0, instead of 990, in absolute
+ violation of the RFC. Note that mailers in the path will still
+ potentially split the line, though. This will be removed at some
+ point in the future.
+5. IPV6 support is enabled: postfix listens on ipv6/ipv4 by default,
+ (see: inet_protocols)
+6. TLS/SASL support is enabled.
+7. rmail comes from sendmail, not from postfix.
+8. The upstream main.cf is delivered as /usr/share/postfix/main.cf.dist,
+ rather than cluttering /etc/postfix/main.cf with comments.
+
+Known caveats:
+1. The dynamically loadable modules are not found in the chroot.
+ Therefore, proxy maps may require you to copy the appropriate shared
+ object into the chroot if you chroot the proxy service in master.cf.
+2. Some map types (and SASL support) require some extra configuration
+ (beyond what upstream indicates) to run inside the chroot. The simplest
+ solution for the maps is to use the proxy service, which is not chrooted.
+ SASL is a bit more complex, and is on the TODO list...
+3. Note that the chrooted daemons open /dev/log before chrooting, so if your
+ syslog daemon is restarted, the daemons will be unable to reconnect to the
+ syslog socket, and hence being unable to log. The postfix package provides
+ a config snipped for the rsyslog daemon in /etc/rsyslog.d/postfix.conf to
+ also open a socket in /var/log/postfix/dev. For other syslog daemons, you
+ will also have to restart postfix after restarting the syslog daemon, or
+ configure it to open an additional socket.
+ a. For sysklogd (the default in Debian versions prior to Lenny), add
+ SYSLOG="-a /var/spool/postfix/dev/log" to /etc/default/syslog.
+ b. For inetutils-syslogd, add SYSLOGD_OPTS="-a /var/spool/postfix/dev/log" to
+ /etc/default/inetutils-syslogd.
--- postfix-2.5.5.orig/debian/postfix-ldap.prerm
+++ postfix-2.5.5/debian/postfix-ldap.prerm
@@ -0,0 +1,37 @@
+#! /bin/sh
+# prerm script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * `remove'
+# * `upgrade'
+# * `failed-upgrade'
+# * `remove' `in-favour'
+# * `deconfigure' `in-favour'
+# `removing'
+#
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+ remove|upgrade|deconfigure)
+# install-info --quiet --remove /usr/info/#PACKAGE#.info.gz
+ ;;
+ failed-upgrade)
+ ;;
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- postfix-2.5.5.orig/debian/rules
+++ postfix-2.5.5/debian/rules
@@ -0,0 +1,240 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Debianrules for building a Debian package
+# Version 1.5
+#
+# These rules have been specifically designed NOT to require root to
+# run them. At any time root privileges are required, the command to be
+# executed will be made obvious and root's password will be prompted for.
+# Of course, root may still run this and no password will be required.
+#
+# Robert Leslie
+# modified for Postfix by LaMont Jones
+
+PACKAGE=postfix
+
+export DEB_BUILD_HARDENING=1
+
+package=postfix
+base=debian/$(package)
+docpkg=${package}-doc
+docdir=${base}-doc/usr/share/doc/$(package)
+chlogdir=${base}/usr/share/doc/$(package)
+sharedir=${base}/usr/share/postfix
+libdir=${base}/usr/lib
+plibdir=usr/lib/postfix
+sbindir=usr/sbin
+bindir=${base}/usr/bin
+confdir=${base}/etc/postfix
+
+#ifeq ($(DEB_BUILD_ARCH),sparc)
+# OFLAGS = -O1
+#else
+# OFLAGS = -O1
+#endif
+
+OFLAGS = -O2
+SHELL=/bin/bash
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+DEBUG = -g
+endif
+
+ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+STRIP=y
+endif
+
+CCARGS=-DDEBIAN -DMAX_DYNAMIC_MAPS -DHAS_PCRE -DHAS_LDAP \
+ -DMYORIGIN_FROM_FILE \
+ $(shell getconf LFS_CFLAGS) \
+ -DHAS_CDB \
+ -DHAS_MYSQL -I/usr/include/mysql \
+ -DHAS_PGSQL -I`pg_config --includedir` \
+ -DHAS_SSL -I/usr/include/openssl \
+ -DUSE_SASL_AUTH -I/usr/include/sasl \
+ -DUSE_CYRUS_SASL \
+ -DUSE_TLS
+
+AUXLIBS =-lssl -lcrypto -lsasl2
+
+DOCFILES=README_FILES/*_README COMPATIBILITY TODO PORTING
+TLSDOCFILES=${TLSSRC}/TLS_TODO ${TLSSRC}/TLS_ACKNOWLEDGEMENTS
+
+.PHONY: install install-doc binary binary-arch binary-indep clean
+.PHONY: checkroot
+
+build:
+ $(checkdir)
+ ${MAKE} makefiles CCARGS="${CCARGS}" DEBUG=${DEBUG} \
+ AUXLIBS="${AUXLIBS} -L$$(pwd)/debian" OPT="$(OFLAGS)"
+ cd lib && for i in dns global master tls util ; do \
+ ln -sf lib$${i}.a libpostfix-$${i}.so.1.0.1; \
+ ln -sf libpostfix-$${i}.so.1.0.1 libpostfix-$${i}.so.1; \
+ done
+ ${MAKE} LD_LIBRARY_PATH=$$(pwd)/lib:$${LD_LIBRARY_PATH}
+ ${MAKE} manpages
+ DISTRO=$$(lsb_release -is 2>/dev/null || echo Debian); \
+ if [ $$DISTRO = Debian ]; then DISTRO=Debian/GNU; fi; \
+ sed "s:@@DISTRO@@:$$DISTRO:g" < debian/main.cf.in > conf/main.cf.debian
+ DISTRO=$$(lsb_release -is 2>/dev/null || echo Debian); \
+ if [ $$DISTRO = Debian ]; then DISTRO=Debian/GNU; fi; \
+ sed "s:@@DISTRO@@:$$DISTRO:g" < conf/main.cf > conf/main.cf.dist
+ touch $@
+
+install-doc: build
+ dh_clean -k
+ dh_installdirs -i
+ install -m 0444 html/* $(docdir)/html; rm $(docdir)/html/Makefile.in
+ dh_installexamples -p ${docpkg} examples/{qmail-local,smtpd-policy}
+ dh_installexamples -p ${docpkg} -Xmain.cf -Xmaster.cf -Xfiles conf/[a-z]*
+ dh_installexamples -p ${docpkg} conf/main.cf.default debian/mailqfmt.pl
+ install -m 0444 RELEASE_NOTES $(docdir)/RELEASE_NOTES
+ install -m 0444 AAAREADME $(docdir)/README
+ for file in */README; do \
+ install -m 0444 $${file} $(docdir)/README.$${file%/README}; \
+ done
+ rm -f $(docdir)/README.mantools
+ for file in ${DOCFILES}; do \
+ install -m 0444 $${file} $(docdir)/$${file##*/}; \
+ done
+ rm -f $(docdir)/ULTRIX_README $(docdir)/MACOSX_README
+
+ install -m 0444 include/[!CRS]* ${base}-dev/usr/include/postfix
+ cd lib; for i in libpostfix-*; do \
+ ln -sf $$i ../${base}-dev/usr/lib/$${i%so.*}so; \
+ done
+
+install: build
+ dh_clean -k
+ dh_installdirs -a
+ install lib/*.1.0.1 $(libdir)
+ install debian/postfix_groups.pl $(libdir)
+ for i in $(libdir)/*.1.0.1; do ln -sf $${i##*/} $${i%.*.*}; done
+ install lib/dict_ldap.so ${base}-ldap/${plibdir}
+ install lib/dict_pcre.so ${base}-pcre/${plibdir}
+ install lib/dict_mysql.so ${base}-mysql/${plibdir}
+ install lib/dict_pgsql.so ${base}-pgsql/${plibdir}
+ install lib/dict_tcp.so ${base}/${plibdir}
+ install lib/dict_cdb.so ${base}-cdb/${plibdir}
+ install libexec/[a-z]* ${base}/${plibdir}
+ install bin/[a-z]* ${base}/${sbindir}
+ install debian/postfix-add-filter ${base}/${sbindir}
+ install debian/postfix-add-policy ${base}/${sbindir}
+ install auxiliary/qshape/qshape.pl ${base}/${sbindir}/qshape
+ install -m 0444 HISTORY $(chlogdir)/changelog
+ ln -s ../sbin/rmail $(bindir)/rmail
+ ln -s ../sbin/sendmail $(bindir)/newaliases
+ ln -s ../sbin/sendmail $(bindir)/mailq
+ ln -s ../sbin/sendmail ${base}/usr/lib/sendmail
+ ln -s smtp ${base}/${plibdir}/lmtp
+ install -m 0755 conf/postfix-script conf/post-install $(confdir)
+ install -m 0644 conf/postfix-files $(confdir)
+ install -m 0644 debian/functions $(sharedir)/postinst.functions
+ install -m 0644 conf/master.cf $(sharedir)/master.cf.dist
+ install -m 0644 conf/main.cf.dist $(sharedir)/main.cf.dist
+ install -m 0644 conf/main.cf.debian $(sharedir)/main.cf.debian
+ install -m 0644 conf/main.cf.tls $(sharedir)/main.cf.tls
+ install -m644 debian/postfix.ufw.profile debian/postfix/etc/ufw/applications.d/postfix
+ install -m644 debian/rsyslog.conf debian/postfix/etc/rsyslog.d/postfix.conf
+
+ install man/man1/*.1 ${base}/usr/share/man/man1
+ install man/man5/*.5 ${base}/usr/share/man/man5
+ for f in man/man8/*.8; do \
+ sed '/^\.TH/s/ 8 / 8postfix /' $${f}>${base}/usr/share/$${f}postfix; \
+ chmod 644 ${base}/usr/share/$${f}postfix; \
+ chown root:root ${base}/usr/share/$${f}postfix; \
+ done
+ install rmail/rmail.8 ${base}/usr/share/man/man8
+ gzip -9 ${base}/usr/share/man/man8/*.8postfix
+ ln -sf bounce.8postfix.gz ${base}/usr/share/man/man8/trace.8postfix.gz
+ ln -sf bounce.8postfix.gz ${base}/usr/share/man/man8/defer.8postfix.gz
+
+ install debian/init.d ${base}/etc/init.d/postfix
+ install debian/ip-up.d ${base}/etc/ppp/ip-up.d/postfix
+ install debian/ip-down.d ${base}/etc/ppp/ip-down.d/postfix
+ install debian/ip-up.d ${base}/etc/network/if-up.d/postfix
+ install debian/ip-down.d ${base}/etc/network/if-down.d/postfix
+ install debian/update-libc.d ${base}/etc/resolvconf/update-libc.d/postfix
+ install -m 0444 debian/lintian-override ${base}/usr/share/lintian/overrides/${package}
+
+debian/vars:
+ cp debian/vars.in $@
+ # This assumes non-native, and at least one hyphen in the version number.
+ echo Upstream=$$(sed 's/^.*(\(.*\)-[^-]*).*/\1/; q' debian/changelog) >> $@
+
+binary-indep: checkroot install-doc debian/vars
+ dh_installdocs -i
+## dh_installexamples -i
+## dh_installmenu -i
+## dh_installcron -i
+ dh_installchangelogs -i
+ dh_installdebconf -i
+ dh_compress -i
+ dh_fixperms -i
+ dh_installdeb -i
+ for i in $$(sed -n '/^Package:/s/^.* //p' debian/control); do cat debian/vars >> debian/$$i.substvars; done
+ cat debian/vars.in >> debian/substvars
+ dh_gencontrol -i
+## dh_makeshlibs -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+binary-arch: checkroot build install debian/vars
+
+ dh_installdocs -a
+## dh_installexamples -a
+## dh_installmenu -a
+## dh_installcron -a
+ dh_installchangelogs -a
+ dh_installdebconf -a
+## dh_movefiles -a
+ [ -n "$(STRIP)" ] || dh_strip -a
+ dh_compress -a
+ dh_fixperms -a
+ dh_makeshlibs -a
+ dh_installdeb -a
+ LD_LIBRARY_PATH=$$(pwd)/lib:$${LD_LIBRARY_PATH} dh_shlibdeps -a
+ for i in $$(sed -n '/^Package:/s/^.* //p' debian/control); do cat debian/vars >> debian/$$i.substvars; done
+ cat debian/vars.in >> debian/substvars
+ dh_gencontrol -a
+## dh_makeshlibs -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+clean-preunpatch:
+ $(checkdir)
+ dh_clean build
+ test ! -d ${base} || rm -rf ${base}
+ $(MAKE) tidy
+
+clean: clean-preunpatch
+ rm -rf debian/{files*,vars,*substvars,*.debhelper}
+ find .. -maxdepth 1 -name $(package)*.asc -size 0 -exec rm {} ";"
+ rm -f debian/stamp-* conf/main.cf.debian conf/main.cf.dist
+
+buildinfo:
+ @echo; dpkg -l gcc "libc6*" binutils ldso make dpkg-dev $(BUILDINFO) \
+ | awk '$$1 == "ii" { printf("%s-%s\n", $$2, $$3) }' \
+ | tee $(docdir)/buildinfo.Debian; echo
+ chmod 644 $(docdir)/buildinfo.Debian
+
+define checkdir
+ test -f debian/rules
+endef
+
+# Below here is fairly generic really
+
+binary: binary-arch binary-indep
+
+newtemplate:
+ debconf-updatepo
+
+msgstats:
+ @cd debian/po && for i in *.po; do x=$$(msgfmt --statistics $$i 2>&1); echo $$i $$x; done; rm -f messages.mo *.po~
+
+msg-email:
+ @podebconf-report-po
+
+checkroot:
+ $(checkdir)
+ test "`id -u`" -eq 0
--- postfix-2.5.5.orig/debian/postfix.copyright
+++ postfix-2.5.5/debian/postfix.copyright
@@ -0,0 +1,338 @@
+This is the Debian GNU/Linux prepackaged version of Postfix, a mail transport
+agent.
+
+Postfix was created by Wietse Venema ; the Debian
+package has been assembled by LaMont Jones from sources
+available from http://www.postfix.org, and can be cloned from git via:
+ git clone git://git.debian.org/~lamont/postfix.git
+
+
+ Copyright (c) 1999, International Business Machines Corporation
+ and others. All Rights Reserved.
+
+The following copyright and license applies to this software:
+
+ IBM PUBLIC LICENSE VERSION 1.0 - SECURE MAILER
+
+ THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS IBM PUBLIC
+ LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE
+ PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+
+ 1. DEFINITIONS
+
+ "Contribution" means:
+ a) in the case of International Business Machines Corporation ("IBM"),
+ the Original Program, and
+ b) in the case of each Contributor,
+ i) changes to the Program, and
+ ii) additions to the Program;
+ where such changes and/or additions to the Program originate
+ from and are distributed by that particular Contributor.
+ A Contribution 'originates' from a Contributor if it was added
+ to the Program by such Contributor itself or anyone acting on
+ such Contributor's behalf.
+ Contributions do not include additions to the Program which:
+ (i) are separate modules of software distributed in conjunction
+ with the Program under their own license agreement, and
+ (ii) are not derivative works of the Program.
+
+ "Contributor" means IBM and any other entity that distributes the Program.
+
+ "Licensed Patents " mean patent claims licensable by a Contributor which
+ are necessarily infringed by the use or sale of its Contribution alone
+ or when combined with the Program.
+
+ "Original Program" means the original version of the software accompanying
+ this Agreement as released by IBM, including source code, object code
+ and documentation, if any.
+
+ "Program" means the Original Program and Contributions.
+
+ "Recipient" means anyone who receives the Program under this Agreement,
+ including all Contributors.
+
+ 2. GRANT OF RIGHTS
+
+ a) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free copyright
+ license to reproduce, prepare derivative works of, publicly display,
+ publicly perform, distribute and sublicense the Contribution of such
+ Contributor, if any, and such derivative works, in source code and
+ object code form.
+
+ b) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free patent
+ license under Licensed Patents to make, use, sell, offer to sell,
+ import and otherwise transfer the Contribution of such Contributor,
+ if any, in source code and object code form. This patent license
+ shall apply to the combination of the Contribution and the Program
+ if, at the time the Contribution is added by the Contributor, such
+ addition of the Contribution causes such combination to be covered
+ by the Licensed Patents. The patent license shall not apply to any
+ other combinations which include the Contribution. No hardware per
+ se is licensed hereunder.
+
+ c) Recipient understands that although each Contributor grants the
+ licenses to its Contributions set forth herein, no assurances are
+ provided by any Contributor that the Program does not infringe the
+ patent or other intellectual property rights of any other entity.
+ Each Contributor disclaims any liability to Recipient for claims
+ brought by any other entity based on infringement of intellectual
+ property rights or otherwise. As a condition to exercising the rights
+ and licenses granted hereunder, each Recipient hereby assumes sole
+ responsibility to secure any other intellectual property rights
+ needed, if any. For example, if a third party patent license
+ is required to allow Recipient to distribute the Program, it is
+ Recipient's responsibility to acquire that license before distributing
+ the Program.
+
+ d) Each Contributor represents that to its knowledge it has sufficient
+ copyright rights in its Contribution, if any, to grant the copyright
+ license set forth in this Agreement.
+
+ 3. REQUIREMENTS
+
+ A Contributor may choose to distribute the Program in object code form
+ under its own license agreement, provided that:
+ a) it complies with the terms and conditions of this Agreement; and
+ b) its license agreement:
+ i) effectively disclaims on behalf of all Contributors all
+ warranties and conditions, express and implied, including
+ warranties or conditions of title and non-infringement, and
+ implied warranties or conditions of merchantability and fitness
+ for a particular purpose;
+ ii) effectively excludes on behalf of all Contributors all
+ liability for damages, including direct, indirect, special,
+ incidental and consequential damages, such as lost profits;
+ iii) states that any provisions which differ from this Agreement
+ are offered by that Contributor alone and not by any other
+ party; and
+ iv) states that source code for the Program is available from
+ such Contributor, and informs licensees how to obtain it in a
+ reasonable manner on or through a medium customarily used for
+ software exchange.
+
+ When the Program is made available in source code form:
+ a) it must be made available under this Agreement; and
+ b) a copy of this Agreement must be included with each copy of the
+ Program.
+
+ Each Contributor must include the following in a conspicuous location
+ in the Program:
+
+ Copyright (c) 1997,1998,1999, International Business Machines
+ Corporation and others. All Rights Reserved.
+
+ In addition, each Contributor must identify itself as the originator of
+ its Contribution, if any, in a manner that reasonably allows subsequent
+ Recipients to identify the originator of the Contribution.
+
+ 4. COMMERCIAL DISTRIBUTION
+
+ Commercial distributors of software may accept certain responsibilities
+ with respect to end users, business partners and the like. While this
+ license is intended to facilitate the commercial use of the Program, the
+ Contributor who includes the Program in a commercial product offering
+ should do so in a manner which does not create potential liability for
+ other Contributors. Therefore, if a Contributor includes the Program in
+ a commercial product offering, such Contributor ("Commercial Contributor")
+ hereby agrees to defend and indemnify every other Contributor
+ ("Indemnified Contributor") against any losses, damages and costs
+ (collectively "Losses") arising from claims, lawsuits and other legal
+ actions brought by a third party against the Indemnified Contributor to
+ the extent caused by the acts or omissions of such Commercial Contributor
+ in connection with its distribution of the Program in a commercial
+ product offering. The obligations in this section do not apply to any
+ claims or Losses relating to any actual or alleged intellectual property
+ infringement. In order to qualify, an Indemnified Contributor must:
+ a) promptly notify the Commercial Contributor in writing of such claim,
+ and
+ b) allow the Commercial Contributor to control, and cooperate with
+ the Commercial Contributor in, the defense and any related
+ settlement negotiations. The Indemnified Contributor may
+ participate in any such claim at its own expense.
+
+ For example, a Contributor might include the Program in a commercial
+ product offering, Product X. That Contributor is then a Commercial
+ Contributor. If that Commercial Contributor then makes performance
+ claims, or offers warranties related to Product X, those performance
+ claims and warranties are such Commercial Contributor's responsibility
+ alone. Under this section, the Commercial Contributor would have to
+ defend claims against the other Contributors related to those performance
+ claims and warranties, and if a court requires any other Contributor to
+ pay any damages as a result, the Commercial Contributor must pay those
+ damages.
+
+ 5. NO WARRANTY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED
+ ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER
+ EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR
+ CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A
+ PARTICULAR PURPOSE. Each Recipient is solely responsible for determining
+ the appropriateness of using and distributing the Program and assumes
+ all risks associated with its exercise of rights under this Agreement,
+ including but not limited to the risks and costs of program errors,
+ compliance with applicable laws, damage to or loss of data, programs or
+ equipment, and unavailability or interruption of operations.
+
+ 6. DISCLAIMER OF LIABILITY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR
+ ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
+ WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION
+ OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ 7. GENERAL
+
+ If any provision of this Agreement is invalid or unenforceable under
+ applicable law, it shall not affect the validity or enforceability of
+ the remainder of the terms of this Agreement, and without further action
+ by the parties hereto, such provision shall be reformed to the minimum
+ extent necessary to make such provision valid and enforceable.
+
+ If Recipient institutes patent litigation against a Contributor with
+ respect to a patent applicable to software (including a cross-claim or
+ counterclaim in a lawsuit), then any patent licenses granted by that
+ Contributor to such Recipient under this Agreement shall terminate
+ as of the date such litigation is filed. In addition, If Recipient
+ institutes patent litigation against any entity (including a cross-claim
+ or counterclaim in a lawsuit) alleging that the Program itself (excluding
+ combinations of the Program with other software or hardware) infringes
+ such Recipient's patent(s), then such Recipient's rights granted under
+ Section 2(b) shall terminate as of the date such litigation is filed.
+
+ All Recipient's rights under this Agreement shall terminate if it fails
+ to comply with any of the material terms or conditions of this Agreement
+ and does not cure such failure in a reasonable period of time after
+ becoming aware of such noncompliance. If all Recipient's rights under
+ this Agreement terminate, Recipient agrees to cease use and distribution
+ of the Program as soon as reasonably practicable. However, Recipient's
+ obligations under this Agreement and any licenses granted by Recipient
+ relating to the Program shall continue and survive.
+
+ IBM may publish new versions (including revisions) of this Agreement
+ from time to time. Each new version of the Agreement will be given a
+ distinguishing version number. The Program (including Contributions)
+ may always be distributed subject to the version of the Agreement under
+ which it was received. In addition, after a new version of the Agreement
+ is published, Contributor may elect to distribute the Program (including
+ its Contributions) under the new version. No one other than IBM has the
+ right to modify this Agreement. Except as expressly stated in Sections
+ 2(a) and 2(b) above, Recipient receives no rights or licenses to the
+ intellectual property of any Contributor under this Agreement, whether
+ expressly, by implication, estoppel or otherwise. All rights in the
+ Program not expressly granted under this Agreement are reserved.
+
+ This Agreement is governed by the laws of the State of New York and the
+ intellectual property laws of the United States of America. No party to
+ this Agreement will bring a legal action under this Agreement more than
+ one year after the cause of action arose. Each party waives its rights
+ to a jury trial in any resulting litigation.
+
+The following license applies to rmail, distributed with Postfix:
+
+ SENDMAIL LICENSE
+
+ The following license terms and conditions apply, unless a different
+ license is obtained from Sendmail, Inc., 6425 Christie Ave, Fourth Floor,
+ Emeryville, CA 94608, or by electronic mail at license@sendmail.com.
+
+ License Terms:
+
+ Use, Modification and Redistribution (including distribution of any
+ modified or derived work) in source and binary forms is permitted only if
+ each of the following conditions is met:
+
+ 1. Redistributions qualify as "freeware" or "Open Source Software" under
+ one of the following terms:
+
+ (a) Redistributions are made at no charge beyond the reasonable cost of
+ materials and delivery.
+
+ (b) Redistributions are accompanied by a copy of the Source Code or by an
+ irrevocable offer to provide a copy of the Source Code for up to three
+ years at the cost of materials and delivery. Such redistributions
+ must allow further use, modification, and redistribution of the Source
+ Code under substantially the same terms as this license. For the
+ purposes of redistribution "Source Code" means the complete compilable
+ and linkable source code of sendmail including all modifications.
+
+ 2. Redistributions of source code must retain the copyright notices as they
+ appear in each source code file, these license terms, and the
+ disclaimer/limitation of liability set forth as paragraph 6 below.
+
+ 3. Redistributions in binary form must reproduce the Copyright Notice,
+ these license terms, and the disclaimer/limitation of liability set
+ forth as paragraph 6 below, in the documentation and/or other materials
+ provided with the distribution. For the purposes of binary distribution
+ the "Copyright Notice" refers to the following language:
+ "Copyright (c) 1998-2000 Sendmail, Inc. All rights reserved."
+
+ 4. Neither the name of Sendmail, Inc. nor the University of California nor
+ the names of their contributors may be used to endorse or promote
+ products derived from this software without specific prior written
+ permission. The name "sendmail" is a trademark of Sendmail, Inc.
+
+ 5. All redistributions must comply with the conditions imposed by the
+ University of California on certain embedded code, whose copyright
+ notice and conditions for redistribution are as follows:
+
+ (a) Copyright (c) 1988, 1993 The Regents of the University of
+ California. All rights reserved.
+
+ (b) Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ (i) Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ (ii) Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ (iii) Neither the name of the University nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY
+ SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+ NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF
+ CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+The following license applies to postfix-add-filter, postfix-add-filter.1,
+postfix-add-policy, and postfix-add-policy.1:
+
+ Copyright (c) 2008 Scott Kitterman
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ OTHER DEALINGS IN THE SOFTWARE.
+
+ $Revision: 1.1.4.3 $, Last updated $Date: 2003/07/23 16:13:15 $
+
--- postfix-2.5.5.orig/debian/update-libc.d
+++ postfix-2.5.5/debian/update-libc.d
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+# make sure we're still here...
+[ -x /usr/sbin/postconf ] || exit 0
+
+cp /etc/resolv.conf $(/usr/sbin/postconf -h queue_directory)/etc/resolv.conf
+/etc/init.d/postfix reload >/dev/null 2>&1 || exit 0
+
+exit 0
--- postfix-2.5.5.orig/debian/postfix.dirs
+++ postfix-2.5.5/debian/postfix.dirs
@@ -0,0 +1,30 @@
+DEBIAN
+etc/init.d
+etc/ppp/ip-up.d
+etc/ppp/ip-down.d
+etc/network/if-up.d
+etc/network/if-down.d
+etc/postfix/sasl
+etc/rsyslog.d
+etc/ufw/applications.d
+usr/bin
+usr/sbin
+usr/lib/postfix
+usr/share/doc/postfix
+usr/share/man/man1
+usr/share/man/man5
+usr/share/man/man8
+usr/share/lintian/overrides
+usr/share/postfix
+etc/postfix
+etc/resolvconf/update-libc.d
+var/spool/postfix
+var/spool/postfix/dev
+var/spool/postfix/etc
+var/spool/postfix/lib
+var/spool/postfix/usr
+var/spool/postfix/usr/lib
+var/spool/postfix/usr/lib/zoneinfo
+var/spool/postfix/usr/lib/sasl2
+var/log
+var/lib/postfix
--- postfix-2.5.5.orig/debian/postfix-mysql.files
+++ postfix-2.5.5/debian/postfix-mysql.files
@@ -0,0 +1 @@
+usr/lib/postfix/dict_mysql.so
--- postfix-2.5.5.orig/debian/postfix.NEWS
+++ postfix-2.5.5/debian/postfix.NEWS
@@ -0,0 +1,18 @@
+postfix (2.4-20070123-1) experimental; urgency=low
+
+ As of this version, Debian's postfix defaults to matching upstream
+ behavior (introduced in postfix 2.0) in handling excessively long lines
+ in a message:
+ The Postfix SMTP client now breaks message header or body lines that
+ are longer than $smtp_line_length_limit characters (default: 990).
+ Earlier Postfix versions broke lines at $line_length_limit characters
+ (default: 2048). Postfix versions before 20010611 did not break long
+ lines at all. Reportedly, some mail servers refuse to receive mail
+ with lines that exceed the 1000 character limit that is specified by
+ the SMTP standard.
+
+ Those wishing the old behavior of never breaking lines should set
+ smtp_line_length_limit=0 in /etc/postfix/main.cf, and be aware that they
+ are not standard conformant.
+
+ -- LaMont Jones Wed, 24 Jan 2007 07:28:15 -0700
--- postfix-2.5.5.orig/debian/postfix-doc.copyright
+++ postfix-2.5.5/debian/postfix-doc.copyright
@@ -0,0 +1,318 @@
+This is the Debian GNU/Linux prepackaged version of Postfix, a mail transport
+agent.
+
+Postfix was created by Wietse Venema ; the Debian
+package has been assembled by LaMont Jones from sources
+available from http://www.postfix.org, and can be cloned from git via:
+ git clone git://git.debian.org/~lamont/postfix.git
+
+
+ Copyright (c) 1999, International Business Machines Corporation
+ and others. All Rights Reserved.
+
+The following copyright and license applies to this software:
+
+ IBM PUBLIC LICENSE VERSION 1.0 - SECURE MAILER
+
+ THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS IBM PUBLIC
+ LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE
+ PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+
+ 1. DEFINITIONS
+
+ "Contribution" means:
+ a) in the case of International Business Machines Corporation ("IBM"),
+ the Original Program, and
+ b) in the case of each Contributor,
+ i) changes to the Program, and
+ ii) additions to the Program;
+ where such changes and/or additions to the Program originate
+ from and are distributed by that particular Contributor.
+ A Contribution 'originates' from a Contributor if it was added
+ to the Program by such Contributor itself or anyone acting on
+ such Contributor's behalf.
+ Contributions do not include additions to the Program which:
+ (i) are separate modules of software distributed in conjunction
+ with the Program under their own license agreement, and
+ (ii) are not derivative works of the Program.
+
+ "Contributor" means IBM and any other entity that distributes the Program.
+
+ "Licensed Patents " mean patent claims licensable by a Contributor which
+ are necessarily infringed by the use or sale of its Contribution alone
+ or when combined with the Program.
+
+ "Original Program" means the original version of the software accompanying
+ this Agreement as released by IBM, including source code, object code
+ and documentation, if any.
+
+ "Program" means the Original Program and Contributions.
+
+ "Recipient" means anyone who receives the Program under this Agreement,
+ including all Contributors.
+
+ 2. GRANT OF RIGHTS
+
+ a) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free copyright
+ license to reproduce, prepare derivative works of, publicly display,
+ publicly perform, distribute and sublicense the Contribution of such
+ Contributor, if any, and such derivative works, in source code and
+ object code form.
+
+ b) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free patent
+ license under Licensed Patents to make, use, sell, offer to sell,
+ import and otherwise transfer the Contribution of such Contributor,
+ if any, in source code and object code form. This patent license
+ shall apply to the combination of the Contribution and the Program
+ if, at the time the Contribution is added by the Contributor, such
+ addition of the Contribution causes such combination to be covered
+ by the Licensed Patents. The patent license shall not apply to any
+ other combinations which include the Contribution. No hardware per
+ se is licensed hereunder.
+
+ c) Recipient understands that although each Contributor grants the
+ licenses to its Contributions set forth herein, no assurances are
+ provided by any Contributor that the Program does not infringe the
+ patent or other intellectual property rights of any other entity.
+ Each Contributor disclaims any liability to Recipient for claims
+ brought by any other entity based on infringement of intellectual
+ property rights or otherwise. As a condition to exercising the rights
+ and licenses granted hereunder, each Recipient hereby assumes sole
+ responsibility to secure any other intellectual property rights
+ needed, if any. For example, if a third party patent license
+ is required to allow Recipient to distribute the Program, it is
+ Recipient's responsibility to acquire that license before distributing
+ the Program.
+
+ d) Each Contributor represents that to its knowledge it has sufficient
+ copyright rights in its Contribution, if any, to grant the copyright
+ license set forth in this Agreement.
+
+ 3. REQUIREMENTS
+
+ A Contributor may choose to distribute the Program in object code form
+ under its own license agreement, provided that:
+ a) it complies with the terms and conditions of this Agreement; and
+ b) its license agreement:
+ i) effectively disclaims on behalf of all Contributors all
+ warranties and conditions, express and implied, including
+ warranties or conditions of title and non-infringement, and
+ implied warranties or conditions of merchantability and fitness
+ for a particular purpose;
+ ii) effectively excludes on behalf of all Contributors all
+ liability for damages, including direct, indirect, special,
+ incidental and consequential damages, such as lost profits;
+ iii) states that any provisions which differ from this Agreement
+ are offered by that Contributor alone and not by any other
+ party; and
+ iv) states that source code for the Program is available from
+ such Contributor, and informs licensees how to obtain it in a
+ reasonable manner on or through a medium customarily used for
+ software exchange.
+
+ When the Program is made available in source code form:
+ a) it must be made available under this Agreement; and
+ b) a copy of this Agreement must be included with each copy of the
+ Program.
+
+ Each Contributor must include the following in a conspicuous location
+ in the Program:
+
+ Copyright (c) 1997,1998,1999, International Business Machines
+ Corporation and others. All Rights Reserved.
+
+ In addition, each Contributor must identify itself as the originator of
+ its Contribution, if any, in a manner that reasonably allows subsequent
+ Recipients to identify the originator of the Contribution.
+
+ 4. COMMERCIAL DISTRIBUTION
+
+ Commercial distributors of software may accept certain responsibilities
+ with respect to end users, business partners and the like. While this
+ license is intended to facilitate the commercial use of the Program, the
+ Contributor who includes the Program in a commercial product offering
+ should do so in a manner which does not create potential liability for
+ other Contributors. Therefore, if a Contributor includes the Program in
+ a commercial product offering, such Contributor ("Commercial Contributor")
+ hereby agrees to defend and indemnify every other Contributor
+ ("Indemnified Contributor") against any losses, damages and costs
+ (collectively "Losses") arising from claims, lawsuits and other legal
+ actions brought by a third party against the Indemnified Contributor to
+ the extent caused by the acts or omissions of such Commercial Contributor
+ in connection with its distribution of the Program in a commercial
+ product offering. The obligations in this section do not apply to any
+ claims or Losses relating to any actual or alleged intellectual property
+ infringement. In order to qualify, an Indemnified Contributor must:
+ a) promptly notify the Commercial Contributor in writing of such claim,
+ and
+ b) allow the Commercial Contributor to control, and cooperate with
+ the Commercial Contributor in, the defense and any related
+ settlement negotiations. The Indemnified Contributor may
+ participate in any such claim at its own expense.
+
+ For example, a Contributor might include the Program in a commercial
+ product offering, Product X. That Contributor is then a Commercial
+ Contributor. If that Commercial Contributor then makes performance
+ claims, or offers warranties related to Product X, those performance
+ claims and warranties are such Commercial Contributor's responsibility
+ alone. Under this section, the Commercial Contributor would have to
+ defend claims against the other Contributors related to those performance
+ claims and warranties, and if a court requires any other Contributor to
+ pay any damages as a result, the Commercial Contributor must pay those
+ damages.
+
+ 5. NO WARRANTY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED
+ ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER
+ EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR
+ CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A
+ PARTICULAR PURPOSE. Each Recipient is solely responsible for determining
+ the appropriateness of using and distributing the Program and assumes
+ all risks associated with its exercise of rights under this Agreement,
+ including but not limited to the risks and costs of program errors,
+ compliance with applicable laws, damage to or loss of data, programs or
+ equipment, and unavailability or interruption of operations.
+
+ 6. DISCLAIMER OF LIABILITY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR
+ ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
+ WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION
+ OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ 7. GENERAL
+
+ If any provision of this Agreement is invalid or unenforceable under
+ applicable law, it shall not affect the validity or enforceability of
+ the remainder of the terms of this Agreement, and without further action
+ by the parties hereto, such provision shall be reformed to the minimum
+ extent necessary to make such provision valid and enforceable.
+
+ If Recipient institutes patent litigation against a Contributor with
+ respect to a patent applicable to software (including a cross-claim or
+ counterclaim in a lawsuit), then any patent licenses granted by that
+ Contributor to such Recipient under this Agreement shall terminate
+ as of the date such litigation is filed. In addition, If Recipient
+ institutes patent litigation against any entity (including a cross-claim
+ or counterclaim in a lawsuit) alleging that the Program itself (excluding
+ combinations of the Program with other software or hardware) infringes
+ such Recipient's patent(s), then such Recipient's rights granted under
+ Section 2(b) shall terminate as of the date such litigation is filed.
+
+ All Recipient's rights under this Agreement shall terminate if it fails
+ to comply with any of the material terms or conditions of this Agreement
+ and does not cure such failure in a reasonable period of time after
+ becoming aware of such noncompliance. If all Recipient's rights under
+ this Agreement terminate, Recipient agrees to cease use and distribution
+ of the Program as soon as reasonably practicable. However, Recipient's
+ obligations under this Agreement and any licenses granted by Recipient
+ relating to the Program shall continue and survive.
+
+ IBM may publish new versions (including revisions) of this Agreement
+ from time to time. Each new version of the Agreement will be given a
+ distinguishing version number. The Program (including Contributions)
+ may always be distributed subject to the version of the Agreement under
+ which it was received. In addition, after a new version of the Agreement
+ is published, Contributor may elect to distribute the Program (including
+ its Contributions) under the new version. No one other than IBM has the
+ right to modify this Agreement. Except as expressly stated in Sections
+ 2(a) and 2(b) above, Recipient receives no rights or licenses to the
+ intellectual property of any Contributor under this Agreement, whether
+ expressly, by implication, estoppel or otherwise. All rights in the
+ Program not expressly granted under this Agreement are reserved.
+
+ This Agreement is governed by the laws of the State of New York and the
+ intellectual property laws of the United States of America. No party to
+ this Agreement will bring a legal action under this Agreement more than
+ one year after the cause of action arose. Each party waives its rights
+ to a jury trial in any resulting litigation.
+
+The following license applies to rmail, distributed with Postfix:
+
+ SENDMAIL LICENSE
+
+ The following license terms and conditions apply, unless a different
+ license is obtained from Sendmail, Inc., 6425 Christie Ave, Fourth Floor,
+ Emeryville, CA 94608, or by electronic mail at license@sendmail.com.
+
+ License Terms:
+
+ Use, Modification and Redistribution (including distribution of any
+ modified or derived work) in source and binary forms is permitted only if
+ each of the following conditions is met:
+
+ 1. Redistributions qualify as "freeware" or "Open Source Software" under
+ one of the following terms:
+
+ (a) Redistributions are made at no charge beyond the reasonable cost of
+ materials and delivery.
+
+ (b) Redistributions are accompanied by a copy of the Source Code or by an
+ irrevocable offer to provide a copy of the Source Code for up to three
+ years at the cost of materials and delivery. Such redistributions
+ must allow further use, modification, and redistribution of the Source
+ Code under substantially the same terms as this license. For the
+ purposes of redistribution "Source Code" means the complete compilable
+ and linkable source code of sendmail including all modifications.
+
+ 2. Redistributions of source code must retain the copyright notices as they
+ appear in each source code file, these license terms, and the
+ disclaimer/limitation of liability set forth as paragraph 6 below.
+
+ 3. Redistributions in binary form must reproduce the Copyright Notice,
+ these license terms, and the disclaimer/limitation of liability set
+ forth as paragraph 6 below, in the documentation and/or other materials
+ provided with the distribution. For the purposes of binary distribution
+ the "Copyright Notice" refers to the following language:
+ "Copyright (c) 1998-2000 Sendmail, Inc. All rights reserved."
+
+ 4. Neither the name of Sendmail, Inc. nor the University of California nor
+ the names of their contributors may be used to endorse or promote
+ products derived from this software without specific prior written
+ permission. The name "sendmail" is a trademark of Sendmail, Inc.
+
+ 5. All redistributions must comply with the conditions imposed by the
+ University of California on certain embedded code, whose copyright
+ notice and conditions for redistribution are as follows:
+
+ (a) Copyright (c) 1988, 1993 The Regents of the University of
+ California. All rights reserved.
+
+ (b) Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ (i) Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ (ii) Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ (iii) Neither the name of the University nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY
+ SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+ NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF
+ CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ $Revision: 1.1.4.3 $, Last updated $Date: 2003/07/23 16:13:15 $
+
--- postfix-2.5.5.orig/debian/postfix-cdb.copyright
+++ postfix-2.5.5/debian/postfix-cdb.copyright
@@ -0,0 +1,318 @@
+This is the Debian GNU/Linux prepackaged version of Postfix, a mail transport
+agent.
+
+Postfix was created by Wietse Venema ; the Debian
+package has been assembled by LaMont Jones from sources
+available from http://www.postfix.org, and can be cloned from git via:
+ git clone git://git.debian.org/~lamont/postfix.git
+
+
+ Copyright (c) 1999, International Business Machines Corporation
+ and others. All Rights Reserved.
+
+The following copyright and license applies to this software:
+
+ IBM PUBLIC LICENSE VERSION 1.0 - SECURE MAILER
+
+ THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS IBM PUBLIC
+ LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE
+ PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+
+ 1. DEFINITIONS
+
+ "Contribution" means:
+ a) in the case of International Business Machines Corporation ("IBM"),
+ the Original Program, and
+ b) in the case of each Contributor,
+ i) changes to the Program, and
+ ii) additions to the Program;
+ where such changes and/or additions to the Program originate
+ from and are distributed by that particular Contributor.
+ A Contribution 'originates' from a Contributor if it was added
+ to the Program by such Contributor itself or anyone acting on
+ such Contributor's behalf.
+ Contributions do not include additions to the Program which:
+ (i) are separate modules of software distributed in conjunction
+ with the Program under their own license agreement, and
+ (ii) are not derivative works of the Program.
+
+ "Contributor" means IBM and any other entity that distributes the Program.
+
+ "Licensed Patents " mean patent claims licensable by a Contributor which
+ are necessarily infringed by the use or sale of its Contribution alone
+ or when combined with the Program.
+
+ "Original Program" means the original version of the software accompanying
+ this Agreement as released by IBM, including source code, object code
+ and documentation, if any.
+
+ "Program" means the Original Program and Contributions.
+
+ "Recipient" means anyone who receives the Program under this Agreement,
+ including all Contributors.
+
+ 2. GRANT OF RIGHTS
+
+ a) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free copyright
+ license to reproduce, prepare derivative works of, publicly display,
+ publicly perform, distribute and sublicense the Contribution of such
+ Contributor, if any, and such derivative works, in source code and
+ object code form.
+
+ b) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free patent
+ license under Licensed Patents to make, use, sell, offer to sell,
+ import and otherwise transfer the Contribution of such Contributor,
+ if any, in source code and object code form. This patent license
+ shall apply to the combination of the Contribution and the Program
+ if, at the time the Contribution is added by the Contributor, such
+ addition of the Contribution causes such combination to be covered
+ by the Licensed Patents. The patent license shall not apply to any
+ other combinations which include the Contribution. No hardware per
+ se is licensed hereunder.
+
+ c) Recipient understands that although each Contributor grants the
+ licenses to its Contributions set forth herein, no assurances are
+ provided by any Contributor that the Program does not infringe the
+ patent or other intellectual property rights of any other entity.
+ Each Contributor disclaims any liability to Recipient for claims
+ brought by any other entity based on infringement of intellectual
+ property rights or otherwise. As a condition to exercising the rights
+ and licenses granted hereunder, each Recipient hereby assumes sole
+ responsibility to secure any other intellectual property rights
+ needed, if any. For example, if a third party patent license
+ is required to allow Recipient to distribute the Program, it is
+ Recipient's responsibility to acquire that license before distributing
+ the Program.
+
+ d) Each Contributor represents that to its knowledge it has sufficient
+ copyright rights in its Contribution, if any, to grant the copyright
+ license set forth in this Agreement.
+
+ 3. REQUIREMENTS
+
+ A Contributor may choose to distribute the Program in object code form
+ under its own license agreement, provided that:
+ a) it complies with the terms and conditions of this Agreement; and
+ b) its license agreement:
+ i) effectively disclaims on behalf of all Contributors all
+ warranties and conditions, express and implied, including
+ warranties or conditions of title and non-infringement, and
+ implied warranties or conditions of merchantability and fitness
+ for a particular purpose;
+ ii) effectively excludes on behalf of all Contributors all
+ liability for damages, including direct, indirect, special,
+ incidental and consequential damages, such as lost profits;
+ iii) states that any provisions which differ from this Agreement
+ are offered by that Contributor alone and not by any other
+ party; and
+ iv) states that source code for the Program is available from
+ such Contributor, and informs licensees how to obtain it in a
+ reasonable manner on or through a medium customarily used for
+ software exchange.
+
+ When the Program is made available in source code form:
+ a) it must be made available under this Agreement; and
+ b) a copy of this Agreement must be included with each copy of the
+ Program.
+
+ Each Contributor must include the following in a conspicuous location
+ in the Program:
+
+ Copyright (c) 1997,1998,1999, International Business Machines
+ Corporation and others. All Rights Reserved.
+
+ In addition, each Contributor must identify itself as the originator of
+ its Contribution, if any, in a manner that reasonably allows subsequent
+ Recipients to identify the originator of the Contribution.
+
+ 4. COMMERCIAL DISTRIBUTION
+
+ Commercial distributors of software may accept certain responsibilities
+ with respect to end users, business partners and the like. While this
+ license is intended to facilitate the commercial use of the Program, the
+ Contributor who includes the Program in a commercial product offering
+ should do so in a manner which does not create potential liability for
+ other Contributors. Therefore, if a Contributor includes the Program in
+ a commercial product offering, such Contributor ("Commercial Contributor")
+ hereby agrees to defend and indemnify every other Contributor
+ ("Indemnified Contributor") against any losses, damages and costs
+ (collectively "Losses") arising from claims, lawsuits and other legal
+ actions brought by a third party against the Indemnified Contributor to
+ the extent caused by the acts or omissions of such Commercial Contributor
+ in connection with its distribution of the Program in a commercial
+ product offering. The obligations in this section do not apply to any
+ claims or Losses relating to any actual or alleged intellectual property
+ infringement. In order to qualify, an Indemnified Contributor must:
+ a) promptly notify the Commercial Contributor in writing of such claim,
+ and
+ b) allow the Commercial Contributor to control, and cooperate with
+ the Commercial Contributor in, the defense and any related
+ settlement negotiations. The Indemnified Contributor may
+ participate in any such claim at its own expense.
+
+ For example, a Contributor might include the Program in a commercial
+ product offering, Product X. That Contributor is then a Commercial
+ Contributor. If that Commercial Contributor then makes performance
+ claims, or offers warranties related to Product X, those performance
+ claims and warranties are such Commercial Contributor's responsibility
+ alone. Under this section, the Commercial Contributor would have to
+ defend claims against the other Contributors related to those performance
+ claims and warranties, and if a court requires any other Contributor to
+ pay any damages as a result, the Commercial Contributor must pay those
+ damages.
+
+ 5. NO WARRANTY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED
+ ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER
+ EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR
+ CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A
+ PARTICULAR PURPOSE. Each Recipient is solely responsible for determining
+ the appropriateness of using and distributing the Program and assumes
+ all risks associated with its exercise of rights under this Agreement,
+ including but not limited to the risks and costs of program errors,
+ compliance with applicable laws, damage to or loss of data, programs or
+ equipment, and unavailability or interruption of operations.
+
+ 6. DISCLAIMER OF LIABILITY
+
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR
+ ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
+ WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION
+ OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ 7. GENERAL
+
+ If any provision of this Agreement is invalid or unenforceable under
+ applicable law, it shall not affect the validity or enforceability of
+ the remainder of the terms of this Agreement, and without further action
+ by the parties hereto, such provision shall be reformed to the minimum
+ extent necessary to make such provision valid and enforceable.
+
+ If Recipient institutes patent litigation against a Contributor with
+ respect to a patent applicable to software (including a cross-claim or
+ counterclaim in a lawsuit), then any patent licenses granted by that
+ Contributor to such Recipient under this Agreement shall terminate
+ as of the date such litigation is filed. In addition, If Recipient
+ institutes patent litigation against any entity (including a cross-claim
+ or counterclaim in a lawsuit) alleging that the Program itself (excluding
+ combinations of the Program with other software or hardware) infringes
+ such Recipient's patent(s), then such Recipient's rights granted under
+ Section 2(b) shall terminate as of the date such litigation is filed.
+
+ All Recipient's rights under this Agreement shall terminate if it fails
+ to comply with any of the material terms or conditions of this Agreement
+ and does not cure such failure in a reasonable period of time after
+ becoming aware of such noncompliance. If all Recipient's rights under
+ this Agreement terminate, Recipient agrees to cease use and distribution
+ of the Program as soon as reasonably practicable. However, Recipient's
+ obligations under this Agreement and any licenses granted by Recipient
+ relating to the Program shall continue and survive.
+
+ IBM may publish new versions (including revisions) of this Agreement
+ from time to time. Each new version of the Agreement will be given a
+ distinguishing version number. The Program (including Contributions)
+ may always be distributed subject to the version of the Agreement under
+ which it was received. In addition, after a new version of the Agreement
+ is published, Contributor may elect to distribute the Program (including
+ its Contributions) under the new version. No one other than IBM has the
+ right to modify this Agreement. Except as expressly stated in Sections
+ 2(a) and 2(b) above, Recipient receives no rights or licenses to the
+ intellectual property of any Contributor under this Agreement, whether
+ expressly, by implication, estoppel or otherwise. All rights in the
+ Program not expressly granted under this Agreement are reserved.
+
+ This Agreement is governed by the laws of the State of New York and the
+ intellectual property laws of the United States of America. No party to
+ this Agreement will bring a legal action under this Agreement more than
+ one year after the cause of action arose. Each party waives its rights
+ to a jury trial in any resulting litigation.
+
+The following license applies to rmail, distributed with Postfix:
+
+ SENDMAIL LICENSE
+
+ The following license terms and conditions apply, unless a different
+ license is obtained from Sendmail, Inc., 6425 Christie Ave, Fourth Floor,
+ Emeryville, CA 94608, or by electronic mail at license@sendmail.com.
+
+ License Terms:
+
+ Use, Modification and Redistribution (including distribution of any
+ modified or derived work) in source and binary forms is permitted only if
+ each of the following conditions is met:
+
+ 1. Redistributions qualify as "freeware" or "Open Source Software" under
+ one of the following terms:
+
+ (a) Redistributions are made at no charge beyond the reasonable cost of
+ materials and delivery.
+
+ (b) Redistributions are accompanied by a copy of the Source Code or by an
+ irrevocable offer to provide a copy of the Source Code for up to three
+ years at the cost of materials and delivery. Such redistributions
+ must allow further use, modification, and redistribution of the Source
+ Code under substantially the same terms as this license. For the
+ purposes of redistribution "Source Code" means the complete compilable
+ and linkable source code of sendmail including all modifications.
+
+ 2. Redistributions of source code must retain the copyright notices as they
+ appear in each source code file, these license terms, and the
+ disclaimer/limitation of liability set forth as paragraph 6 below.
+
+ 3. Redistributions in binary form must reproduce the Copyright Notice,
+ these license terms, and the disclaimer/limitation of liability set
+ forth as paragraph 6 below, in the documentation and/or other materials
+ provided with the distribution. For the purposes of binary distribution
+ the "Copyright Notice" refers to the following language:
+ "Copyright (c) 1998-2000 Sendmail, Inc. All rights reserved."
+
+ 4. Neither the name of Sendmail, Inc. nor the University of California nor
+ the names of their contributors may be used to endorse or promote
+ products derived from this software without specific prior written
+ permission. The name "sendmail" is a trademark of Sendmail, Inc.
+
+ 5. All redistributions must comply with the conditions imposed by the
+ University of California on certain embedded code, whose copyright
+ notice and conditions for redistribution are as follows:
+
+ (a) Copyright (c) 1988, 1993 The Regents of the University of
+ California. All rights reserved.
+
+ (b) Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ (i) Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ (ii) Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ (iii) Neither the name of the University nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ 6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY
+ SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+ NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF
+ CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+ $Revision: 1.1.4.3 $, Last updated $Date: 2003/07/23 16:13:15 $
+
--- postfix-2.5.5.orig/debian/control
+++ postfix-2.5.5/debian/control
@@ -0,0 +1,84 @@
+Source: postfix
+Section: mail
+Priority: extra
+Maintainer: LaMont Jones
+Standards-Version: 3.7.2.0
+Build-Depends: debhelper (>= 4.1.16), po-debconf (>= 0.5.0), groff-base, patch, lsb-release, libdb-dev (>=4.6.19), libldap2-dev (>=2.1), libpcre3-dev, libmysqlclient15-dev|libmysqlclient14-dev, libssl-dev (>=0.9.7), libsasl2-dev, libpq-dev, libcdb-dev | tinycdb, hardening-wrapper
+XS-Vcs-Browser: http://git.debian.org/?p=users/lamont/postfix.git
+XS-Vcs-Git: git://git.debian.org/~lamont/postfix.git
+
+Package: postfix
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, netbase, adduser (>=3.48), dpkg (>= 1.8.3), lsb-base (>=3.0-6), ssl-cert
+Replaces: postfix-tls, mail-transport-agent
+Suggests: procmail, postfix-mysql, postfix-pgsql, postfix-ldap, postfix-pcre, sasl2-bin, libsasl2-modules, resolvconf, postfix-cdb, mail-reader, ufw
+Conflicts: mail-transport-agent, smail, libnss-db (<< 2.2-3), postfix-tls
+Provides: mail-transport-agent, postfix-tls
+Description: High-performance mail transport agent
+ ${Description}
+
+Package: postfix-ldap
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, postfix (= ${binary:Version})
+Description: LDAP map support for Postfix
+ ${Description}
+ .
+ This provides support for LDAP maps in Postfix. If you plan to use LDAP maps
+ with Postfix, you need this.
+
+Package: postfix-cdb
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, postfix (= ${binary:Version})
+Description: CDB map support for Postfix
+ ${Description}
+ .
+ This provides support for CDB (constant database) maps in Postfix. If you
+ plan to use CDB maps with Postfix, you need this.
+
+Package: postfix-pcre
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, postfix (= ${binary:Version})
+Description: PCRE map support for Postfix
+ ${Description}
+ .
+ This provides support for PCRE (perl compatible regular expression) maps in
+ Postfix. If you plan to use PCRE maps with Postfix, you need this.
+
+Package: postfix-mysql
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, postfix (= ${binary:Version})
+Description: MySQL map support for Postfix
+ ${Description}
+ .
+ This provides support for MySQL maps in Postfix. If you plan to use MySQL
+ maps with Postfix, you need this.
+
+Package: postfix-pgsql
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, postfix (= ${binary:Version})
+Description: PostgreSQL map support for Postfix
+ ${Description}
+ .
+ This provides support for PostgreSQL maps in Postfix. If you plan to use
+ PostgreSQL maps with Postfix, you need this.
+
+Package: postfix-dev
+Architecture: all
+Section: devel
+Depends: postfix (>= ${Upstream}-0), postfix (<< ${Upstream}.0-0)
+Description: Loadable modules development environment for Postfix
+ ${Description}
+ .
+ This provides the headers and library links to build additional map
+ types for Postfix. If you're not developing postfix modules, then you
+ do not need this.
+
+Package: postfix-doc
+Architecture: all
+Section: doc
+Suggests: postfix
+Replaces: postfix-tls
+Description: Documentation for Postfix
+ ${Description}
+ .
+ This package provides the documentation for Postfix.
--- postfix-2.5.5.orig/debian/changelog
+++ postfix-2.5.5/debian/changelog
@@ -0,0 +1,2846 @@
+postfix (2.5.5-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Add rsyslog.d config snipped to create a /dev/log syslog socket in the
+ postfix chroot. Also, add a note about other syslog daemons to
+ README.Debian. Closes: #311812
+
+ -- Christoph Berg Sun, 07 Sep 2008 14:02:15 +0200
+
+postfix (2.5.5-1) unstable; urgency=low
+
+ [Wietse Venema]
+
+ * local file descriptor leak with 2.6 kernels and epoll.
+
+ -- LaMont Jones Tue, 02 Sep 2008 07:20:37 -0600
+
+postfix (2.5.4-2) unstable; urgency=low
+
+ [Nicolas Valcárcel]
+
+ * Add ufw integration (from 2.5.4-1ubuntu2)
+
+ [LaMont Jones]
+
+ * mail_params: drop relay_domains from default
+ parent_domain_matches_subdomains. LP: #242383
+
+ [Kees Cook]
+
+ * debian/{control,rules}: enable PIE hardening (from 2.5.4-1ubuntu1)
+
+ [Scott Kitterman]
+
+ * Add postfix-add-{filter,policy} scripts for easier integration of
+ same. LP: #247332
+
+ -- LaMont Jones Thu, 28 Aug 2008 22:25:32 -0600
+
+postfix (2.5.4-1) unstable; urgency=low
+
+ [Wietse Venema]
+
+ * New upstream release:
+ - Bugfix: dangling pointer in vstring_sprintf_prepend()
+ - Harden delivery to symlink destinations. CVE-2008-2936
+
+ -- LaMont Jones Wed, 13 Aug 2008 21:21:10 -0600
+
+postfix (2.5.3-1) unstable; urgency=low
+
+ [Wietse Venema]
+
+ * new upstream
+ - Bugfix: null-terminate CN comment string after sanitization.
+ - Workaround: avoid "bad address pattern" errors with non-address
+ patterns in namadr_list_match() calls.
+ - Bugfix (introduced 20080207): "cleanup -v" panic because
+ the new "SMTP reply" request flag did not have a printable
+ name.
+ - Cleanup: using "Before-queue content filter", RFC3848
+ information was not added to the headers. Carlos Velasco.
+ - Cleanup: a poorly-implemented integer overflow check for
+ TCP MSS calculation had the unexpected effect that people
+ broke Postfix on LP64 systems while attempting to silence
+ a compiler warning.
+ - Paranoia: defer delivery when a mailbox file is not owned
+ by the recipient. Requested by Sebastian Krahmer, SuSE.
+ Specify "strict_mailbox_ownership=no" to ignore ownership
+ discrepancies.
+
+ [LaMont Jones]
+
+ * config: use inet_protocols from main.cf if set. Closes: #486141
+
+ [localization folks]
+
+ * l10n: Swedish debconf templates. Closes: #491425 (Martin Ã…gren)
+
+ -- LaMont Jones Tue, 12 Aug 2008 10:29:50 -0600
+
+postfix (2.5.2-2) unstable; urgency=low
+
+ [localization folks]
+
+ * l10n: Catalan debconf template update. Closes: #490112 (Jordà Polo)
+ * l10n: Vietnamese debconf templates translation update. Closes: #483653
+ (Clytie Siddall)
+ * l10n: Korean postfix debconf PO translation update. Closes: #484844
+ (Sunjae Park)
+ * l10n: Updated Japanese translations. Closes: #483511 (Kenshi Muto)
+ * l10n: Updated Russian translations (Sergey Alyoshin)
+ * l10n: Updated German translations. Closes: #483648 (Helge Kreutzmann)
+ * l10n: Updated Finnish translation (Tommi Vainikainen)
+ * l10n: Updated Dutch po-debconf translation. Closes: #483652 (cobaco (aka
+ Bart Cornelis))
+ * l10n: French debconf templates translation update. Closes: #483835
+ (Christian Perrier)
+ * l10n: Galician debconf template translation for postfix. Closes: #483720
+ (Jacobo Tarrio)
+ * l10n: updated Czech translations. Closes: #483978 (Miroslav Kure)
+ * l10n: Portuguese translation for postfix's debconf messages (Miguel
+ Figueiredo)
+ * l10n: Updated Portuguese translation. Closes: #488052 (Traduz -
+ Portuguese Translation Team)
+ * l10n: updated Italian translations. (Cristian Rigamonti)
+
+ -- LaMont Jones Thu, 10 Jul 2008 09:54:27 -0600
+
+postfix (2.5.2-1) unstable; urgency=low
+
+ [Kenshi Muto]
+
+ * l10n: updated Japanese debconf translation
+
+ [Piarres Beobide]
+
+ * l10n: Basque translation. Closes: #483238
+
+ [LaMont Jones]
+
+ * postinst/init.d: blacklist common misconfiguration values for myorigin
+ * config: if myorigin is blacklisted, set to default and prompt
+ * debconf: allow ==default== as an answer for myorigin, to help with
+ preseeding.
+ * update template to better explain mailname.
+
+ -- LaMont Jones Thu, 29 May 2008 19:58:30 -0600
+
+postfix (2.5.2-0) unstable; urgency=low
+
+ [Wietse Venema]
+
+ * New upstream release
+
+ [Sergey Alyoshin]
+
+ * l10n: Po debconf Russian translation. Closes: #479776
+
+ [LaMont Jones]
+
+ * meta: fix changelog
+ * finish cherrypick of 2.5.2~rc2 fixes.
+ * lintian: don't depend on a -1 version of a package
+ * meta: fix MySQL/PostgreSQL spelling
+ * doc-base: change to Network/Communication
+
+ [Rudy Godoy Guillén]
+
+ * l10n: Spanish debconf translation update. Closes: #480750
+
+ [Michel Grentzinger]
+
+ * l10n: french debconf templates update. Closes: #468392
+
+ [Jacobo Tarrio]
+
+ * l10n: new Galacian translations. Closes: #480973
+
+ [Miroslav Kure]
+
+ * l10n: updated Czech (cs.po). Closes: #480927
+
+ -- LaMont Jones Wed, 14 May 2008 21:30:25 -0600
+
+postfix (2.5.1-2ubuntu1) hardy; urgency=low
+
+ * (2.5.2-0 or later contains all these fixes.)
+
+ [ LaMont Jones]
+
+ * cherry-pick upstream fixes
+ - bounce: segv on one-line template text.
+ - sasl: enforce mechanism output filter on client command input.
+ - milter-app callbacks didn't receive {mail_addr} or {rcpt_addr}
+ information
+ - warn_if_reject reject_unlisted_recipient/sender worked incorrectly
+ - qmgr was incorrectly initializing client logging attributes
+
+ [Michel Grentzinger]
+
+ * l10n: french debconf templates update. Closes: #468392
+
+ -- LaMont Jones Tue, 15 Apr 2008 21:55:08 -0600
+
+postfix (2.5.2~rc2-1) unstable; urgency=low
+
+ [Wietse Venema]
+
+ * Upstream changes, including:
+ - bounce: segv on one-line template text.
+ - sasl: enforce mechanism output filter on client command input.
+
+ -- LaMont Jones Mon, 14 Apr 2008 09:20:11 -0600
+
+postfix (2.5.1-2) unstable; urgency=low
+
+ [Michael Vogt]
+
+ * postfix-doc: run postconf only if there is a main.cf available. LP: #203849
+
+ [LaMont Jones]
+
+ * main.cf.tls: put cache files in the right directory. LP: #207526
+
+ [cobaco (aka Bart Cornelis)]
+
+ * l10n: new nl.po. Closes: #467538
+
+ -- LaMont Jones Wed, 02 Apr 2008 07:15:03 -0600
+
+postfix (2.5.1-1) unstable; urgency=low
+
+ [Helge Kreutzmann]
+
+ * l10n: new de.po. Closes: #465479
+
+ [Wietse Venema]
+
+ * New upstream release
+
+ [LaMont Jones]
+
+ * rules: add msg-email target
+
+ -- LaMont Jones Thu, 21 Feb 2008 22:17:18 -0700
+
+postfix (2.5.1~rc1-1) unstable; urgency=low
+
+ [Scott Kitterman]
+
+ * Add IPv6 loopback addresses to default mynetworks in debian/templates. Closes: #345047
+
+ [Benjamin Sonntag]
+
+ * SSL certs are needed by the (chrooted) smtp and smtpd processes. Closes: #444951
+
+ [Wietse Venema]
+
+ * 2.5.1~rc1
+
+ [LaMont Jones]
+
+ * postconf.5: myhostname documenation unclear. LP: #180551
+ * postinst: also set relay_transport=error on Local Only systems
+ * new template
+
+ [Miguel Figueiredo]
+
+ * l10n: new pt.po. Closes: #463188
+
+ -- LaMont Jones Fri, 08 Feb 2008 23:47:04 -0700
+
+postfix (2.4.7-1) unstable; urgency=low
+
+ [Wietse Venema]
+
+ * backport of several fixes from 2.5.0
+
+ [LaMont Jones]
+
+ * Package-n-upload
+
+ -- LaMont Jones Fri, 01 Feb 2008 15:27:31 -0700
+
+postfix (2.5.0-1) experimental; urgency=low
+
+ [Sergey Alyoshin]
+
+ * l10n: new ru.po
+
+ [Clytie Siddall]
+
+ * l10n: new vi.po
+
+ [LaMont Jones]
+
+ * init.d: running check should handle prelinked systems. Closes: #456940
+ * install/upgrade: suppress 'Unknown host' errors. Closes: #259097
+ * rules: suppress command output in msgstats target.
+ * l10n: dropped quote char in it.po
+ * postinst: set default transport to error on 'Local only' systems.
+
+ [Kenshi Muto]
+
+ * l10n: new ja.po. Closes: #462187
+
+ [Jordà Polo]
+
+ * l10n: New Catalan ca.po. Closes: #461803
+
+ [cobaco (aka Bart Cornelis)]
+
+ * l10n: new nl.po
+
+ [Jacobo Tarrio]
+
+ * l10n: new gl.po. Closes: #461777
+
+ [Tirumurti Vasudevan]
+
+ * l10n: Updated Tamil translations. Closes: #461840
+
+ [Cristian Rigamonti]
+
+ * l10n: new it.po. Closes: #461791
+
+ [Wietse Venema]
+
+ * 2.5.0
+
+ [Sunjae Park]
+
+ * l10n: new ko.po. Closes: #462195
+
+ -- LaMont Jones Thu, 24 Jan 2008 21:55:59 -0700
+
+postfix (2.4.6-5) unstable; urgency=low
+
+ [Sergey Alyoshin]
+
+ * l10n: new ru.po
+
+ [Clytie Siddall]
+
+ * l10n: new vi.po
+
+ [Sunjae Park]
+
+ * l10n: new ko.po. Closes: #462195
+
+ [LaMont Jones]
+
+ * Deliver /var/spool/postfix/usr/lib/sasl2. Closes: #426338
+ * init.d: running check should handle prelinked systems. Closes: #456940
+ * install/upgrade: suppress 'Unknown host' errors. Closes: #259097
+ * rules: suppress command output in msgstats target.
+ * l10n: dropped quote char in it.po
+ * postinst: set default transport to error on 'Local only' systems.
+
+ [Jordà Polo]
+
+ * l10n: New Catalan ca.po. Closes: #461803
+
+ [Jacobo Tarrio]
+
+ * l10n: new gl.po. Closes: #461777
+
+ [cobaco (aka Bart Cornelis)]
+
+ * l10n: new nl.po
+
+ [Michel Grentzinger]
+
+ * l10n: new fr.po. Closes: #460086
+
+ [Kenshi Muto]
+
+ * l10n: new ja.po. Closes: #462187
+
+ [Tirumurti Vasudevan]
+
+ * l10n: Updated Tamil translations. Closes: #461840
+
+ [Cristian Rigamonti]
+
+ * l10n: new it.po. Closes: #461791
+
+ -- LaMont Jones Thu, 24 Jan 2008 21:06:21 -0700
+
+postfix (2.5.0~rc2-1) experimental; urgency=low
+
+ [Wietse Venema]
+
+ * New upstream release
+
+ [LaMont Jones]
+
+ * lintian: eliminate warnings
+ * Deliver /var/spool/postfix/usr/lib/sasl2. Closes: #426338
+ * fix directory permissions on /var/lib/postfix at install
+
+ [Michel Grentzinger]
+
+ * l10n: new fr.po. Closes: #460086
+
+ -- LaMont Jones Sat, 19 Jan 2008 09:31:39 -0700
+
+postfix (2.4.6-4) unstable; urgency=low
+
+ [Piarres Beobide]
+
+ * l10n: New Basque translations. Closes: #457293
+
+ [LaMont Jones]
+
+ * control: drop deprecated Source-Version
+ * lintian: eliminate warnings
+ * postfix-doc cannot use postconf without checking for existance. LP: #173868
+
+ [Michel Grentzinger]
+
+ * l10n: French debconf templates translation update. Closes: #457452
+
+ -- LaMont Jones Tue, 18 Dec 2007 08:04:31 -0700
+
+postfix (2.5-20071224-1) experimental; urgency=low
+
+ * New upstream release
+
+ -- LaMont Jones Wed, 26 Dec 2007 17:41:11 -0700
+
+postfix (2.5-20071221-1) experimental; urgency=low
+
+ [Piarres Beobide]
+
+ * l10n: New Basque translations. Closes: #457293
+
+ [Wietse Venema]
+
+ * New upstream release
+
+ [LaMont Jones]
+
+ * control: drop deprecated Source-Version
+ * lintian: eliminate warnings
+
+ [Michel Grentzinger]
+
+ * l10n: French debconf templates translation update. Closes: #457452
+
+ -- LaMont Jones Sat, 22 Dec 2007 20:48:28 -0700
+
+postfix (2.5-20071216-1) experimental; urgency=low
+
+ [Wietse Venema]
+ * New upstream release
+
+ -- LaMont Jones Mon, 17 Dec 2007 22:20:30 -0700
+
+postfix (2.5-20071213-1) experimental; urgency=low
+
+ * New upstream version
+
+ -- LaMont Jones Fri, 14 Dec 2007 05:10:29 -0700
+
+postfix (2.5-20071208-1) experimental; urgency=low
+
+ * New upstream version.
+
+ [Helge Kreutzmann]
+
+ * l10n: German translations. Closes: #454337
+
+ [LaMont Jones]
+
+ * postinst: let postfix-doc exist without postconf. Closes: #453805
+ * control: cleanup ancient Replaces: cruft.
+
+ -- LaMont Jones Sun, 09 Dec 2007 18:33:28 -0700
+
+postfix (2.5-20071203-1) experimental; urgency=low
+
+ [Wietse Venema]
+
+ * New upstream
+
+ [Mike O'Connor]
+
+ * init.d: LSB compliance. Closes: #451595
+
+ -- LaMont Jones Sat, 01 Dec 2007 08:20:30 -0700
+
+postfix (2.4.6-3) unstable; urgency=low
+
+ [Helge Kreutzmann]
+
+ * l10n: German translations. Closes: #454337
+
+ [LaMont Jones]
+
+ * postinst: let postfix-doc exist without postconf. Closes: #453805
+ * control: cleanup ancient Replaces: cruft.
+
+ -- LaMont Jones Sat, 01 Dec 2007 08:20:30 -0700
+
+postfix (2.5-20071111-1) experimental; urgency=low
+
+ [Wietse Venema]
+
+ * New upstream release
+
+ [LaMont Jones]
+
+ * Merge 2.4.6-2 changes forward to 2.5 branch
+
+ -- LaMont Jones Mon, 12 Nov 2007 09:52:01 -0700
+
+postfix (2.5-20071006-1) experimental; urgency=low
+
+ * New upstream:
+ - smtp-sink: per-command delays
+ - Logging improvements
+ - *qmgr: it's OK when corrupt queue files are deleted before they can
+ be saved.
+ - flush: force atime update on per-dest logfile
+ - util: event_mask_drain() was missing event mask init
+ - and more.
+
+ -- LaMont Jones Sun, 07 Oct 2007 09:57:01 -0600
+
+postfix (2.5-20070911-1) experimental; urgency=low
+
+ * New upstream
+
+ -- LaMont Jones Tue, 11 Sep 2007 16:51:05 -0600
+
+postfix (2.5-20070824-2) experimental; urgency=low
+
+ * Switch to db4.6. Closes: #355434
+
+ -- LaMont Jones Fri, 31 Aug 2007 10:38:47 -0600
+
+postfix (2.5-20070824-1) experimental; urgency=low
+
+ * New upstream
+
+ -- LaMont Jones Thu, 30 Aug 2007 23:16:31 -0600
+
+postfix (2.4.6-2) unstable; urgency=low
+
+ [Jacobo Tarrio]
+
+ * l10n: new gl.po. Closes: #447931
+
+ [cobaco (aka Bart Cornelis)]
+
+ * l10n: new nl.po file. Closes: #447717
+
+ [Mike O'Connor]
+
+ * init.d: LSB compliance. Closes: #451595
+
+ [LaMont Jones]
+
+ * sys_defs.h: switch to using getifaddrs(3) with glibc 2.4 and later
+ * templates: add units to mailbox size question. LP: #35329
+ * main.cf: set {readme,html}_directory when postfix-doc is installed. LP: #135851
+ * postinst: add retry service as needed, which sadly changes templates again. LP: #172925
+
+ -- LaMont Jones Thu, 08 Nov 2007 21:20:05 -0700
+
+postfix (2.4.6-1) unstable; urgency=low
+
+ * New upstream:
+ - TLS client cert with unparsable canonical name -> assert
+ - util: event_mask_drain() was missing event mask init
+ - flush: force atime update on per-dest logfile
+
+ [LaMont Jones]
+
+ * l10n: no ca.po. Closes: #446400
+ * l10n: new ja.po. Closes: #446565
+
+ -- LaMont Jones Fri, 19 Oct 2007 00:15:41 -0600
+
+postfix (2.4.5-4) unstable; urgency=low
+
+ [ Wietse Venema ]
+ * smtpd: unparsable canonical name led to an assertion failure
+
+ [ LaMont Jones ]
+ * examples: add mailqfmt.pl in -doc. Closes: #440814
+ * l10n: updated French translations. Closes: #440525
+ * control: switch to db 4.6
+ * control: Document move to git repository location, add vcs-* fields to source
+ * copyright: document move to git.debian.org
+ * l10n: Updated german translations. Closes: #438414
+
+ -- LaMont Jones Tue, 11 Sep 2007 23:18:43 -0600
+
+postfix (2.4.5-3) unstable; urgency=low
+
+ * LFS file changes. Closes: #434851
+ * Typo in postconf.5. Closes: #426312.
+ * Catalan debconf templates translation update. Closes: #430852
+
+ -- LaMont Jones Wed, 15 Aug 2007 01:10:11 -0600
+
+postfix (2.4.5-2) unstable; urgency=low
+
+ * debconf script had some issues backing up. (LP: #43615)
+ * Suggest: mail-reader. Closes: #437937, #437938
+ * Only add postmaster alias one time. Closes: #436269
+ * Don't allow multiple relay hosts. Closes: #433321
+
+ -- LaMont Jones Tue, 14 Aug 2007 17:28:14 -0600
+
+postfix (2.5-20070731-0) experimental; urgency=low
+
+ * Latest snapshot release
+
+ -- LaMont Jones Thu, 2 Aug 2007 12:33:51 -0600
+
+postfix (2.4.5-1) unstable; urgency=low
+
+ * New upstream
+ - various milter fixes
+ - performance improvements on loopback smtp connections
+ * Merge changes from Ubuntu
+ - debian/postfix.postinst:
+ - Rename fallback_relay to smtp_fallback_relay in generated master.cf
+ (LP: #121823)
+ - debian/update-libc:
+ - Don't raise an error if Postfix isn't running yet (LP: #41302)
+ * Korean debconf template. Closes: #430752
+ * Move postfix into git: git://kernel.ubuntu.com/lamont/postfix.git
+ * Drop dpatch use.
+
+ -- LaMont Jones Tue, 31 Jul 2007 21:56:24 -0600
+
+postfix (2.4.3-1) unstable; urgency=low
+
+ * New upstream version
+ * Cleanup merge markers in changelog. Closes: #420411
+ * Remove stale code in preinst. Upgrading from pre-sarge versions no
+ longer works. Closes: #420413
+ * Template file overhaul to go with stale code removal, and translations
+ Closes: #420156, #422339, #422975, #423110, #423367, #423876, #423878,
+ #423894, #424689, #424762, #425411, #425682, #425980, #426052, #426214,
+ #426329, #426833
+
+ -- LaMont Jones Fri, 1 Jun 2007 23:14:55 -0600
+
+postfix (2.4.0-3) unstable; urgency=low
+
+ * Have preinst get user approval before installing (and being broken) on a
+ pre-2.6 kernel. Closes: #417530
+
+ -- LaMont Jones Sun, 15 Apr 2007 16:00:44 -0600
+
+postfix (2.4.0-2) unstable; urgency=low
+
+ * TLS path should use ${config_directory}/sasl, not /etc/postfix/sasl.
+ * Drop libgdbm-dev, since it's not used anymore.
+ * switch back to libdb4.3, since libnss (and others?) haven't yet either.
+ Reopens: #355434. Closes: #416765, #416748
+
+ -- LaMont Jones Fri, 30 Mar 2007 08:41:30 -0600
+
+postfix (2.4.0-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- LaMont Jones Thu, 29 Mar 2007 12:24:22 -0600
+
+postfix (2.4.0~rc9-1) experimental; urgency=low
+
+ * new upstream version
+
+ -- LaMont Jones Mon, 26 Mar 2007 10:55:15 -0600
+
+postfix (2.4.0~rc8-1) experimental; urgency=low
+
+ * New upstream version
+ * Merge 2.3.8-3 parts
+ - No need to call lsb_release during init
+
+ -- LaMont Jones Sat, 24 Mar 2007 09:43:19 -0600
+
+postfix (2.3.8-3) unstable-UNRELEASED; urgency=low
+
+ * No need to call lsb_release during init.d
+
+ -- LaMont Jones Sat, 24 Mar 2007 09:39:45 -0600
+
+postfix (2.4.0~rc7-1) experimental; urgency=low
+
+ * New upstream version
+
+ -- LaMont Jones Wed, 21 Mar 2007 12:00:43 -0600
+
+postfix (2.4.0~rc6-1) experimental; urgency=low
+
+ * New upstream version
+
+ -- LaMont Jones Mon, 19 Mar 2007 07:14:06 -0600
+
+postfix (2.4.0~rc5-1) experimental; urgency=low
+
+ * New upstream version
+ * Merge 2.3.8-2 released bits.
+
+ -- LaMont Jones Tue, 13 Mar 2007 08:02:36 -0600
+
+postfix (2.4.0~rc4-1) experimental; urgency=low
+
+ * New upstream version.
+ * Merge from unstable as below. Closes: #414392
+
+ -- LaMont Jones Mon, 12 Mar 2007 12:09:59 -0600
+
+postfix (2.3.8-2) unstable; urgency=low
+
+ * Updated Czech debconf template. Closes: #414392
+
+ -- LaMont Jones Mon, 12 Mar 2007 22:42:23 -0600
+
+postfix (2.3.8-1) unstable; urgency=low
+
+ * New upstream version:
+ - Workaround: GNU POP3D creates a new mailbox and deletes the
+ old one. Postfix now backs off and retries delivery later,
+ instead of appending mail to a deleted file. File:
+ global/mbox_open.c.
+ - Workaround: Disable SSL/TLS ciphers when the underlying
+ symmetric algorithm is not available in the OpenSSL crypto
+ library at the required bit strength. Problem observed with
+ SunOS 5.10's bundled OpenSSL 0.9.7 and AES 256. Also possible
+ with OpenSSL 0.9.8 and CAMELLIA 256. Root cause fixed in
+ upcoming OpenSSL 0.9.7m, 0.9.8e and 0.9.9 releases. Victor
+ Duchovni, Morgan Stanley. Files: src/smtp/smtp_proto.c,
+ src/smtpd/smtpd.c, src/tls/tls.h, src/tls/tls_client.c,
+ src/tls/tls_misc.c and src/tls/tls_server.c.
+ * Correct check for new (empty) answer to root alias debconf question.
+ Introduced in 2.3.6-2. Closes: #413610, #413086
+
+ -- LaMont Jones Fri, 2 Mar 2007 16:12:26 -0700
+
+postfix (2.4.0~rc2-1) experimental; urgency=low
+
+ * New upstream version
+ * merge 2.3.7-4
+ * Switch to libdb4.5. Closes: #355434
+
+ -- LaMont Jones Fri, 2 Mar 2007 11:11:11 -0700
+
+postfix (2.4-20070224-1) experimental; urgency=low
+
+ * New upstream
+
+ -- LaMont Jones Mon, 5 Mar 2007 21:43:22 -0700
+
+postfix (2.3.7-4) unstable; urgency=low
+
+ * New russian, portugese, spanish, galician debconf templates.
+ Closes: #411941, #412205, #412413, #412494
+
+ -- LaMont Jones Mon, 26 Feb 2007 14:04:32 -0700
+
+postfix (2.3.7-3) unstable; urgency=low
+
+ * Really fix update-inetd's verboseness, by running it after dh_stop.
+ Closes: #410871
+
+ -- LaMont Jones Wed, 14 Feb 2007 21:41:37 -0700
+
+postfix (2.3.7-2) unstable; urgency=low
+
+ * Don't let update-inetd spew garbage to debconf. Closes: #410871
+
+ -- LaMont Jones Tue, 13 Feb 2007 21:47:27 -0700
+
+postfix (2.3.7-1) unstable; urgency=low
+
+ * New upstream version
+ - Bugfix (introduced Postfix 2.3): when creating an alias map
+ on a NIS-enabled system, don't case-fold the YP_MASTER_NAME
+ and YP_LAST_MODIFIED lookup keys. This requires that an
+ application can turn off case folding on the fly. This is
+ a point fix. A complete fix requires updates to other map
+ types and to the proxymap protocol, which is too much change
+ for a stable release.
+ - Bugfix (introduced 20011008): after return from a nested
+ access restriction, possible longjump into exited stack
+ frame upon configuration error or table lookup error.
+ - Workaround: don't insert empty-line header/body separator
+ into malformed MIME attachments, to avoid breaking digital
+ signatures. This change introduces ambiguity. Postfix still
+ treats the remainder of the attachment as body content;
+ header_checks rules will not detect forbidden MIME types
+ inside a message/rfc822 attachment. With the empty-line
+ header/body separator no longer inserted by Postfix, other
+ software may process the malformed attachment differently,
+ and thus may become exposed to forbidden MIME types. This
+ is back-ported from Postfix 2.4.
+ - Bugfix: match lists didn't implement ![ipv6address].
+ * New fr.po
+ * Updated postfix_groups.pl. Closes: #409009, #409010
+
+ -- LaMont Jones Wed, 31 Jan 2007 12:45:49 -0700
+
+postfix (2.3.6-2) unstable; urgency=low
+
+ * Fix preinst checking mydomain. Closes: #407790, #408089
+ * Deal with debconf silliness. Closes: #387646
+ * Don't directly call initscript in prerm.
+ * Updated Dutch, Czech, Galician templates. Closes: #407433, #407832, #407959
+ * Change the "I'm stupid enough to not want a root alias" answer from the
+ localization-problematic 'NONE' to the empty string, and mark it
+ non-translatable. Closes: #389675
+ - changes to ca.po, de.po, gl.po, ja.po, nl.po for same
+
+ -- LaMont Jones Tue, 23 Jan 2007 07:46:45 -0700
+
+postfix (2.4-20070218-1) experimental; urgency=low
+
+ * New upstream version
+
+ -- LaMont Jones Tue, 20 Feb 2007 18:29:37 -0700
+
+postfix (2.4-20070202-1) experimental; urgency=low
+
+ * New upstream version
+ - GNU/kFreeBSD case fix in makedefs. Closes: #409036
+
+ -- LaMont Jones Fri, 2 Feb 2007 22:21:40 -0700
+
+postfix (2.4-20070201-1) experimental; urgency=low
+
+ * New upstream release
+ - various fixes incorporated upstream. Removes: 10man, 10tlsmgr,
+ 10warnings, 30hurd. Closes: #398396, #409036
+ * prng_exch belongs in /var/lib/postfix, not in the chroot.
+
+ -- LaMont Jones Fri, 2 Feb 2007 02:18:40 -0700
+
+postfix (2.4-20070125-1) experimental; urgency=low
+
+ * New upstream version
+
+ -- LaMont Jones Fri, 26 Jan 2007 07:00:10 -0700
+
+postfix (2.4-20070123-1) experimental; urgency=low
+
+ * New upstream
+ * Drop the smtplinelength patch and join upstream (since 2.0) in standards
+ conformance of breaking smtp lines longer than $smtp_line_length_limit.
+ See /usr/share/doc/postfix/NEWS.Debian.gz
+ * Merge 2.3.6-2 final.
+
+ -- LaMont Jones Wed, 24 Jan 2007 07:28:15 -0700
+
+postfix (2.4-20070119-1) experimental; urgency=low
+
+ * New upstream.
+
+ -- LaMont Jones Fri, 19 Jan 2007 10:16:39 -0700
+
+postfix (2.4-20070113-1) experimental; urgency=low
+
+ * New upstream version
+ * merge 2.3.6-1, and the beginnings of -2
+
+ -- LaMont Jones Sun, 14 Jan 2007 22:12:17 -0700
+
+postfix (2.4-20061229-1) experimental; urgency=low
+
+ * New upstream
+
+ -- LaMont Jones Mon, 1 Jan 2007 10:03:43 -0700
+
+postfix (2.4-20061224-1) experimental; urgency=low
+
+ * New upstream
+ * Merge in 2.3.5-4
+
+ -- LaMont Jones Mon, 25 Dec 2006 12:31:13 -0700
+
+postfix (2.3.6-1) unstable; urgency=low
+
+ * New upstream version
+ * French debconf template. Closes: #404132
+ * Galician debconf template. Closes: #404573
+ * fix typos in debconf messages. Closes: #399916
+ * Catalan debconf template. Closes: #405320
+
+ -- LaMont Jones Fri, 5 Jan 2007 19:31:31 -0700
+
+postfix (2.4-20061217-1) experimental; urgency=low
+
+ * New upstream
+
+ -- LaMont Jones Mon, 18 Dec 2006 06:44:46 -0700
+
+postfix (2.4-20061210-1) experimental; urgency=low
+
+ * New upstream release
+ * merge in 2.3.5-3 debian changes
+
+ -- LaMont Jones Sun, 17 Dec 2006 20:26:52 -0700
+
+postfix (2.3.5-3) unstable; urgency=low
+
+ * Fix typo. Closes: #403121
+ * German translation update. Closes: #403310
+
+ -- LaMont Jones Sat, 16 Dec 2006 06:30:17 -0700
+
+postfix (2.3.5-2) unstable; urgency=low
+
+ * Don't call update-inetd in postinst if it's not there. Fixes Ubuntu
+ bug #73511. Not yet reported in Debian.
+
+ -- LaMont Jones Wed, 13 Dec 2006 09:04:10 -0700
+
+postfix (2.3.5-1) unstable; urgency=low
+
+ * New upstream version
+ * mydomain needs some cleanup if we're upgrading from < 2.3.5-1 on a machine
+ where hostname(2) is a short name. Bug introduced in 2.3.3-2. Closes: #402788
+
+ -- LaMont Jones Thu, 9 Nov 2006 10:30:39 -0700
+
+postfix (2.3.4-3) unstable; urgency=high
+
+ * Fix broken tls patch. Closes: #397771, #398534
+
+ -- LaMont Jones Wed, 6 Dec 2006 14:09:25 -0700
+
+postfix (2.3.4-2) unstable; urgency=low
+
+ * Fix sasl patch.. Thanks again to Fabian Fagerholm. Closes: #398245
+ * New ja.po. Closes: #398599
+ * New de.po. Closes: #399918
+ * New fr.po. Closes: #399998
+
+ -- LaMont Jones Thu, 23 Nov 2006 22:53:16 -0700
+
+postfix (2.4-20061019-2) experimental; urgency=low
+
+ * merge in 2.3.4-1
+ * cleanup changelog to make aba and his scripts happy.
+
+ -- LaMont Jones Thu, 9 Nov 2006 10:30:39 -0700
+
+postfix (2.3.4-1) unstable; urgency=low
+
+ * SASL split conf and plugin directories. Thanks to Fabian Fagerholm for
+ the patch. Closes: #397771
+ * New upstream version.
+
+ -- LaMont Jones Thu, 9 Nov 2006 10:36:45 -0700
+
+postfix (2.4-20061019-1) experimental; urgency=low
+
+ * New upstream version
+
+ -- LaMont Jones Sat, 28 Oct 2006 20:04:55 -0600
+
+postfix (2.4-20061015-1) experimental; urgency=low
+
+ * new upstream version
+ * merge in 2.3.3-4
+
+ -- LaMont Jones Wed, 18 Oct 2006 10:52:26 -0600
+
+postfix (2.3.3-4) unstable; urgency=low
+
+ * Empty /etc/mailname was incorrectly handled. Closes: #387641
+ * updated spanish,french translations. Closes: #393770, #391884
+ * also copy /etc/nss_mdns.config into the chroot. Closes: #393716
+
+ -- LaMont Jones Wed, 18 Oct 2006 10:46:48 -0600
+
+postfix (2.4-20061006-1) experimental; urgency=low
+
+ * New upstream version
+ * Merge in 2.3.3-3 from unstable
+
+ -- LaMont Jones Sun, 15 Oct 2006 18:03:41 -0600
+
+postfix (2.3.3-3) unstable; urgency=low
+
+ * Fix rfc1035_violation template entry. Closes: #393087
+ * Add catalan transations. (debian/po/ca.po) Closes: #393090
+ * Need to have libcdb1, not just tinycdb without the .so
+ * Fix postfix-cdb so that it actually works.
+
+ -- LaMont Jones Sun, 15 Oct 2006 21:11:54 -0600
+
+postfix (2.3.3-2) unstable; urgency=low
+
+ * Add postfix-cdb package, which supports tinycdb maps.
+ Closes: #183163
+ * Detect and die nicely on emty myorigin file. Closes: #322602
+ * Drop 10hostname.dpatch, which was only needed for installing
+ postfix inside of debian-installer. Closes: #333646
+ * cleanup confusing debconf question. Closes: #387646
+
+ -- LaMont Jones Tue, 19 Sep 2006 09:04:02 -0600
+
+postfix (2.3.3-1) unstable; urgency=low
+
+ * New upstream version with various bug fixes.
+ * use invoke-rc.d in preinst. Closes: #381167
+ * Suggest: resolvconf
+ * Fix section 8postfix man page headers to say '8postfix', to fix lintian
+ errors.
+
+ -- LaMont Jones Tue, 29 Aug 2006 08:49:35 -0600
+
+postfix (2.4-20060903-1) experimental-UNRELEASED; urgency=low
+
+ * New upstream version
+
+ -- LaMont Jones Tue, 5 Sep 2006 00:49:52 -0600
+
+postfix (2.4-20060806-1) experimental-UNRELEASED; urgency=low
+
+ * New upstream version
+ * Merge changes from 2.3.2
+
+ -- LaMont Jones Sat, 12 Aug 2006 08:10:27 -0600
+
+postfix (2.4-20060727-0) experimental; urgency=low
+
+ * New upstream snapshot
+ * Merged as below.
+
+ -- LaMont Jones Tue, 1 Aug 2006 00:01:12 -0600
+
+postfix (2.3.2-1) unstable; urgency=low
+
+ * New upstream version: more milter fixes.
+ * Update japanese translations. Closes: #379951
+ * Move prng_exch back to $queue_directory from /etc (where it
+ lived for all of 2.2...) Closes: #380285
+
+ -- LaMont Jones Mon, 31 Jul 2006 23:50:43 -0600
+
+postfix (2.3.1-1) unstable; urgency=low
+
+ * New upstream.
+
+ -- LaMont Jones