Chapter 3. Using the mail Module

NGINX was designed not only to serve web traffic, but also to provide a means of proxying e-mail services. In this chapter, you will learn how to configure NGINX as an e-mail proxy for POP3, IMAP, and SMTP services. The mail module is useful to those who need to accept a lot of connections, but the backend mailbox infrastructure either isn't capable of handling the load or needs to be protected from direct access to the Internet. The chapter also covers topics such as the authentication service, caching, and interpreting log files, that are of general use, even if an e-mail service doesn't fit your needs.

We will examine running NGINX as a mail proxy server in the following sections:

  • Basic proxy service
  • Authentication ...

Get Mastering NGINX - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.