Book Image

CentOS 7 Server Deployment Cookbook

By : Timothy Boronczyk, IRAKLI NADAREISHVILI
Book Image

CentOS 7 Server Deployment Cookbook

By: Timothy Boronczyk, IRAKLI NADAREISHVILI

Overview of this book

CentOS is derived from Red Hat Enterprise Linux (RHEL) sources and is widely used as a Linux server. This book will help you to better configure and manage Linux servers in varying scenarios and business requirements. Starting with installing CentOS, this book will walk you through the networking aspects of CentOS. You will then learn how to manage users and their permissions, software installs, disks, filesystems, and so on. You’ll then see how to secure connection to remotely access a desktop and work with databases. Toward the end, you will find out how to manage DNS, e-mails, web servers, and more. You will also learn to detect threats by monitoring network intrusion. Finally, the book will cover virtualization techniques that will help you make the most of CentOS.
Table of Contents (18 chapters)
CentOS 7 Server Deployment Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Configuring Dovecot for secure POP3 and IMAP access


When you check your e-mail, the e-mail program connects to your mail server to see if there are any new messages in your mail directory. If its configured to used the Post Office Protocol (POP3), it downloads the messages locally and deletes them from the server. If it's configured to use Internet Message Access Protocol (IMAP), the mail remains on the server and you manage it remotely.

Dovecot handles both protocols out of the box. Since we've already installed Dovecot for its SASL functionality, we could just open the standard ports for POP3 and IMAP traffic in the system's firewall and be done. However, the connections would be unencrypted and information would be transmitted across the network in plain text. This recipe teaches you how to secure these connections with SSL.

Getting ready

This recipe requires a CentOS system with Postfix and Dovecot configured as described in previous recipes. Administrative privileges are also required...