RSS Subscription
Linux Howtos & Tutorials

Enter your email:

Delivered by


NOTE:New tutorials are from LinuxCareer.com

Poll

Do you own or wish to have iPhone?
 


Linux eBooks FREE Download
A guide to programming Linux kernel modules
Introduction to Linux - A Hands on Guide
A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

Linux: The Hacking Solution (v.3.0)

SQLite 3 with PHP Essential Training – Free Video Training Tutorials

This guide will introduce you to the world of GNU/Linux

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)

Advanced Bash-Scripting Guide

Set up, maintain, and secure a small office email server

Partner Linux Sites:
How-To.LinuxCareer.com
Jobs.LinuxCareer.com
TuxMachines
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
All For Linux

Send an email using Telnet

Here are simple steps on how to send an email using telnet. This a great way to test your mail server configuration such as exim, sendmail or postfix without a need for a email client. First telnet to yor mail server:

$ telnet mail.mymailserver.com 25

Use HELO command to tell mail server from which domain you are coming from:

HELO linuxconfig.org

Now we need to state from which address this email will be sent. This is done with MAIL FROM: command:

MAIL FROM: someaddress@linuxconfig.org

Next step is to specify recipient with RCPT TO:

RCPT TO: some@email.add

Now we ca star writing some subject and body. To do that we need to use DATA command. First type DATA followed by Subject: and body. Once done enter . to send email to be queued.

DATA
Subject: Sending an email using telnet

Hello,

Here is my body? Do you like it?

cheers
.

Do not forget "." at the end of the message. To quit type

quit

Share this linux post:

Submit Send an email using Telnet in Delicious Submit Send an email using Telnet in Digg Submit Send an email using Telnet in FaceBook Submit Send an email using Telnet in Google Bookmarks Submit Send an email using Telnet in Stumbleupon Submit Send an email using Telnet in Technorati Submit Send an email using Telnet in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.


Linux eBooks FREE Download