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