1.Create an access database file in /var/adm/sendmail/accessdb using the format shown in Example 5.
2.After you create the access table in a text file, use the makemap command to create the database map, based on the data in the table. For example:
# makemap btree accessdb < accessdb
This command creates the accessdb.db file in BTREE format. Sendmail uses this file to determine whether to accept or reject the relaying of mail messages. For more information on the makemap command, see the makemap(8) reference page.
After creating an access database, you can specify sendmail.cf options for this database using the Administration utility.
To configure the access database, follow these steps:
1.Under Mail on the Manage Components menu, choose Sendmail Server.
2.From the Sendmail Server Administration menu, choose Configure Sendmail Server.
3.On the Configure Sendmail Server menu, make sure that Server is selected and click on Configure.
4.From the Configure Sendmail Server menu, choose Configure
5.From the Configure
Figure 22 Configuring an Access Database
6.On the Configure Access Database form, set the Use Access Database checkbox to enable access database lookups. (You can turn off this checkbox to disable database lookups while retaining the access database configuration.)
7.Enter the complete pathname for the access database you created but do not include the extension. (The default pathname is /var/adm/sendmail/accessdb.)
8.Set the Suppress Errors in the Absence of the Database File checkbox to prevent Sendmail from performing a database lookup if the access database does not exist. (This parameter corresponds to the
9.Ordinarily, Sendmail strips all nonescaped quotation marks and removes any backslashes (\) from a key before looking it up in the access database. For example:
“Bob \?bigboy\?Roberts \(esq\)"@bob.com is ordinarily converted to: