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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Testing Postfix

Status
Not open for further replies.

cornsnap

IS-IT--Management
Feb 4, 2004
12
US
Hello all,

Can anyone give me a command line option for testing postfix? I just want to send a simple email to test my new installation. Also can anyone point me to documentation regarding testing.

Thanks.
 
echo "test message" | mail -s "Testing1" email@domain.com

If you need to troubleshoot, you can get a little lower level by telnetting to port 25 and sending a message manually:

telnet mailhost 25
MAIL FROM:<me@mydomain.com>
RCPT TO:<tester@newdomain.com>
DATA
SUBJECT: Test Message
This is a test
.
quit

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top