HP-UX Mailing Services Administrator's Guide (B2355-91064)
The Sendmail startup script then invokes the Sendmail daemon by issuing the
following command:
/usr/sbin/sendmail -bd -q30m
By using the -q30m option, Sendmail processes the mail queue every 30 minutes.
For more information about Sendmail’s command line options, type man 1M
sendmail at the HP-UX prompt.
Configuring Sendmail on a Mail Server
This section describes how to configure a system to allow users on other (client) systems
to use Sendmail.
The mail server receives mail for local users and for the users on client systems. Users
on client systems mount the mail directory from the server and read or access mail
over an NFS link. For more information on how Sendmail clients and servers work,
see “Default Client/Server Operation” (page 33).
The Sendmail installation script performs the configuration changes that are described
in “Configuring Sendmail on a Standalone System” (page 38). To set up the system as
an NFS server and allow the Sendmail clients to read and write to the /var/mail
directory, do the following:
1. Ensure that all mail users have accounts on the mail server and that their user IDs
and group IDs on the mail server are the same as on the client machines. (This step
is not necessary if you are using NIS and your mail server is in the same NIS
domain as the clients.)
2. Use a text editor to set the NFS_SERVER variable to 1 in the
/etc/rc.config.d/nfsconf file.
3. Use a text editor to add the following line to the /etc/exports file:
/var/mail -access=client1,client2, ...
where each mail client is listed in the access list. If the /etc/exports file does
not exist, you must create it.
4. Issue the following command to run the NFS startup script:
/sbin/init.d/nfs.server start
For more information on NFS, see NIS Administrator's Guide, at the URL
http://docs.hp.com/en/netcom.html.
Configuring Sendmail on a Mail Client
Sendmail clients do not receive mail on their local system, but receive mail on the mail
server. User mail directories reside on the server, and users read their mail over an
Configuring Sendmail 39