pkgsrc-wip/sendmail/MESSAGE

68 lines
3.1 KiB
Plaintext

===========================================================================
$NetBSD: MESSAGE,v 1.8 2014/12/06 23:22:20 jnemeth Exp $
INCOMPATIBLE CONFIG CHANGE
If you are updating from a previous version to 8.15.1 or later,
note that there has been an incompatible config change for IPv6
addresses:
Incompatible Change: Use uncompressed IPv6 addresses by default,
i.e., they will not contain "::". For example,
instead of ::1 it will be 0:0:0:0:0:0:0:1. This
permits a zero subnet to have a more specific match,
such as different map entries for IPv6:0:0 vs IPv6:0.
This change requires that configuration data
(including maps, files, classes, custom ruleset,
etc) must use the same format, so make certain such
configuration data is updated before using 8.15.
As a very simple check search for patterns like
'IPv6:[0-9a-fA-F:]*::' and 'IPv6::'. If necessary,
the prior format can be retained by compiling with:
APPENDDEF(`conf_sendmail_ENVDEF', `-DIPV6_FULL=0')
in your devtools/Site/site.config.m4 file.
===========================================================================
To use "${PKGNAME}" as the system's mail transport agent you have
to install "${PREFIX}/share/examples/sendmail/mailer.conf" as global
mailwrapper configuration file. The command below will do that for you:
ln -fs ${PREFIX}/share/examples/sendmail/mailer.conf /etc/mailer.conf
You should also add a line to /etc/mtree/special.local so you won't
get a complaint in the daily insecurity e-mail like this:
./etc/mailer.conf type=link mode=0444
If you are changing the database format used by sendmail you must run
"newaliases" and "makemap" in order to re-create the databases.
You may also need to install (and/or customize) the configuration files
for Sendmail before it will be operational. "cd" to the directory
${PREFIX}/share/sendmail/cf
and read the file README for instructions on creating and installing
configuration files.
NOTE: If your system doesn't have mailwrapper and/or it won't
install on your system, then you will need to move aside system
supplied binaries and replace them with symlinks to the binaries
supplied with sendmail. The most important of these is the sendmail
binary itself. This is typically located at /usr/sbin/sendmail or
/usr/lib/sendmail. These will need to be moved aside, and you will
need to create a symlink from /usr/sbin/sendmail to
${PREFIX}/libexec/sendmail/sendmail. This is required because most
third party apps (or, even system supplied apps) will look for
sendmail at one of the above locations. There are a variety of
other apps such as: editmap, hoststat, mailq, mailstats, makemap,
newaliases, praliases, purgestat, and vacation. You can deal with
these either by having ${PREFIX}/bin and ${PREFIX}/sbin at the
beginning of your PATH, or creating symlinks. hoststat, mailq,
mailstats, newaliases, and purgestat are just links to sendmail.
===========================================================================