confLINKS
What to link to sendmail Build macro
A few different names need to be created to make sendmail easier to use. Shown in Table 2-7, they are created by symbolic links to the sendmail binary (except smtpd, which is not automatically linked).
Table 2-7. Symbolic links to sendmail
|
Name |
Description |
|---|---|
|
hoststat |
Print persistent host status. |
|
mailq |
Display the queue. |
|
newaliases |
Initialize alias database. |
|
purgestat |
Purge persistent host status. |
|
smtpd |
Run as a daemon. |
The names and locations of these links are defined
with the confLINKS macro. The default values
are:
${UBINDIR}/newaliases ${UBINDIR}/mailq ${UBINDIR}/hoststat ${UBINDIR}/purgestatHere, ${UBINDIR} is
separately defined with the confUBINDIR macro (confUBINDIR on page 100). For example,
if you wished to put all the links in
/usr/local/bin and wanted to
add smtpd to the list, you
could do this:
define(`confUBINDIR', `/usr/local/bin')
APPENDDEF(`confLINKS', `${UBINDIR}/smptd')But be forewarned that if you put the links in a new location, you should probably also remove the old links from the former default location. Also note that -E DESTDIR (DESTDIR= on page 349) can be used to relocate all installation directories.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access