We telnet to port 25 (SMTP) of our machine and try to send our test user testuser (created during installation) an email. Let's type
telnet localhost 25
and we should see something like
220 email.organicbrownsugar.com ESTMP Sendmail 8.11.0/8.11.0; Mon, 30 Oct 2000 16:56:36 0500
Type in the following lines:
mail from: root@organicbrownsugar.com
rcpt to: testuser@organicbrownsugar.com
data
subject: I love the world and the world loves me!
Cool, I just installed and configured sendmail. Wow!!
.
and you should now see something like
250 2.0.0 e9UmxRw01218 Message accepted for delivery
Now enter
quit
Now log in as testuser on a different console (by pressing ALT+F2 for example) and type
mail
At the command prompt. You should see something like
Mail version 8.1 6/6/92. Type ? for help.
"/var/spool/mail/testuser": 1 message 1 new
>N 1 root@organicbrownsugar.com Mon Oct 30 16:59 13/571 "Hello from telnet"
& _
Now simply type 1 and enter to read the message. q exits from the mail application. Voila! We're half way and almost out of Texas.
Now compared to almost 5 pages DNS configuration this was pretty straightforward. Time to install POP3 and IMAP! Don't forget to logout again as the testuser and switch to your root console, otherwise our imap experience is not going to last very long