Tip & How-To about Computers & Internet
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 Aloke Das on
Sep 18, 2014 | Computers & Internet
Apr 28, 2013 | Microsoft Outlook Express
Apr 28, 2013 | Computers & Internet
Apr 26, 2011 | Acer Computers & Internet
Sep 11, 2009 | KDS Visual Sensations 195E Monitor
163 people viewed this tip
Usually answered in minutes!