Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do i test Sendmail from the terminal 2

Status
Not open for further replies.

zahersyed

IS-IT--Management
Mar 28, 2005
2
US
Hey guyz,
I am having problems with my sendmail. Please can someone give me the command line to send a test mail to e-mail address like hotmail or yahoo.
 
cat some_file.txt |mail -s "test mail" user@hotmail.com

Chacal, Inc.[wavey]
 
Or maybe /usr/lib/sendmail -v no.body@anywhere.com < /etc/motd (assuming you have a message-of-the-day file). This'll do a verbose sendmail.... no.body is a dummy account usually created when Unix/Linux is installed...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top