Commit graph

94 commits

Author SHA1 Message Date
martti
438b4c5d98 Updated mail/postfix to 2.2.6
Postfix 2.2 patch 06 catches up with minor fixes that were fielded
earlier in the experimental Postfix 2.3 snapshots.
2005-12-01 06:46:40 +00:00
martti
a5e5c62cae Removed patch-ac as it was no longer needed (and in fact should not
be used) according to Wietse Venema.

PKGREVISION++
2005-11-16 06:53:13 +00:00
martti
ca9cde4793 Regenerate the patches not to add NetBSD stuff inside Mac OS X section. 2005-11-13 10:37:09 +00:00
martti
245bbdc03d Make this compile on NetBSD 2.1. Does not affect other versions so no
version bump. Fixes pkg/31952.
2005-11-12 05:19:24 +00:00
joerg
f5247896f5 Treat DragonFly as FreeBSD 4 to let Postfix build. 2005-10-13 13:06:38 +00:00
abs
ee9906d198 Fix NetBSD statvfs check to be >= 299000900 not >= 200040000
No pkgrevision bumps needed.
2005-09-06 08:10:57 +00:00
martti
be52346279 Updated postfix to 2.2.5
Postfix 2.2.5 addresses some portability problems with LP64 platforms
that broke SMTP connection caching, and makes SMTP connection
caching more failure tolerant. These fixes are back-ported from
the experimental (2.3) release series.

The connection caching protocol has changed, so you will need to
"postfix reload" after upgrading.
2005-07-22 06:12:44 +00:00
martti
ad898c866b Updated postfix to 2.2.4
20050517

        Bugfix: in a DSN report, the original recipient should not
        be xtext encoded. File: bounce/bounce_notify_util.c.

20050523

        Bugfix: mymalloc() panic with mistyped server host list.
        File: global/dict_pgsql.c.

20040530

        Bugfix: TLS MUST_NOPEERMATCH didn't work (inherited from
        TLS patch), and a dangling pointer in the corresponding
        error handling. File: smtp/smtp_proto.c.

20050615

        Cleanup: the SMTP client now sends QUIT when the initial
        HELO handshake fails. it still doesn't send QUIT when the
        server greets with a [45]XX code, as that is handled in the
        connection management code before a session context exists.
        File: smtp/smtp_connect.c.

20050616

        Bugfix: missing or mis-placed va_end() macros, found in
        Postfix 2.3 code review. Files: util/netstring.c,
        util/myaddrinfo.c, util/attr_clnt.c, util/vstream.c.

20050621

        Portability: file descriptor passing is available for Tru64
        UNIX, but AIX4 and IRIX6 will have to do without. This means
        no SMTP connection caching for those platforms.  Albert
        Chin.  File: util/sys_defs.h.
2005-06-23 07:58:48 +00:00
martti
9ac91d90e6 Updated postfix to 2.2.3
- SASL inter-operability problem causing Sendmail servers to hang up on Postfix.

- Panic when a fall-back relay could not be used for a variety of reasons.
2005-05-04 05:20:40 +00:00
martti
14befbbdbc Updated postfix to 2.2.2
- A more usable REPLACE action in header/body_checks. The old
  version produced unexpected results.

- Portability to HP-UX.

- Two harmless defects in the SMTP and LMTP clients that go back
  to before the first Postfix release, and that were found while
  doing code maintenance on the experimental release.
2005-04-04 18:13:32 +00:00
xtraeme
cdb0e00742 NetBSD-3.x support. 2005-03-22 18:09:33 +00:00
cjs
e4caf9e8fc Postfix 2.2.1 import.
New features since 2.1.x:
  - built-in IPv6 and TLS (we no longer use patches--beware config changes!)
  - more sophisticated LDAP/MySQL/PostgreSQL support, with freeform queries
  - SMTP client-side connection reuse
  - by default, no longer rewrite message headers in mail from remote clients
  - can use your ISP account name for mail destined outside your machine
  - can selectively turn off ESMTP features in client or server
  - remote SMTP client resource control (the anvil server)
  - support for CDB, SDBM and NIS+ databases is now built into Postfix
  - new SMTP access control features
  - and more
Caution:
  - You MUST stop 2.1.x and earlier versions before upgrading.
  - Use the postfix upgrade program to upgrade your main.cf/master.cf.
2005-03-22 10:43:50 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
martti
f4a2c7bec3 Updated postfix to 2.1.5nb5
* New IPv6 patch
2005-02-09 06:55:10 +00:00
kim
86519c59a5 Apply NI_WITHSCOPEID patch only if the inet6 option is enabled.
Closes PR pkg/28756
2004-12-28 16:13:28 +00:00
kim
fbb3fd6d93 Fix "postfix/smtp killed by signal 11" problem. 2004-12-23 13:51:27 +00:00
kim
2c7c9b104c Make this compile on -current without NI_WITHSCOPEID
Closes PR pkg/28686
2004-12-17 19:36:01 +00:00
jlam
7089c11f47 Use bdb.buildlink3.mk to get the DB library to use for the "hash" map
type.  All platforms now support the "hash" map type as a result.
Remove the explicit dependencies on db4 and db2 on non-Linux and Linux,
respectively.  Bump the PKGREVISION.
2004-11-30 20:54:38 +00:00
martti
1faa536f93 Updated postfix to 2.1.5
- The code to eliminate the local MTA from an MX address list did
  not handle the case that the local MTA could appear with different
  MX preferences in both inet_interfaces and proxy_interfaces.

- The SMTP server's kiss-of-death message "421 Timeout exceeded"
  wasn't guarded by setjmp().

- The SMTP server didn't update the per-session error counter when
  a client was denied access with smtpd_delay_reject=no.

- The Postfix sendmail command leaked file descriptors when it was
  unable to execute the postdrop mail submission command.

- The bounce daemon sent the wrong type of bounce message when a

- Plus some portability, safety and documentation fixes.
2004-09-23 16:10:07 +00:00
jlam
4ae27a12a1 This patch can only apply cleanly if "inet6" is a build option. Move it
to a file that's applied at post-patch time only if "inet6" is specified.
This fixes building postfix on systems that don't support IPv6.
2004-08-11 06:51:31 +00:00
schmonz
b6c39ecb23 Define RESOLVE_H_NEEDS_NAMESER8_COMPAT_H for Mac OS X, and include
<nameser8_compat.h> before <resolv.h> if it's defined.

Along with Johnny's recent buildlink3 fixes, this fixes the build
for me on Mac OS X Server 10.3.4. Should address pkg/26584.
2004-08-10 16:49:47 +00:00
jlam
5c7aad1d9f Support building STARTTLS support into Postfix without IPv6. 2004-08-07 16:56:53 +00:00
jlam
0c0e5e112b Reduce the number of patches needed by Postfix by using the subst
framework and also by explicitly specifying more default values for
Postfix parameters.  Also pass -I/usr/pkg/include/sasl to the compiler
when building using Cyrus SASLv2, which allows me to remove the patches
that added an unnecessary USE_SASL2_AUTH check.
2004-08-07 07:58:32 +00:00
jlam
9d4e8059bc Use the TLS+IPv6 patch that corresponds to Postfix-2.1.4. 2004-08-04 20:49:43 +00:00
martti
4ee1ab216f Updated postfix to 2.1.4
* Bug fixes
2004-07-29 10:15:38 +00:00
jlam
f47062b79e Install more of the example configuration files into installed examples
directory.  Back out modification to postfix-install that was ignoring our
setting for config_directory.
2004-07-19 22:04:40 +00:00
jlam
dcfd518826 Use FILES_SUBST_SED instead of local make targets to do the same thing.
FILES_SUBST_SED substitutes for @FOO@, so use that format for things to
be replaced.
2004-07-18 19:16:31 +00:00
martti
35c2f1a294 New IPv6 patch
* Bugfix: Misplaced myfree() caused a small memory leak.

* Removed the colon (:) from the characters XFORWARD replaces by
  a question mark (IPv6 addresses looked like 2001?610?1108?5010?1
  in logging).
2004-06-22 05:12:43 +00:00
martti
2a33bd4fd6 Updated postfix to 2.1.3
This is the new 2.1.x series, please see www.postfix.org for
complete list of changes since 2.0.20.
2004-06-21 16:13:23 +00:00
grant
70f0a8dfb5 correct checksum for postfix-pg.postfix-2.0.0.2.patch 2004-06-06 01:12:52 +00:00
martti
9c41ec80a9 Use the latest IPv6 patch 2004-05-21 08:10:41 +00:00
martti
74500b5861 Updated postfix to 2.0.20
- The postdrop mail submission command could die with SIGHUP and
  abort mail submission.  This was observed with mail from cron jobs.

- The MySQL client aborted with complaints about multiple attempts
  to register the same lookup table. This was observed in the proxymap
  daemon.

- As a workaround for agressive SMTP command pipelining clients,
  the Postfix SMTP server now allows SMTP clients to overshoot the
  SMTP server recipient limit without triggering the server hard
  error limit, as long as the number of excess recipients stays within
  a hard-coded overshoot limit of 1000. If you have such clients then
  you also need to specify "smtpd_error_sleep_time = 0" or else
  performance will be poor.

- The LMTP client attempted to reuse a connection after timeout,
  causing protocol synchronization errors.

- The trivial-rewrite server could core dump after temporary table
  lookup failure.  This was not observed in Postfix 2.0.
2004-05-05 06:55:28 +00:00
minskim
7964bdeff3 statvfs fix for postfix and postfix-current on NetBSD-current>=2.0D.
Patch provided by John R. Shannon in PR pkg/25430.
2004-05-04 19:59:06 +00:00
minskim
313577df89 Remove hardcoded "-ldb" from makedefs, because pkgsrc provides a
correct option.

This fixes PR pkg/25176.
2004-04-14 12:55:20 +00:00
kim
74cabb143e Make this compile on 2.x as well (as NETBSD1). 2004-04-11 02:23:46 +00:00
martti
68cf6ad80b New IPv6 patch 2004-03-25 12:58:37 +00:00
martti
1999228d2f New IPv6 patch. 2004-03-17 19:29:29 +00:00
martti
de7ecba364 Updated postfix to 2.0.19
- When mail is submitted at a high rate with the Postfix sendmail
  command, the pickup daemon is keps busy long enough that it it
  terminated by the watchdog timer (a feature that prevents Postfix
  from locking up permanently).

- Malformed addresses in SMTP commands could result in table looks
  with zero-length search strings, causing trouble with NIS lookups.
2004-03-14 07:30:14 +00:00
grant
af2e0d711c ressurect external patch checksums lost in last commit. 2004-03-06 06:47:41 +00:00
grant
f57aa1008b don't patch the same file twice, don't patch multiple files in a
single patch.
2004-03-05 22:59:32 +00:00
martti
5074fe7691 Added optional postgresql support 2004-02-16 09:31:06 +00:00
martti
902e4125ae New IPv6 patch 2004-01-28 16:03:02 +00:00
martti
2acac9de34 Make this work on Linux. 2004-01-23 12:03:44 +00:00
martti
a6224cc309 Updated postfix to 2.0.18
- A change in the line reading routines caused unexpected results
  with lines ending in EOF. This change is undone.

- A portability problem with the test command ("test -e" is not
  supported on older systems, while "test -f" does the job).
2004-01-23 06:25:25 +00:00
martti
4bc98c82df Updated postfix to 2.0.17
- Portability to MacOSX: Bind8 compatibility, core dumps in mailq
  and postdrop, and changes in netinfo support.

- Elimination of some DNS lookup problems in third-party library
  routines (typically resulting in localhost not being found).

- More agressive delivery to sites that defer a lot of mail.

- Correction of a few obscure error messages.

- Several small documentation fixes.

- Minor fixes for robustness problems that no-one has experienced.
2004-01-21 06:56:48 +00:00
martin
b5f4678b8a Apply the SASL2 cure to smtp and lmtp to. This makes outgoing authenticated
mail work.
2004-01-20 19:37:45 +00:00
christos
ee4ca78e56 enable use of sasl2 2003-10-03 15:04:52 +00:00
martti
b123113b9b Updated postfix to 2.0.16
* bug fixes
* new IPv6 patch
2003-10-02 10:39:12 +00:00
martti
a73841c129 Updated postfix to 2.0.14
* Produce a warning when host:port specifies a badly formatted numerical port.
* New IPv6 patch.
2003-09-01 10:42:32 +00:00
martti
639b4d1cda Updated postfix to 2.0.13
- After "postfix reload", the master daemon now warns when the
  inet_interfaces parameter setting has changed, and ignores the
  change, instead of passing incorrect information to the smtp
  server.

- After the postdrop command change with Postfix 2.0.11, the postcat
  command no longer recognized "maildrop" queue files as valid.

- Mail could bounce when two messages were delivered simultaneously
  to a non-existent mailbox file. The safe_open() code that prevents
  race condition exploits will now try a little harder when it
  actually encounters a race condition.

- Updated the IPv6 patch.
2003-07-02 16:42:08 +00:00