The praliases program reads the sendmail program’s configuration file to locate the aliases database files. It scans the configuration file looking for lines that begin with one of the two following prefixes:

O AliasFile=

The location of the configuration file is defined at compile time with _PATH_SENDMAILCF (_PATH...). If you wish to use a different configuration file, you can do so by specifying it with this -C command-line switch:

% praliases -C /etc/mail/

Get Sendmail, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.