pkgsrc/mail/nullmailer/MESSAGE
reed 62071c8b2f RCD_SCRIPTS_EXAMPLEDIR was just changed to be a relative directory
under ${PREFIX} instead of being an absolute path.

So fix the references using RCD_SCRIPTS_EXAMPLEDIR to be
${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}.

This should have no changes to use before.

Please note that the MESSAGE files in most cases are wrong in the
first place. We have automated mechanisms and could have an automated
message for explaining rc.d script usage. (This is something to do!)
2004-10-11 22:14:51 +00:00

34 lines
1.3 KiB
Text

===========================================================================
$NetBSD: MESSAGE,v 1.4 2004/10/11 22:14:51 reed 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 own one from
${PREFIX}/share/examples/nullmailer/mailer.conf
3. In case you don't have PKG_RCD_SCRIPTS set in your /etc/mk.conf, copy
${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/nullmailer to /etc/rc.d/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
/etc/rc.d/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.
===========================================================================