Commit Graph

271 Commits

Author SHA1 Message Date
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
jakob
855668895e Update to version 19991231-pl04. This fix is urgent.
-- Info from Wietse --
Patch 04 fixes one old problem that never happened, and fixes two
new problems introduced with patch 03, one of which urgent.  The
problems were found as I was reorganizing the cleanup daemon code.

The too long header fix in patch 03 loses mail when a header is
found too long, and when that mail is't posted with "sendmail -t".

Actually the mail is not lost. The queue file stays in the incoming
queue, as a file with mode -rw-------.

In order to have such mail delivered, chdir into the directory
/var/spool/postfix/incoming, and look for mode -rw------- queue
files that are older than a few minutes (ls -lt|more) and chmod +x
those old mode -rw------- queue files.

DO NOT CHMOD +X ALL INCOMING QUEUE FILES because that causes Postfix
to discard messages that are still being received.
2000-01-30 20:01:27 +00:00
jakob
77fb9590fb postfix-19991231-pl03 2000-01-29 16:10:33 +00:00
jakob
471622ff47 Update to version 19991231-pl03. Info from Wietse below:
Postfix version 19991231 patchlevel 03 fixes low-priority defects
and provides workarounds for unusual conditions.

- Workaround to prevent one site with a huge backlog from blocking
  all other deliveries. This is controlled by a new configuration
  parameter qmgr_site_hog_factor (default:  90 percent) that limits
  how much in-memory queue manager resources a site can claim.

- Workarounds for the most likely problems that will happen when
  running the Postfix queue on top of NFS.

- The SMTP server did not look in the relocated table and would
  report "User unknown" rather than letting the mail bounce the
  way it is supposed to be.

- When requested to extract recipients from message headers, Postfix
  now insists that no message header exceeds the header size limit.
  This prevents Postfix from inadvertently disclosing Bcc: addresses.
2000-01-29 16:07:55 +00:00
jakob
8b13d1bb41 postfix-19991231-pl02; fix case sensitivity bug in anti-relaying code 2000-01-04 14:53:42 +00:00
jakob
8baec45005 postfix-19991231-pl01 2000-01-03 14:33:49 +00:00
jakob
8e7e275f88 MAINTAINER changed to <jakob@openbsd.org>. OK dugsong@ 2000-01-03 07:37:39 +00:00
jakob
fa86cc645b postfix-19991231 2000-01-02 12:20:03 +00:00
jakob
0fafec5142 Update to postfix-19991231. Please read RELEASE_NOTES if upgrading
from a previous version for information about incompatible changes.
2000-01-02 12:19:37 +00:00
jakob
701e197ed6 Update to postfix-19990906-pl09. File missed by CVS. 1999-12-12 19:01:53 +00:00
jakob
8efb75e9c4 Update to postfix-19990906-pl09. Information from the author:
This patch resolves several really old defects that were resolved
or discovered in the last couple weeks.

  - Address rewriting would panic on a lone \ at the end of a line
    where an address was expected. Reported by Jason Hoos.

  - The local delivery agent would deliver to the user instead of
    the .forward file when the .forward file was already visited
    via some non-recursive path. Patch by Patrik Rak.
                                                                                  - Postfix now attempts to deliver all addresses in the expansion
    of an alias or .forward file, even when some addresses must be
    deferred. Problem reported by Andrew McNamara and others.
1999-12-12 19:00:32 +00:00
jakob
c7b00f0b0a Added OpenBSD tags 1999-12-05 15:01:28 +00:00
jakob
e9acc4ec57 Update to 19990906 Patch 08 - CVS forgot this one... 1999-12-05 15:01:04 +00:00
jakob
9e34347d3b Update to 19990906 Patch 08; minor bugfixes. 1999-12-05 15:00:00 +00:00
jakob
254405c830 Now non-interactive.
Better instructions for install/deinstall.
Cleanup.
ok espie@.

(file missed by CVS in previous commit)
1999-10-07 20:59:15 +00:00
jakob
96685d819f Now non-interactive.
Better instructions for install/deinstall.
Cleanup.
ok espie@.
1999-10-07 20:58:03 +00:00
jakob
802fe2783a update to postfix-19990906-pl05 1999-09-26 20:35:59 +00:00
jakob
851e72c202 updated to postfix-19990906-pl05
enable use of mailwrapper
1999-09-26 20:35:11 +00:00
dugsong
e8579dcbe8 update to version 19990601 1999-06-13 16:15:57 +00:00
espie
7856893b06 Lots of crisper comments... 1999-04-20 16:07:56 +00:00
marc
554bf4c552 note that a newer version of the code is available;
remove ftp.win.ne.jp from master sites -- it will not allow the port
to be fetched because it does not like the format of the "password"
sent by the ftp client
1999-03-10 03:25:27 +00:00
marc
3e45db1680 add sha1 and rmd160 checksum to the existing md5 sums for all files;
Porters: please make sure you use bsd.port.mk 1.75 or later when
updating ports.  That version of the makefile adds all sums.  Previous
versions of the makefile will still work for people installing ports.
1999-03-04 05:55:44 +00:00
marc
32f23e4d31 fix PLIST; Markus Friedl <Markus.Friedl@informatik.uni-erlangen.de> 1999-02-04 00:32:30 +00:00
marc
918c60883d update to beta-19990122; Dug Song <dugsong@monkey.org> 1999-02-02 19:39:16 +00:00
ericj
b29a4bf277 finish postfix commit - dugsong cant connect to cvs 1999-01-12 03:22:46 +00:00
dugsong
66f4913644 upgrade to 19981230, add setgid maildrop support (jakob@crt.se) 1999-01-12 02:39:30 +00:00
marc
82590b6f78 MIRROR_DISTFILE=no 1998-12-16 22:00:51 +00:00
dugsong
bbeea7f858 add postfix port 1998-12-16 18:30:46 +00:00