Posts

Showing posts with the label Mail Server

Configure a Postfix Relay through Gmail on CentOS 7

Configure a Postfix Relay through Gmail on CentOS 7 Table of Contents Introduction Requirements Install Packages Configure Postfix Configure Postfix SASL Credentials Test the Relay Troubleshoot Delivery Issues Introduction Postfix is a flexible mail server that is available on most Linux distribution. Though a full feature mail server, Postfix can also be used as a simple relay host to another mail server, or smart host. This tutorial will describe how to configure Postfix as a relay through Gmail. Simple Authentication and Security Layer (SASL) is a standard authentication framework supported by many services including Postfix. Requirements CentOS 7 or Red Hat Enterprise Linux 7 Valid Gmail or Google App credentials Install Packages Make sure Postfix, the SASL authentication framework, and  mailx  are all installed. yum -y install postfix cyrus-sasl-plain mailx Postfix will need to be restarted before the SASL framework will be detected. sys...

Setup Mail Server on CentOS7

Image
Setup Mail Server on CentOS 7 This article helps you to install and configure basic mail server on   Centos   7. Here i have used Postfix for SMTP, Dovecot for POP/IMAP and Dovecot SASL for SMTP AUTH. Before proceeding please make sure you have assigned static IP for the server and have internet connectivity for installing packages. Setup mail server on CentOS 7 1.   Installing packages 2.   Postfix configuration 3.   Dovecot configuration 4.   User creation Installing packages Step 1 »   Assign hostname for the server using the below command. [root@krizna ~]# hostnamectl set-hostname mail.krizna.com Step 2 »   Make a host entry with your IP in   /etc/hosts   file. 172.27.0.51 mail.krizna.com Step 3 »   Now start installing packages. [root@krizna ~]# yum -y install postfix dovecot After package installation continue with postfix configuration. Postfix configuration First create SSL certificate for encryption...