Commit Graph

77 Commits

Author SHA1 Message Date
jakob
96b998cbb4 respect CC and CFLAGS 2001-05-29 06:11:36 +00:00
jakob
6a9e814523 upgrade to postfix release 20010228 patch 03.
Postfix official release 20010228 patch 03 fixes all known problems that were
also fixed with snapshot 20010525.

The official Postfix release does not change except for bugfixes. New
features are introduced in Postfix snapshots; the snapshots eventually evolve
into the next official release.

Only only major fix is for a memory leak in the LDAP client module. If you do
not use LDAP, then there is no urgent need to apply the patch.
A fully patched version will be made available via the usual sites listed on
the www.postfix.org web site.
2001-05-27 06:39:33 +00:00
jakob
5903eaafda update to postfix snapshot 20010525. info from wietse:
- Many little revisions of little details in the light of the new RFC 2821
and RFC 2822 standards. RFC features considered less urgent or less useful
are discussed in source code comments. See the RELEASE_NOTES for possible
incompatibilities.

- A much enhanced postsuper queue maintenance tool that can fix Postfix
queues restored from another machine or from backup. The postsuper tool
corrects file names when a file name does not match the message file
inode number. My respect has doubled for people who write fsck-like programs.
2001-05-26 05:57:17 +00:00
jakob
ab9df5f613 update to postfix snapshot 20010502 2001-05-05 22:13:47 +00:00
jakob
65d6224932 update to postfix version 20010228 patchlevel 2. 2001-05-05 22:12:41 +00:00
espie
b186afd8b2 , -> : in flavor deps. 2001-05-05 21:28:04 +00:00
espie
875b1cbbbe Bad package name. Couldn't parse version. 2001-04-05 10:15:02 +00:00
jakob
635beff2f4 update to postfix snapshot 20010329 2001-03-31 08:48:06 +00:00
jakob
93137d33b7 update to postfix release 20010228-pl01. info from Wietse below:
--
Postfix Release 20010228 Patchlevel 01 includes patches that were
sent to the list in the last month, some portability enhancements,
and updated documentation.

- The flush daemon complained when Postfix was deferring mail
  for user@[ip.address], and aborted with a panic when deferring
  mail to user@a.domain.name (one-letter subdomain name).

- The LMTP connection caching did not work for destinations that
  start with inet: or unix:.

- The cleanup server stalled when mail exceeded the queue file
  size limit by a small amount. The sender was not informed of
  the file size problem and kept sending the mail repeatedly.

- Mail address headers with newline inside (comment) caused
  Postfix to emit a backslash before the end of line.
2001-03-30 06:41:18 +00:00
jakob
1d0220ad49 move COMMENT into Makefile & touch NEED_VERSION 2001-03-24 19:55:27 +00:00
jakob
24c0124f74 build ldap and pcre flavours of stable version 2001-03-01 08:10:21 +00:00
jakob
7294767bc7 update to postfix snapshot 20010228 (release 20010228 + nnqmgr + virtual) 2001-03-01 07:59:17 +00:00
jakob
88877ed392 update to postfix release 20010228 (first non-beta release).
read RELEASE_NOTES before upgradering as there are incompatible changes.
2001-03-01 07:57:56 +00:00
jakob
30080f1fa4 correct PLIST 2001-02-27 15:23:55 +00:00
jakob
b32045177c Postfix snapshot 20010225 (updated release candidate) 2001-02-26 07:15:23 +00:00
jakob
af5cc19764 update to Postfix Snapshot 20010222.
this is the RELEASE CANDIDATE for the first official non-beta Postfix
release, bugfixes permitting.
2001-02-23 14:34:42 +00:00
jakob
e2c042567d update to snapshot-20010202
--
The mailbox file size limits for the local and virtual delivery
agents can be disabled by setting mailbox_size_limit and/or
virtual_mailbox_limit to zero.
2001-02-06 22:40:05 +00:00
jakob
111b30b4db update to postfix snapshot-20010130.
Incompatible changes with snapshot-20010128
===========================================

REJECT in header/body_checks is now flagged as policy violation
rather than bounce, for consistency in postmaster notifications.

The mailbox size limit for local delivery is no longer controlled
by the message_size_limit paramater, but by a separate parameter
called mailbox_size_limit (default: 20MBytes).

The default RBL (real-time blackhole lists) domain examples have
been updated from *.vix.com to *.mail-abuse.org.

Major changes with snapshot-20010128
====================================

Updated nqmgr (experimental queue manager with clever queueing
strategy) by Patrik Rak. This code is still new. Once it stops
changing (for a long time!) it will become part of the non-beta
release.

Virtual mailbox delivery agent by Andrew McNamara. This delivery
agent can deliver mail for any number of domains.  See the file
VIRTUAL_README for detailed examples. This code is still new. Once
it stops changing it will become part of the non-beta release.

Many "valid_hostname" warnings were eliminated. The complaints that
were not eliminated were replaced by something more informative.

SASL support (RFC 2554) for the LMTP delivery agent. This is required
by recent Cyrus implementations when delivering mail over TCP
sockets. The LMTP_README file has been updated but still contains
some obsolete information.

Workarounds for non-standard RFC 2554 (AUTH command) implementations.
Specify "broken_sasl_auth_clients = yes" to enable SMTP server
support for old Microsoft client applications. The Postfix SMTP
client supports non-standard RFC 2554 servers by default.
2001-02-01 07:28:12 +00:00
jakob
f8c53526cd add patch for fallback-relay loop. info from Wietse below.
Summary
-------
This patch fixes a problem in the Postfix SMTP client's fallback
relay feature in snapshot releases after 20001005.

By default, Postfix does not use the fallback_relay feature. To
find out if your system uses it, issue the command:

    postconf fallback_relay

The result is "fallback_relay =" when the feature is turned off.

Description
-----------
As of 20001005, the Postfix SMTP client will send mail to a fallback
relay host (if one is configured) even when the local machine is
a backup MX host for the final destination.

This causes a loop when the primary MX host is down. Postfix receives
the mail, because it's a backup MX host for the destination. Postfix
then sends the mail to the fallback relay, because the primary MX
host is down.  The fallback sends the mail back to Postfix, because
it's a backup MX host. Mail then bounces after 25 or so iterations.

Laurent Wacrenier had the, um, pleasure, of finding this one.

Solution
--------
If the local machine is listed as MX host for the final destination,
do not send undeliverable mail to the fallback relay.  That is how
releases prior to 20001005 work, including 19991231.

This patch should apply to all snapshots since 20001005, but I have
tested this only with 20001217.

To apply, step into the src/smtp source directory, feed this text
into the patch command, and rebuild. The "make install" command
replaces only the smtp client program.
2001-01-21 11:52:59 +00:00
jakob
fead52a0c0 update to snapshot-20001217.
Extract from RELEASE_NOTES:
===========================

    Major changes with snapshot-20001217
    ====================================

    This release involves little change in functionality and a lot of
    small changes to lots of files. The code is put out as a separate
    snapshot release so that I have a tested baseline for further work.

    All time-related configuration parameters now accept a one-letter
    suffix to indicate the time unit (s: second, m: minute, h: hour,
    d: day, w: week). The exceptions are the LDAP and MYSQL modules
    which are maintained separately.

    The mysql client was partially rewritten in order to elimimate some
    memory allocation/deallocation problems. The code needs more work,
    and needs to be tested in a real production environment.

    The local_transport and default_transport configuration parameters
    can now be specified in transport:destination notation, just like
    the mailbox_transport and fallback_transport parameters.  The
    :destination part is optional.  However, these parameters take only
    one destination, unlike relayhost and fallback-relay which take
    any number of destinations.
2000-12-18 10:52:32 +00:00
jakob
f130f5f039 update to snapshot-20001210.
Extract from the RELEASE_NOTES file:

    Incompatible changes with snapshot-20001210
    ===========================================

    If this release does not work for you, you can go back to a previous
    Postfix version without losing your mail, subject to the "incompatible
    changes" listed for previous Postfix releases below.

    When delivering to /file/name (as directed in an alias or .forward
    file), the local delivery agent now logs a warning when it is unable
    to create a /file/name.lock file. Mail is still delivered as before.

    The "sun_mailtool_compatibility" feature is going away (a compatibility
    mode that turns off kernel locks on mailbox files). It still works,
    but a warning is logged. Instead of using "sun_mailtool_compatibility",
    specify the mailbox locking strategy as "mailbox_delivery_lock =
    dotlock".

    The Postfix SMTP client now skips SMTP server replies that do not
    start with "CODE SPACE" or with "CODE HYPHEN" and flags them as
    protocol errors. Older Postfix SMTP clients silently treated "CODE
    TEXT" as "CODE SPACE TEXT", i.e. as a valid SMTP reply.

    This snapshot does not yet change default relay settings. That
    change alone affects a dozen files, most of which documentation.
    This may be an incompatibility with some people's expectations,
    but such are my rules - between code freeze and release no major
    functionality changes are allowed.

    Several interfaces of libutil and libglobal routines have changed.
    This may break third-party code written for Postfix. In particular,
    the safe_open() routine has changed, the way the preferred locking
    method is specified in the sys_defs.h file, as well as all routines
    that perform file locking. When compiling third-party code written
    for Postfix, the incompatibilities will be detected by the compiler
    provided that #include file dependencies are properly maintained.

    Major changes with snapshot-20001210
    ====================================

    This snapshot includes bugfixes that were already released as
    patches 12 and 13 for the 19991231 "stable" release:

      - The queue manager could deadlock for 10 seconds when bouncing
        mail under extreme load from one-to-one mass mailings.

      - Local delivery performance was substandard, because the per-user
        concurrency limit accidentally applied to the entire local
        domain.

    The mailbox locking style is now fully configurable at runtime.
    The new configuration parameter is called "mailbox_delivery_lock".
    Depending on the operating system type, mailboxes can be locked
    with one or more of "flock", "fcntl" or "dotlock".  The command
    "postconf -l" shows the available locking styles.  The default
    mailbox locking style is system dependent.  This change affects
    all mailbox and all "/file/name" deliveries by the Postfix local
    delivery agent.

    The new "import_environment" and "export_environment" configuration
    parameters now provide explicit control over what environment
    variables Postfix will import, and what environment variables
    Postfix will pass on to a non-Postfix process. This is better than
    hard-coding my debugging environment into public releases.

    The "mailbox_transport" and "fallback_transport" parameters now
    understand the form "transport:nexthop", with suitable defaults
    when either transport or nexthop are omitted, just like in the
    Postfix transport map. This allows you to specify for example,
    "mailbox_transport = lmtp:unix:/file/name".

    The MYSQL client now supports server connections over UNIX-domain
    sockets.  Code provided by Piotr Klaban. See the file MYSQL_README
    for examples of "host" syntax.
2000-12-11 03:17:50 +00:00
jakob
b4c391c3ff update to 19991231-pl13 2000-12-10 18:55:53 +00:00
jakob
a3cfc26c7d update to postfix-19991231-pl11
--
Postfix official release 19991231 patchlevel 11 is available.

This release folds in code changes from recent snapshot releases.
These changes track changes in RedHat Linux, fix two minor bugs in
the Postfix queue manager scheduling behavior that were spotted by
Patrik Rak, and turn off one misfeature.

- On RedHat Linux 7.0, you must install the db3-devel RPM before
  you can compile the Postfix source code.

- The queue manager could schedule too many connections to the same
  destination (domain name spelled in upper and lower case).

- The queue manager could schedule too few connections to the same
  destination (back off even in case of successful delivery).

- The confusing site_hog_factor feature is disabled by default. It
  caused unnecessary mail delivery delays on inbound mail gateways.
2000-11-22 16:26:51 +00:00
jakob
5d3c7e4471 update to snapshot-20001121.
Quote from the RELEASE_NOTES file:

    Incompatible changes with snapshot-20001121
    ===========================================

    If this release does not work for you, you can go back to a previous
    Postfix version without losing your mail, subject to the "incompatible
    changes" listed for previous Postfix releases below.

    Major changes with snapshot-20001121
    ====================================

    Support for RedHat Linux 7.0.  On RedHat Linux 7.0, you must install
    the db3-devel RPM before you can compile the Postfix source code.

    The mailbox_transport feature works again. It was broken when the
    "require_home_directory" feature was added.

    More general virtual domain support.  Postfix now supports both
    Sendmail-style virtual domains and Postfix-style virtual domains.
    Details and examples are given in the revised virtual manual page.

    - With Sendmail-style virtual domains, local users/aliases/mailing
      lists are visible as localname@virtual.domain. This is convenient
      if you want to host mailing lists under virtual domains.

    - With Postfix-style virtual domains, local users/aliases/mailing
      lists are not visible as localname@virtual.domain. Each virtual
      domain has its own separate name space.

    More general "soft bounce" feature.  Specify "soft_bounce = yes"
    in main.cf to prevent the SMTP server from bouncing mail while you
    are testing configurations. Until this release the SMTP server was
    not aware of soft bounces.
2000-11-21 19:45:36 +00:00
jakob
8ac75f43be update to snapshot-20001030 2000-11-18 09:29:52 +00:00
jakob
205764f7ad update to postfix-19991231-pl10 2000-11-18 09:27:17 +00:00
jakob
43beac1045 correct PLIST 2000-11-01 16:44:18 +00:00
jakob
22e34598a0 add LDAP flavour 2000-10-06 23:10:43 +00:00
jakob
e99f62433e fix sasl when used as single flavour 2000-10-05 21:16:50 +00:00
jakob
ecc71015a0 add pcre flavour 2000-10-05 21:15:50 +00:00
jakob
2419cdbca9 add pcre flavour, rework MAKE_{CCARGS,AUXLIBS} 2000-10-05 21:13:23 +00:00
jakob
4263003c99 - remove MAKE_FLAGS
- add do-configure target
2000-10-05 21:08:38 +00:00
jakob
87adbef166 make MAKE_FLAGS additive 2000-10-05 20:58:34 +00:00
jakob
48628f40f6 update to postfix snapshot 20001005 2000-10-05 19:42:23 +00:00
jakob
7d9995930b split port into stable and snapshot versions 2000-09-25 21:02:29 +00:00
jakob
9e22a1c042 add comment 2000-09-21 15:32:23 +00:00
jakob
0628f44d3a rename patches 2000-09-21 15:32:04 +00:00
jakob
a4c46581ab Update to Postfix 19991231 patch 09.
--
Postfix 19991231 patch 09 fixes a memory corruption problem, and
includes a long list of minor bugfixes and robustness improvements
that already featured in snapshot releases (or that will feature
in the next one).

  - When propagating an address extension to the right-hand side
    of a virtual or canonical mapping, the cleanup server could
    access memory that was no longer allocated and die with signal
    11. This would happen when the result address length was more
    than about 100 characters.  Credit to Adi Prasaja @ satunet.com
    for coming up with a small reproducible demo.
2000-09-18 18:43:35 +00:00
jakob
6b98dfe003 add note about sendmail_flags and /etc/rc.conf.local 2000-08-18 05:57:17 +00:00
jakob
21d743600b - move examples from lib/postfix to share/examples/postfix
- use user/group commands
- ${FOO} -> $FOO om INSTALL/DEINSTAL
- add HOMEPAGE

work by Brad and myself
2000-08-15 17:01:22 +00:00
espie
f100c128f9 Remove NO_CONFIGURE/NO_PATCH/NO_EXTRACT/NO_MTREE
Kill corresponding FAKE=Yes and switch to CONFIGURE_STYLE while I'm at it.
2000-06-16 23:06:03 +00:00
jakob
4bb3945355 Update to Postfix 19991231 Patchlevel 08. Info from the author:
This patch provides an emergency band-aid for the next wave of
MicroSoft email worms, fixes one bug, and makes external content
filtering a bit more robust.

  - Feature: specify "body_checks = regexp:/etc/postfix/body_checks"
    for an emergency content filter that looks at non-header lines
    one line at a time (including MIME headers inside the message
    body).  This feature uses the same syntax as the header_checks
    patterns.  Details in conf/sample-filter.cf.

    This feature is also available in Postfix snapshot 20000528.

  - Bugfix: the masquerade_exceptions feature was case sensitive.

  - Robustness: upon receipt of mail, Postfix maps MAILER-DAEMON@myorigin
    sender address back into the magic null string, which prevents
    mail from looping after processing by an external content filter.
2000-05-29 06:31:18 +00:00
jakob
e16323042f Update to Postfix 19991231 patchlevel 07.
- RFC 822 requires the presence of at least one destination
    message header. Postfix now generates a generic "To:
    undisclosed-recipients:;" message header when no destination
    header is present.  The header content is specified with the
    new undisclosed_recipients_header parameter.

  - Postfix now understands <(comment)> as SMTP MAIL FROM address,
    because some broken software needs it. Postfix rejects such
    illegal address forms with "strict_rfc821_envelopes = yes".

  - Configuration parameters for one mysql dictionary would become
    default settings for the next one. This patch was merged into
    the development Postfix version a while back but apparently
    that version was on a dead branch.  Update by Scott Cotton.

  - Some Postfix delivery agents would abort on addresses of the
    form `stuff@.' which could unfortunately be generated locally.

  - With local delivery, Postfix could insert > or . into the middle
    of very long lines.

  - SMTP sessions could time out when the remote client attempted
    to deliver to a large number of rejected recipients.  The SMTP
    server now flushes unwritten output in-between tarpit delays,
    to avoid protocol timeouts in pipelined SMTP sessions.

  - Postfix would incorrectly reject domain names with adjacent `-'
    characters.
2000-05-16 16:58:19 +00:00
jakob
d7dc373e8f update to postfix-19991231-pl06
clean up makefile and fake installation
2000-03-30 19:06:40 +00:00
jakob
8e1eeed637 update to version 19991231 patch 05. 2000-03-09 20:50:29 +00:00
turan
ec4d970c67 mark unbroken until the installing in /etc issue is resolved. 2000-03-06 06:03:45 +00:00
jakob
4f1ee69591 fix license info 2000-03-05 23:00:29 +00:00
turan
92c944cb04 broken, installs files automatically in /etc 2000-03-03 11:54:44 +00:00
brad
d2db3d6d76 - cleanup
- make use of MAKE_FLAGS so this port respects CC and CFLAGS
2000-02-17 06:28:59 +00:00
jakob
b2b1d23d43 19991231-pl04 2000-01-30 20:01:46 +00:00