Thu Dec 20 20:38:46 2012 UTC ()
add details about what to do if you don't have mailwrapper


(jnemeth)
diff -r1.6 -r1.7 pkgsrc/mail/sendmail/MESSAGE

cvs diff -r1.6 -r1.7 pkgsrc/mail/sendmail/MESSAGE (expand / switch to unified diff)

--- pkgsrc/mail/sendmail/MESSAGE 2007/10/16 09:34:18 1.6
+++ pkgsrc/mail/sendmail/MESSAGE 2012/12/20 20:38:46 1.7
@@ -1,27 +1,44 @@ @@ -1,27 +1,44 @@
1=========================================================================== 1===========================================================================
2$NetBSD: MESSAGE,v 1.6 2007/10/16 09:34:18 jnemeth Exp $ 2$NetBSD: MESSAGE,v 1.7 2012/12/20 20:38:46 jnemeth Exp $
3 3
4To use "${PKGNAME}" as the system's mail transport agent you have 4To use "${PKGNAME}" as the system's mail transport agent you have
5to install "${PREFIX}/share/examples/sendmail/mailer.conf" as global 5to install "${PREFIX}/share/examples/sendmail/mailer.conf" as global
6mailwrapper configuration file. The command below will do that for you: 6mailwrapper configuration file. The command below will do that for you:
7 7
8ln -fs ${PREFIX}/share/examples/sendmail/mailer.conf /etc/mailer.conf 8ln -fs ${PREFIX}/share/examples/sendmail/mailer.conf /etc/mailer.conf
9 9
10You should also add a line to /etc/mtree/special.local so you won't 10You should also add a line to /etc/mtree/special.local so you won't
11get a complaint in the daily insecurity e-mail like this: 11get a complaint in the daily insecurity e-mail like this:
12 12
13./etc/mailer.conf type=link mode=0444 13./etc/mailer.conf type=link mode=0444
14 14
15 15
16If you are changing the database format used by sendmail you must run 16If you are changing the database format used by sendmail you must run
17"newaliases" and "makemap" in order to re-create the databases. 17"newaliases" and "makemap" in order to re-create the databases.
18 18
19You may also need to install (and/or customize) the configuration files 19You may also need to install (and/or customize) the configuration files
20for Sendmail before it will be operational. "cd" to the directory 20for Sendmail before it will be operational. "cd" to the directory
21 21
22 ${PREFIX}/share/sendmail/cf 22 ${PREFIX}/share/sendmail/cf
23 23
24and read the file README for instructions on creating and installing 24and read the file README for instructions on creating and installing
25configuration files. 25configuration files.
26 26
 27
 28NOTE: If your system doesn't have mailwrapper and/or it won't
 29install on your system, then you will need to move aside system
 30supplied binaries and replace them with symlinks to the binaries
 31supplied with sendmail. The most important of these is the sendmail
 32binary itself. This is typically located at /usr/sbin/sendmail or
 33/usr/lib/sendmail. These will need to be moved aside, and you will
 34need to create a symlink from /usr/sbin/sendmail to
 35${PREFIX}/libexec/sendmail/sendmail. This is required because most
 36third party apps (or, even system supplied apps) will look for
 37sendmail at one of the above locations. There are a variety of
 38other apps such as: editmap, hoststat, mailq, mailstats, makemap,
 39newaliases, praliases, purgestat, and vacation. You can deal with
 40these either by having ${PREFIX}/bin and ${PREFIX}/sbin at the
 41beginning of your PATH, or creating symlinks. hoststat, mailq,
 42mailstats, newaliases, and purgestat are just links to sendmail.
 43
27=========================================================================== 44===========================================================================