Tip & How-To about Computers & Internet

How to Setup Linux Mail Server

Email is an important part of any Web site that you create. In a home environment, a free web based email service may be sufficient, but if you are running a business, then a dedicated mail server will be required. A mail server is an application that receives incoming e-mail from local users (people within the same domain) and remote senders and forwards outgoing e-mail for delivery, as example Microsoft Exchange, Gmail, etc. The system uses SMTP (Simple Mail Transfer Protocol) or ESMTP (extended SMTP) for sending e-mail, and either POP3 (Post Office Protocol 3) or IMAP (Internet Message Access Protocol) for receiving e-mail. In windows forum most of workstations are use Microsoft Exchange server or outlook express. In Linux forum there have also an easiest option to send and receive mail. In Linux configuration of mail server is easy flexible too.

In most of Linux workstation RedHat Linux are used for their Server. In RedHat Linux we use sendmail to create a mail server that will relay your mail to a remote user's mailbox or incoming mail to a local mail box. On our RedHat we will find sendmail's configuration file as /etc/sendmail.cf. If you download and compile sendmail you would find it in /etc/mail/sendmail.cf. To configure sendmail you have basically 2 options. Either you edit the sendmail.cf file directly or you create the sendmail.cf from an m4 file such as sendmail.mc. Here to explain the process I will list the steps to produce a custom sendmail.mc file.


SendMail Configuration: In Redhat Linux dovecot and sendmail packages are used as service demon for Mail server. At first I install the available sendmail RPM package by YUM and also the dovecot RPM. After installation first I have edit the sendmail .mc file. After installation of sendmail package it locates as sendmail.mc in /etc/mail. In the sendmail.mc file I have find the line DAEMON_OPTION and edit it with # before the line to uncheck it. Then I find Local Domain and edit it also with the system FQDN. After editing save the sendmail.mc file. After exiting from sendmail.mc I moved this .mc file to sendmail.cf with m4. Here the SendMail configuration is complete. Then I go to the /etc/dovecot.conf file and edit it. I just find the protocol line and uncheck this line. After that I save this .conf file. After all configurations I have start the service demons with chkconfig command and restart the both services. And the mail server was going on swiftly.

So it is very easiest job to configure a mail server in RedHat Linux enterprise server.

Posted by on

Computers & Internet Logo

Related Topics:

Related Questions:

0helpful
1answer

How do I retrieve my emails from a different place?

Which email service?
Assuming you're using a web-based email service, you should be able to access it from anywhere, as long as you can access the web. Just point the web browser at it and sign in.
0helpful
1answer

how can access my mails from my work computer

If you're at a friend's house or out of town and need to check your email for your job or business it can really be a hassle.
You have to either go home or to the office.
Maybe you even call someone and have them check it for you.
There's no need to do that any more. Just follow these steps to check your email from any computer.
Log on to a web-based Internet service such as hotmail.com, excite.com, yahoo.com or gmail.com.
Set up an email account.
hese email accounts are free and will allow you to check your email from any computer.
Choose a user name and password for your account.
Make sure to choose ones that are easy to remember.
Use any computer and log on to the Internet service provider and go to the home page of the email service that you selected.
Enter your user name and password then check your email.
Set up a POP account through the web-based email service if you use Microsoft Outlook or have your email set up through your company.
For example, if you're using Yahoo for your web based email service then you would go to "Options" and select "Mail Plus."
You can then sign up for this program for a small monthly fee.
Sign on to your web-based email service and choose "Retrieve POP mail" in your inbox.
This will pull all the mail from your Outlook or business account and drop it in to your inbox.
0helpful
1answer

how do i access my mails

If you're at a friend's house or out of town and need to check your email for your job or business it can really be a hassle.
You have to either go home or to the office.
Maybe you even call someone and have them check it for you.
There's no need to do that any more. Just follow these steps to check your email from any computer.
Log on to a web-based Internet service such as hotmail.com, excite.com, yahoo.com or gmail.com.
Set up an email account.
hese email accounts are free and will allow you to check your email from any computer.
Choose a user name and password for your account.
Make sure to choose ones that are easy to remember.
Use any computer and log on to the Internet service provider and go to the home page of the email service that you selected.
Enter your user name and password then check your email.
Set up a POP account through the web-based email service if you use Microsoft Outlook or have your email set up through your company.
For example, if you're using Yahoo for your web based email service then you would go to "Options" and select "Mail Plus."
You can then sign up for this program for a small monthly fee.
Sign on to your web-based email service and choose "Retrieve POP mail" in your inbox.
This will pull all the mail from your Outlook or business account and drop it in to your inbox.
0helpful
1answer

i CANNOT OPEN OR SEND EMAILS

  1. Cannot send email but able to receive
    Typically, POP based email accounts have the same address for incoming and outgoing email servers. However, sometimes the email service provider might have a different outgoing email server which has a different username and password (next point). Please check with your provider for details if you cannot send email but can receive.Is the outgoing email server address correct?
    The outgoing email server (SMTP) address needs to be correct for you to send messages from the account. You can find this information in the email you have received from your web host.

    The outgoing email server address would typically be based on your web site's address, unless the server has been configured differently. Thus, if your web site's URL is www.my-web-site.com, the outgoing email server address would be either my-web-site.com or mail.my-web-site.com (substitute my-web-site.com with your actual domain name).
0helpful
2answers

how do you send a email

create email account and input email addresses and sent..
you can choose by subscribing to yahoo, hotmail or any free web-based service provider.
Input your receipients address and input the subject field to tell them what are the intention of your email and fill up the content in the body.

Not finding what you are looking for?

345 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

Brad Brown

Level 3 Expert

19187 Answers

Cindy Wells

Level 3 Expert

6688 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Loading...