confEBINDIR

Bin directory for mail.local and smrsh Build macro

The confEBINDIR macro tells the Build program where to install the smrsh(1) (Configure to Use smrsh on page 380) and mail.local(1) (FEATURE(local_lmtp) on page 625) programs when they are built. Defining it sets the directory where these programs will be installed, and where sendmail will look when executing them. For example:

define(`confEBINDIR', `/opt/mail/bin')

There is not a single default for this setting. Instead, it is usually predefined in one of the osytpe files (OSTYPE( ) m4 macro on page 590) specific to your operating system (normally /usr/libexec or /usr/sbin).

The smrsh(1) program is located in the smrsh subdirectory of the source distribution. It can be built like this:

% cd smrsh
% ./Build -f ../../builds/oursite.m4

The mail.local program is located in the mail.local subdirectory of the source distribution. It can be built like this:

% cd mail.local
% ./Build -f ../../builds/oursite.m4

Be sure that the setting of confEBINDIR in your m4 build file matches the setting in your configuration m4 file. If you fail to take this precaution, those programs will be installed in a directory different from the one in which sendmail expects to find them.

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.