Name
UserDatabaseSpec
Synopsis
V8 sendmail, if compiled with USERDB defined (USERDB), can use a special, internally understood database called the User Database. Addresses that are defined in the User Database can be looked up and modified after aliasing but before the processing of the user’s ~/.forward file.
The workings of this database are described in userdb. The UserDatabaseSpec
option defines the name and location of the file containing this User
Database information.
The forms of the UserDatabaseSpec
option are as
follows:
O UserDatabaseSpec=path,... ← configuration file (V8.7 and later) -OUserDatabaseSpec=path,... ← command line (V8.7 and later) define(`confUSERDB_SPEC',``path,...'') ← mc configuration (V8.7 and later) OUpath,... ← configuration file (deprecated) -oUpath,...← command line (deprecated)
The argument path,
. . . is of type
string and is a comma-[75] or space-separated list of
elements. Those elements can be database pathnames, or other
information as described next. If path,
.
. . is missing or if the entire option is missing, the User Database
is not used. Otherwise, the User Database is used, and each database
is accessed in turn, leftmost to rightmost, in the list of paths.
There is no default for the mc technique.
The elements of path,
. . . can either be
pathnames of files or other methods of lookup, depending on the first
character of each:
- /
A lead slash causes the element to be interpreted as a pathname; for example, /etc/mail/userdb.
- @
A leading ...
Get Sendmail, 3rd 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.