-C

Use an alternative configuration file praliases command-line switch

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 two prefixes:

O AliasFile=
OA

The location of the configuration file is defined at compile time with _PATH_SENDMAILCF (_PATH... on page 131). 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/sendmail.cf.new

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.