Prev | Current Page 163 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"


The default arguments given to the program are -f -s followed by the name of the file to
symbolically link. You can change those arguments by using this confLNOPTS Build macro:
define(`confLNOPTS??, `-s??)
Here, we removed the -f switch, which forces an unconditional link. Another use for this
confLNOPTS Build macro would be to devise arguments for a different or custom linking
program (see the previous section).
2.7.33 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).
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 withth e confUBINDIR macro (?§2.7.70 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??)
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.


Pages:
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
Okna PCV Wrocław Kurs architektury wyprawy 47lw570s stolarka aluminiowa częstochowa