7fa8d136b7
- Fixed problem with multiple arguments to protocol modules. Thanks Sascha Silbe. - Fixed extraneous spaces in SMTP sender. - Made permissions on queued files more strict. - Handle the "-bs" flag in the sendmail wrapper by dieing when we see it. - Fixed the address parser handling domain names with trailing periods. - Fixed bug in header parsing that would cause the last header line to be repeated if there was no body. - Fixed bug in handling headers containing CR+LF line endings. pkgsrc changes: * Replace @exec and @unexec in PLIST with bsd.pkginstall.mk incantations * sort PLIST * Honor VARBASE in manpages and rc.d script * Enable logging in rc.d script * Allow rc.d script to start nullmailer without rc.subr * Take MAINTAINER.
35 lines
1.3 KiB
Text
35 lines
1.3 KiB
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.5 2005/08/20 02:20:45 schmonz Exp $
|
|
|
|
To use nullmailer, you will need to perform the following steps:
|
|
|
|
1. Create a ${PKG_SYSCONFDIR}/nullmailer/remotes file.
|
|
The file should contain a line with the name of your relay host
|
|
and the relay protocol to be used, eg.
|
|
|
|
smtp.relayhost.domain smtp
|
|
|
|
2. Back up /etc/mailer.conf and copy nullmailer's from
|
|
${PREFIX}/share/examples/nullmailer/mailer.conf
|
|
|
|
3. If you don't have PKG_RCD_SCRIPTS set in your /etc/mk.conf, copy
|
|
${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/nullmailer to
|
|
${RCD_SCRIPTS_DIR}/nullmailer and add
|
|
|
|
nullmailer=YES
|
|
|
|
to /etc/rc.conf. Other MTA's, (eg. sendmail, exim), should be set
|
|
to NO.
|
|
|
|
4. Stop any other running MTA. Now start nullmailer by issuing the
|
|
command
|
|
|
|
${RCD_SCRIPTS_DIR}/nullmailer start
|
|
|
|
5. You may need to add further configuration files to the directory
|
|
${PKG_SYSCONFDIR}/nullmailer. These include the `adminaddr',
|
|
`defaultdomain', `defaulthost', `idhost', `me', and `pausetime'
|
|
files. This will depend on your local setup. See the
|
|
nullmailer(7), nullmailer-queue(8), and nullmailer-send(8) manual
|
|
pages for details.
|
|
===========================================================================
|