home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Previous Section Next Section

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}/purgestat

Here, ${UBINDIR} is separately defined with the confUBINDIR macro (confUBINDIR). 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 (See this section) can be used to relocate all installation directories.

    Previous Section Next Section