HP-UX Mailing Services Administrator's Guide

Configuring and Administering Sendmail
Configuring Sendmail
Chapter 2 45
The client system now forwards local mail to the mail server and
forwards other mail directly to remote systems. To configure the client
system to relay all mail to the mail server for delivery, see “Modifying the
Default Sendmail Configuration File” on page 48.
The NFS startup script mounts the /var/mail directory from the mail
server to your system.
Verifying your Sendmail Installation
This section provides information on how to verify your Sendmail
installation. It discusses the following topics:
“Sending Mail to a Local User” on page 45
“Using UUCP Addressing to Send Mail to a Remote User” on page 46
(if you are using UUCP Addressing)
“Using SMTP Transport to Send Mail to a Remote User” on page 47
(if you are using SMTP Addressing)
Sending Mail to a Local User
To check your local mailer or user agent, send a mail message to a local
user (for example, joe) on your system:
date | mailx -s "Local sendmail Test" joe
This must result in a message similar to the following being sent to user
joe:
From joe Wed Aug 6 09:18 MDT 2002
Received: by node2; Wed, 6 Aug 02 09:18:53 mdt
Date: Wed, 6 Aug 02 09:18:53 mdt
From: Joe User <joe>
Return-Path: <joe>
To: joe
Subject: Local sendmail Test
Wed Aug 6 09:18:49 MDT 2002
An entry in your /var/adm/syslog/mail.log file must have been
logged for the local message transaction. See “Configuring and Reading
the Sendmail Log” on page 97 for more information.