I cannot send any email [sendmail]

January 8, 2014 6.5k views
telnet localhost 25 Trying Connected to localhost. Escape character is '^]'. 220 localhost ESMTP Exim 4.80 Wed, 08 Jan 2014 18:55:21 +0000 HELO localhost 250 localhost Hello localhost [] MAIL FROM: and7@mydomain.com 250 OK RCPT TO: and7@mydomain.com 250 Accepted DATA 354 Enter message, ending with "." on a line by itself SUBJECT: Test This is a test message . 250 OK id=1W0yJ1-0000eY-PX But messages aren't delivered. I even tried to set RCPT TO: to my another email adress at gmail.com, still nothing. Messages aren't sent at all.
4 Answers
by Pablo Carranza
Due to the popularity of Gmail, Google Apps, Outlook.com, Yahoo! Mail & a myriad of other providers, many cloud-server users mistakenly fail to install a mail server, initially. However, humans are not the only ones that send electronic mail. If fact, many Linux server applications also need to send email. This tutorial will review how to install a send-only mail server on Ubuntu 12.04.
It works! thank you very much :)
Have another answer? Share your knowledge.