confUBINDIR

Location of user executables Build macro

User-executable programs are those that can be run without special permissions. The confUBINDIR macro determines where such programs will be installed. User programs for this macro are newaliases, mailq, hoststat, purgestat, vacation, and rmail. (Note that editmap, mailstats, makemap, and praliases use confSBINDIR, and that smrsh and mail.local use confEBINDIR.) The confUBINDIR macro is usually correctly defined inside your devtools/OS file. To redefine it, simply enter in your m4 build file a line that looks something like this:

define(`confUBINDIR', `/usr/local/bin')

Be forewarned, however, that if you relocate these programs, you might also have to remove earlier installed or vendor-supplied versions to avoid having users running the wrong programs. And note that -E DESTDIR (DESTDIR= on page 349) can be used to relocate all installation directories.

Get sendmail, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.