For a different Linux distribution or different mail server, review our email tutorials. Verify that the iptables firewall is not blocking any of the standard mail ports 25 , , , , , , and If using a different form of firewall, confirm that it is not blocking any of the needed ports. Review the concepts in the Running a Mail Server guide. Make sure that the MX record is changed for all domains and subdomains that might receive email. If setting up a brand new domain, these steps can be performed prior to configuring the mail server.

Author:Kizahn Macage
Language:English (Spanish)
Published (Last):17 November 2007
PDF File Size:5.53 Mb
ePub File Size:14.14 Mb
Price:Free* [*Free Regsitration Required]

Edit this article. Buy Now. If you have installed the Postfix mail server to operate as the Simple Mail Transfer Protocol SMTP service on an email server, you might still need a way to retrieve the incoming mail from the server. Dovecot retrieves emails from Postfix and delivers them to the relevant mailbox on the server. This example uses the nano text editor, but you can use any text editor that you want.

Uncomment the following lines in the file and, if necessary, change them to reflect your plans for the environment:. Uncomment the following line in the file and, if necessary, change them to reflect your plans for your environment:. The example in this section adds a mailbox that a hypothetical user named Joe Bloggs joe.

Use the following chkconfig command to verify that the Dovecot application will run when the server is restarted:.

After you have added the preceding lines, exit the main. System Status. You can create a user for this example, or you can use an existing user.

If necessary, use the following command to make a new user: sudo useradd joe.


Support Network

Along with acting as a web server, email is one of the primary uses of a Red Hat Enterprise Linux 6 based system, particularly in business environments. Given both the importance and popularity of email it is surprising to some people to find out how complex the email structure is on a Linux system and this complexity can often be a little overwhelming to the RHEL newcomer. The good news is that much of the complexity is there to allow experienced email administrators to achieve complicated configurations for large scale enterprise installations. The fact is that for most Linux users it is relatively straight forward to set up a basic email system so that they can send and receive electronic mail. In this chapter of RHEL 6 Essentials, we will explain the basics of Linux based email configuration and step through configuring a basic email environment.


Email with Postfix, Dovecot and MariaDB on CentOS 7

Run the rpm -q postfix command to see if the postfix package is installed. If it is not installed, run the following command as the root user to install it:. Postfix and SELinux. When Postfix is enabled, it runs confined by default. Confined processes run in their own domains, and are separated from other confined processes. If a confined process is compromised by an attacker, depending on SELinux policy configuration, an attacker's access to resources and the possible damage they can do is limited. The following example demonstrates the Postfix and related processes running in their own domain.

Related Articles