Commit graph

184 commits

Author SHA1 Message Date
jlam
34aeba7d09 Teach the MESSAGE files about DOCDIR. 2004-07-19 22:10:52 +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
956fcc1fb4 Fix the install message to note that "upgrade-configuration" is all that
you need.
2004-07-19 22:03:13 +00:00
jlam
0572483cd9 Don't hardcode directories... instead, use postconf to dig them out of the
postfix configuration.  Also make required_{dirs,files} work in the
installed rc.d script.
2004-07-19 22:02:15 +00:00
jlam
35fae82b17 If neither USE_SASL or USE_SASL2 are defined and POSTFIX_OPTIONS includes
"sasl", then use SASLv2 by default.
2004-07-19 20:34:50 +00:00
jlam
44703d4594 Stop the proliferation of <PKG>_USE_<FOO> yes/no variables in the
mail/postfix package -- create a new option "POSTFIX_OPTIONS" that is a
list of optional add-ons that will be built into Postfix.  Currently,
it accepts any of "inet6 ldap mysql mysql4 prce sasl tls".  Move the
existing POSTFIX_USE_* variables into bsd.pkg.obsolete.mk.

Also split out the optional add-ons into a separate Makefile.options
so that the main Makefile workflow is a bit easier to understand.

Lastly, collapse the pre-install target into the do-install target we run
custom code for the whole install process anyway.

Approved by martti.
2004-07-19 19:59:16 +00:00
jlam
f00a3a98df The sample-*.cf files aren't installed, so refer the user to the
SASL_README file for more info.
2004-07-19 05:28:07 +00:00
jlam
5ff84b195b Rename POSTFIX_SPOOL to POSTFIX_QUEUE_DIR to more closely match the
Postfix terminology.
2004-07-19 04:51:52 +00:00
jlam
1683eac382 Compute the value of spooletcdir at run-time rather than hardcoding it. 2004-07-19 04:51:07 +00:00
jlam
fb55cfbc3c Don't blindly run the post-install script; instead, tell the user to do
so in the MESSAGE file.  This makes upgrading existing Postfix
installations less annoying.
2004-07-19 03:25:11 +00:00
jlam
2bbbb174c9 Make the messages for using both SASL and TLS more helpful. 2004-07-19 02:48:42 +00:00
jlam
24c8be8261 The sample-*.cf files are no longer installed as of Postfix 2.1. 2004-07-19 02:46:30 +00:00
jlam
434eb20f68 Rename SHAREDIR to EXAMPLEDIR to more accurately reflect the contents and
location of that directory.
2004-07-19 02:33:31 +00:00
jlam
338b9a9d3b /var/spool/postfix is stored in the Makefile variable POSTFIX_SPOOL. Be
pedantic and substitute for it so that if we ever have a way to change it,
postfix.sh will still be correct.
2004-07-18 23:42:48 +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
cube
e1aaa019a4 Drop localized *_USE_LDAP definitions and consistently use USE_OPENLDAP
instead.  As announced on tech-pkg.

Most notably affected are Postfix, sendmail, Samba and cyrus-saslauthd.  Be
sure to update your mk.conf accordingly.
2004-04-21 21:09:31 +00:00
grant
794f88655c indent a couple of blocks, minor whitespace tweak 2004-04-14 17:51:37 +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
minskim
9b499361bc Correct variable names for BUILDLINK_PREFIX.db*; BUILDLINK_PREFIX.db
is only valid with buildlink2, but not with buildlink3.

This fixes PR pkg/25175.
2004-04-14 04:28:38 +00:00
martti
59b96beb0e db4 is needed in Linux when POSTFIX_USE_LDAP=YES (pkg/25120 by Jukka Salmi) 2004-04-13 06:29:43 +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
701f7297b8 add CONFLICT on sendmail, which also installs bin/mailq and
bin/newaliases.
2004-03-07 10:16:05 +00:00
grant
5bab0492f1 install rc.subr-style script on all platforms but NetBSD-1.5 and above
(which already has a suitable /etc/rc.d/postfix).
2004-03-07 10:13:46 +00:00
grant
9229549e40 move BUILD_DEFS outside of their respective conditionals, so the
not defined/value output is shown at the start of the build.
2004-03-06 06:52:43 +00:00
grant
af2e0d711c ressurect external patch checksums lost in last commit. 2004-03-06 06:47:41 +00:00
grant
467251f192 move NetBSD specific MESSAGE to its own file. 2004-03-06 06:28:22 +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
grant
3cc9066938 run postfix's post-install with "command_directory=prefix/sbin"
argument so it can find postconf.

bump PKGREVISION.
2004-03-05 13:54: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
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