HP-UX Mailing Services Administrator's Guide
Configuring and Administering Sendmail
Configuring Sendmail
Chapter 246
Using UUCP Addressing to Send Mail to a Remote User
If you are using UUCP addressing, you can verify your Sendmail
installation by sending a mail message to a remote user with UUCP
transport by using a
host
!
user
address, where
host
is a system to
which your local host has a direct UUCP connection. (The uuname
command lists the UUCP names of known systems. Type man 1 uuname
at the HP-UX prompt for more information.)
To verify both inbound and outbound UUCP connections, mail the
message in a loop, using the syntax
remote_host
!
my_host
!
user
. For
example, if you execute the following command:
date | mailx -s “UUCP Test” node1!node2!joe
and node2 is your local host, you must receive a message simil
ar to this:
From node1!node2!joe Wed Aug 6 09:48 MDT 2003
Received: by node2; Wed, 6 Aug 02 09:48:09 mdt
Return-Path: <node1!node2!joe>
Received: from node1.UUCP; Wed, 6 Aug 02 09:30:16
Received: by node1; Wed, 6 Aug 02 09:30:16 mdt
Received: from node2.UUCP; Wed, 6 Aug 02 09:26:18
Received: by node2; Wed, 6 Aug 02 09:26:18 mdt
Date: Wed, 6 Aug 02 09:26:18 mdt
From: Joe User <node1!node2!joe>
To: node1!node2!joe
Subject: UUCP Test
Wed Aug 6 09:26:15 MDT 2002
An entry in your /var/adm/syslog/mail.log file must have been
logged for the UUCP mail transaction. See “Configuring and Reading the
Sendmail Log” on page 97 for more information.
NOTE In this example, if you send a mail message to yourself and if the remote
system is running Sendmail, ensure that the MeToo option is set in the
configuration file on the remote system. The remote system’s
configuration file must contain a line beginning with O MeToo. If the
remote host’s configuration file does not contain such an entry, Sendmail
on the remote host notices that the sender is the same as the recipient
and removes your address from the recipients’ list.