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


Previous Section Next Section

confEBINDIR

Bin directory for mail.local and smrsh Build macro

The confEBINDIR macro tells the Build program where to install the smrsh(1) (Section 5.8.2) and mail.local(1) (FEATURE(local_lmtp)) 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 (Section 4.2.2.1) 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.

    Previous Section Next Section