Commit graph

146 commits

Author SHA1 Message Date
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
jlam
acdcbd2b1e bl3ify 2004-01-11 07:40:13 +00:00
grant
b601f7801b no need for PLIST_SUBST+=PKG_SYSCONFDIR 2003-12-18 03:37:17 +00:00
jlam
b75487d7a2 Only install smtpd.conf if we're using SASL. Fixes bulk build breakage
from Al's 20031124 results.
2003-11-26 06:03:41 +00:00
jlam
6afd00acfc A few more whitespace nits. 2003-11-21 16:07:13 +00:00
jlam
e06c112bc5 Whitespace fixes and rearrange a few lines to group related stuff together. 2003-11-21 15:54:40 +00:00
jlam
fefb138ad3 * With SASL2, the correct pwcheck_method to use the /etc/sasldb2 is
"auxprop".

* Modify the package so that the smtpd.conf file is initially stored
  with the other example files and copied over to its true location
  via CONF_FILES.  This allows modifying the postfix installation to
  use some other SASL authenticaion method, e.g. PLAIN with saslauthd
  through TLS.

* Only allow using one SASL library or the other, and prefer SASL2 to
  SASL1.
2003-11-21 15:33:41 +00:00
kleink
9b2f09a0b8 Sync with cyrus-sasl2's buildlink2.mk reality. 2003-11-10 16:27:37 +00:00
martti
14aae230e2 Be the MAINTAINER for this package. 2003-11-01 13:34:10 +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
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +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
martti
49e5da662f Updated postfix to 2.0.12
- Stricter smtpd input checks rejected invalid addresses starting with @.

- Stricter postdrop input checks broke "sendmail -bs".

- New "postcat -q" (search the queue for the named file) support
  from snapshot release because I can no longer see people suffer.

- Allow <@site,@site:address> route addresses in SMTP commands.
  This address form was deprecated years ago.

- "sendmail -q<time>" without -bd option now exits immediately,
  instead of waiting for input and screwing up system boot sequences.

- The Postfix LMTP client used the wrong service name, causing
  trouble with SASL 2.1.13.

- Turned off non-blocking write to pipe because too many systems
  gave an unexpected write() result, causing partial delivery of
  messages to commands like procmail.
2003-06-16 08:29:22 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
taca
d9eb5e3fed Remove commented out PKGREVISION line. 2003-05-25 05:33:55 +00:00
taca
3cc4108bdc Update postfix to 2.0.10.
- Ugly but harmless warnings from nqmgr after "postsuper -r" to
  requeue files that already had some recipients delivered.

- The proxy_read_maps parameter did not recognize "," as separator.

- The local delibery agent now defers delivery after .forward etc.
  file read error.

- The message_size_limit was applied when running "newaliases",
  so that the result alias database could be truncated on systems
  with very small message size limits.

The official release changes for bugfixes and portability issues only.
2003-05-25 05:31:09 +00:00
martti
327b109c4a Updated the IPv6 patch. IPv6 support is activated by setting
POSTFIX_USE_INET6=YES in /etc/mk.conf before building this package.
2003-05-21 09:24:00 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
jmmv
83877c7a60 - Move all "share" files to share/examples/postfix; all of them are used
as samples, either by the user or by bsd.pkg.install.mk.
- Correctly handle configuration files, that is, avoid touching the conf
  directory directly.
- Use OWN_DIRS to handle the spool directory.
- Run post-install through an INSTALL script.
- Sort PLIST after all these changes.
- Bump PKGREVISION to 1.
2003-05-01 14:07:56 +00:00
martti
14646b69f3 Updated postfix to 2.0.9
- The SMTP client did not deliver a partial last line when someone
  submitted 8BITMIME mail not ending in newline via /usr/sbin/sendmail
  while MIME input processing was turned off, and MIME 8bit->7bit
  conversion was requested upon delivery.
2003-04-21 06:25:50 +00:00
martti
7678c0b026 Updated postfix to 2.0.8
- Postfix processes now abort when given a net/mask pattern with
  a non-zero host portion (for example, 168.100.189.2/28), instead
  of risking to become an open mail relay.

- Workaround for file system clock drift that caused Postfix to
  ignore new mail (this could happen with queue file systems mounted
  from a server).
2003-04-17 06:22:18 +00:00
taca
ebbfaa639c required_files should honor PKG_SYSCONFDIR. 2003-04-06 16:26:01 +00:00
taca
5d5f742c3c Update ipv6+tls patch in comment (and distinfo). 2003-03-21 05:21:23 +00:00
wiz
6f9fdaa0c8 Undo PKGREVISION bump (not necessary since the whole package was updated
to 2.0.7).
2003-03-20 22:47:04 +00:00
christos
3adea874d7 Add PKGREVISION=1 [wiz told me so] 2003-03-20 22:37:07 +00:00
christos
68bc79e152 - upgrade to 2.0.7
- add kim's recipient canonicalization patch.
NOTE: TLS was disabled and is still disabled in this version.
2003-03-20 22:23:21 +00:00
christos
3acb24b2bf Add kim's recipient canocalization patch 2003-03-20 22:04:47 +00:00
jlam
3ef633718c (1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
Makefiles simply need to use this value often, for better or for
    worse.

(2) Create a new variable FIX_RPATH that lists variables that should
    be cleansed of -R or -rpath values if ${_USE_RPATH} is "no".  By
    default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
    additional variables may be appended from package Makefiles.
2003-03-14 19:37:30 +00:00
taca
e95f0c5d8b Update tls+ipv6 patch in comment.
Is it still need commented out?  (Though I can't test completely either...)
2003-03-07 03:08:33 +00:00
martti
f1ed699393 Updated postfix to 2.0.6
Postfix 2.0 patchlevel 6 intends to protect vulnerable Sendmail
systems against exploitation of a remote buffer overflow problem
that is described in CERT advisory CA-2003-07.

- Postfix now truncates non-address information in message address
  headers (comments, etc.) to 250 characters per address. This should
  rarely present a problem.  Reportedly, junk mail from poorly written
  software can trigger the protection, but that is no great loss.

- Some little fixes to documentation.
2003-03-06 06:24:58 +00:00
martti
a01ffa5d4c Updated postfix to 2.0.5
- The SMTP server's hard and soft error limits were off by one.
  With "smtpd_hard_error_limit = 1", Postfix will now disconnect
  after the first error, instead of the second one.

- The proxymap server could deadlock when the mydestination parameter
  setting included a proxymapped lookup table.

- Some little fixes to documentation.
2003-03-04 07:11:41 +00:00
taca
fc106dff90 Use correct tls+ipv6 patch (still in comment). Previous was for different
postfix snapshot.
2003-02-23 13:18:26 +00:00
taca
d45a0972ec Make tls+ipv6 patch up to date. NOT tested at all and still commented out. 2003-02-23 04:31:26 +00:00
martti
b34abed20c Updated postfix to 2.0.4
- The format of maildir filenames is synchronized with the present
  version of the maildir definition document. This format was already
  adopted by the 20030126 snapshot release.

- The time limit on delivery to external commands was not enforced.
  This was broken probably some time before the first public Postfix release.

- Duplicate elimination after virtual alias expansion works again.
  This was broken with the introduction of the original recipient attribute.

- The local pickup daemon dropped incomplete records from local
  submissions. This was broken somewhere in the middle of 2002.
2003-02-21 11:49:55 +00:00
schmonz
42df8deedf Remove 0-byte patch file. 2003-02-01 23:19:46 +00:00
lukem
383904a80b + Use PKG_SYSCONFDIR (/usr/pkg/etc/postfix) instead of /etc/postfix for
configuration.
+ Document how to use /etc/rc.conf.d/postfix on NetBSD 1.5 and newer
  to start /usr/pkg/sbin/postfix instead of /usr/sbin/postfix
+ Ensure that the postfix user and the postfix & maildrop groups exist.

Adds Darwin support, and prevents a working NetBSD postfix setup from being
broken on a "make install" of this package because the package used to
change /etc/postfix/{post-install,postfix-files,postfix-script}.

These changes are mostly from Amitai Schlair <schmonz@netbsd.org>,
with some tweaks by me.  (Thanks Amitai!)
2003-01-31 23:53:04 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
taca
3d8571e919 - Use the latest IPv6+TLS patch (tls+ipv6-1.12-pf-2.0.3), and include it
in distinfo.  (still commented out.)
- Comment out POSTFIX_USE_TLS part in Makefile since the patch is out of
  date now.
2003-01-26 13:20:08 +00:00
martti
75a6046224 Updated postfix to 2.0.3
- Postfix 2.0 broke relocated table lookup results with mail not
  rejected at the SMTP port, causing "User has moved to" text to be deleted.

- A widely used maildir filename generating algorithm was broken.
  This affects all Postfix versions with maildir support. Instead of
  TIME.PID_COUNT.HOST Postfix now uses TIME.DEVICE_INODE.HOST.

- Postfix 2.0 gave incorrect FILTER_README instructions for sites
  that wish to disable virtual alias mapping before the content filter.
2003-01-25 07:22:19 +00:00
martti
e0c4dafe6f Use the latest IPv6+TLS patch (it's still commented-out). 2003-01-23 06:50:21 +00:00
martti
304834e844 Updated postfix to 2.0.2
- Added MAILER-DAEMON to the list of always recognized local
  addresses, since it is generated by Postfix bounces.

- Bugfix: transport_errno was not reset upon successful
  transport map wildcard lookup after an earlier failure.

- Cleanup: unnecessary warnings from the proxymap client
  after proxymap server disconnect.

- Cleanup: Patrik Rak found a few more chattr invocations
  that were missed 20021209. Files: postfix-install,
  conf/post-install.

- Cleanup: the pcre-config command can produce null outputs.

- Bugfix: the virtual(8) Makefile included $(AUXLIBS) in the
  dependencies.

- Bugfix: fixed in the snapshots 20030105 but missed in the
  stable release. "sendmail -bs" tried to access the proxymap
  service.  It should not try to open any user/domain/uce
  related tables at all.
2003-01-15 17:15:04 +00:00
martti
95a87dffd5 Re-organized the IPv6 patch stuff. The IPv6 support is still commented-out
even though it seems to work now.

Why commented-out? This patch also includes a TLS patch and I don't know
if it's better/more stable/whatever compared to the existing TLS patch.

What I'd like to have is a separate patch for IPv6 and TLS. According to
the author this is available in the near future.
2003-01-14 13:05:14 +00:00
martti
e07be818f5 Updated postfix to 2.0.0.2
IMPORTANT: read the documents in /usr/pkg/share/doc/postfix/ before
upgrading from Postfix 1.1.

Hightlights:

- MIME support (including 8bit->7bit conversion and more
  accurate matching of MIME headers in message bodies)
- completely rewritten RBL client code
- smarter handling of DNS lookup errors in UCE restrictions
- virtual delivery agent without transport map for every domain
- a long list of other things that are meant to improve performance
  or functionality without compromising what already existed.
2003-01-06 09:15:49 +00:00
martti
2977a09255 - Added support for LDAP (provided by Ron Roskens in PR#19173, minor path
fixes by me)
- Sorted POSTFIX_USE_xxx options
2002-11-26 07:20:06 +00:00