How to Test the Mail Configuration
To test the changes that you make to your
configuration file, follow these instructions.
- Restart sendmail on
any system that has a revised configuration file.
# svcadm refresh network/smtp:sendmail
- Send test messages from each system.
# /usr/lib/sendmail -v names </dev/null
- names
Specify a recipient's email address.
This command sends a null message to the specified recipient
and displays the message activity on your monitor.
- Send mail to yourself or other
people on the local system by addressing the message to a regular
user name.
- (Optional)If you are connected to a network, send mail in three
directions to someone on another system.
From the main system to a client system
From a client system to the main system
From a client system to another client system
- (Optional)If you have a mail gateway, send mail from the mail host
to another domain to ensure that the relay mailer and host are configured
properly.
- (Optional)If you have set up a UUCP connection
on your phone line to another host, send mail to someone at that host.
Have that person send mail back or call you when the message is received.
- Ask someone to send mail to you
over the UUCP connection.
The sendmail program
cannot detect whether the message is delivered because the program
passes the message to UUCP for delivery.
- From
different systems, send a message to postmaster and
ensure that the message is delivered to your postmaster's mailbox.