Home > Linux/Unix, OpenSource > Linux: Mail Server

Linux: Mail Server

Electronic mail (e-mail) is one of the popular services available on Internet hosts. E-mail software comes in two parts: a mail transport agent (MTA), which physically sends and receives mail messages, and a mail user agent (MUA), which reads messages and prepares new messages.

sendmail’s configuration file /etc/mail/sendmail.cf in Fedora and /etc/sendmail.cf

The sendmail mail transfer agent, you can use the mail command to compose and send a mail message to any user account on your Linux system. As a test, compose a message and send it to yourself.

For example,
mail edulaney
Subject: Testing e-mail
This is from my Linux system.

.Cc: but leave that blank.

After ending the message, the mail user agent passes the message to sendmail (the mail transport agent) for delivery to the specified address. sendmail delivers the mail message immediately.

To verify the delivery of mail, type mail to run the mail command again and read the message. Thus, the initial sendmail configuration file is adequate for sending and receiving e-mail, at least within your Linux system.

Categories: Linux/Unix, OpenSource Tags: ,
  1. February 18, 2012 at 1:44 am | #1

    Great clarification. I really like to make out the print Marcy Lu

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.