Internet Express for Tru64 UNIX Version 6.8 Administration Guide (14233)

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 the Sendmail Server menu, choose Configure Virtual Domains.
5. On the Configure Virtual Domains form, set the Use Virtual Domains checkbox to enable
virtual domains. (You can turn off this checkbox to disable virtual domains while retaining
the virtual domains configuration.)
6. Enter the complete pathname for the virtual user table you created using the makemap
command. (The default is /var/adm/sendmail/virtusertable.)
7. Enter the host aliases that are mapped in the Virtual Domain database in the Virtual
Hosts/Domains list. If you configure virtual domains, then all the host aliases in this list will
be checked for mapping in the virtusertable.
8. Set the Suppress Errors in the Absence of the Database File checkbox to allow database
lookups to fail silently if the table_name.dir and table_name.pag files (where
table_name is the file name for your virtual user table) do not exist. (This parameter
corresponds to the -o option on the K configuration line in the sendmail.cf file.)
9. Ordinarily, Sendmail strips all nonescaped quotation marks and removes any backslashes
(\) from a key before looking it up in the virtual user table. For example:
Bob \bigboy\Roberts \(esq\)"@bob.com
is ordinarily converted to:
Bob "bigboy" Roberts (esq)@bob.com
To preserve quotation marks and escape characters (those preceded by a backslash) in keys
before database lookup, turn off the Strip Quotation Marks from Keys checkbox . (This
parameter corresponds to the -q option on the K configuration line in the sendmail.cf
file.)
10. Ordinarily, Sendmail converts a key to all lowercase letters before looking it up in the virtual
user table. If keys in the virtual user table are case-sensitive, turn off the Convert Keys to
Lowercase checkbox to prevent conversion to lowercase. (This parameter corresponds to
the -f option on the K configuration line in the sendmail.cf file.)
11. Click on Submit to change the server configuration.
When the Suppress Errors in the Absence of the Database Files checkbox is not checked, the
Administration utility checks that the filename.dir and filename.pag files exist (where
filename is the name of the virtual user table you specified in the Database File Name
field).
If there are no errors, the utility displays a message confirming that the configuration has
been changed, and indicates that the Sendmail server has been restarted. Click on OK to
return to the Configure SMTP Server menu.
If there were any errors in the configuration, the Administration utility displays a list of the
errors. Click on OK to return to the Configure Virtual Domains form.
5.1.4.4 Enabling Procmail as a Local Mailer
When you enable your Sendmail server to use /usr/bin/procmail as a local mailer, Procmail
is used as a replacement for the local mailer (for example, /bin/mail, /usr/bin/mail,
mail.local, rmail, and so on) to deliver to /var/spool/mail. Procmail allows system-wide
mail filtering. (For more information, see the procmail(1) reference page.)
To configure your system to use Procmail as a local mailer, 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.
5.1 Sendmail Server Administration 105