![]() ![]() |
To perform delivery, sendmail needs to find information about any recipient or sender that is local. The items of interest are:
In the past, all of this information was gathered using getpwent(3). Beginning with V8.12 sendmail, it is possible to specify this or a different method using an API designed to allow you to write your own method. The MailboxDatabase option is used to specify how user information is acquired: O MailboxDatabase=method Here, the method is of type string. The default (and, as of V8.12, the only) method is the literal string pw, which means to use getpwent(3). An LDAP implementation of a method is included in the source as an example. If you wish to write your own method, see the code in libsm/mbdb.c. The MailboxDatabase option is not safe. If it is specified from the command line, it can cause sendmail to give up any special privileges. |
![]() ![]() |