2003-02-17 02:45:31 +01:00
|
|
|
===========================================================================
|
2004-10-12 00:14:51 +02:00
|
|
|
$NetBSD: MESSAGE,v 1.4 2004/10/11 22:14:51 reed Exp $
|
2003-02-17 02:45:31 +01:00
|
|
|
|
|
|
|
To use nullmailer, you will need to perform the following steps:
|
|
|
|
|
2003-02-17 06:20:20 +01:00
|
|
|
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.
|
2003-02-17 02:45:31 +01:00
|
|
|
|
|
|
|
smtp.relayhost.domain smtp
|
|
|
|
|
2003-02-17 06:20:20 +01:00
|
|
|
2. Back up /etc/mailer.conf and copy nullmailer's own one from
|
|
|
|
${PREFIX}/share/examples/nullmailer/mailer.conf
|
2003-02-17 02:45:31 +01:00
|
|
|
|
2003-02-17 06:20:20 +01:00
|
|
|
3. In case you don't have PKG_RCD_SCRIPTS set in your /etc/mk.conf, copy
|
2004-10-12 00:14:51 +02:00
|
|
|
${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/nullmailer to /etc/rc.d/nullmailer and add
|
2003-02-17 02:45:31 +01:00
|
|
|
|
|
|
|
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.
|
|
|
|
===========================================================================
|