To test to see if your sendmail is working, type in either of the following lines:
telnet yourdomain 25Then once you are in the telnet, type:
telnet localhost 25
telnet 127.0.0.1 25
HELO yourdomainNow type in
MAIL FROM: user1@domain1
RCPT TO: user2@domain2
DATAYou should get a response back such as:
354 Enter mail, end with "." on a line by itselfType in something and end everything with a dot on the last line, then hit enter. Then check your email for new messages.
No comments:
Post a Comment