You can perform various actions test the changes that you make to your configuration file.
First, restart the sendmail service on any system that has a revised configuration file.
# svcadm refresh network/smtp:sendmail
Try the following actions to test the new configuration:
Send test messages from each system.
# /usr/lib/sendmail -v names </dev/null
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.
If you are connected to a network, send mail from the following systems to other users on different systems:
From the main system to a client system
From a client system to the main system
From a client system to another client system
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.
Send messages from different systems to postmaster and ensure that the messages are delivered to your postmaster's mailbox.