Linux Email: Set up and Run a Small Office Email Server
A simple step-by-step guide to setting up a Linux email server using the most popular free Open Source tools 

 

Packt Publishing


 

HOME > CHAPTER 3

Chapter 3:
Incoming Mail with POP and IMAP
Postfix will receive e-mail and deliver it to the user's inbox, but additional software is required to read it with ease. There are two standards for retrieval of e-mail from a host. The first is called Post Office Protocol (POP). POP3 is most commonly used. This is normally used to read e-mail from the server, store it in a client application, and remove the e-mail from the server. This is often used by Internet Service Providers (ISPs). The e-mail is subsequently manipulated by the client application, for example, Outlook Express or Mozilla Thunderbird.
The second protocol is called Internet Message Access Protocol (IMAP). The IMAP system is usually used when the e-mail is to stay on the server. IMAP allows users to create folders for e-mail and to move or copy e-mail between the folders. The client application accesses the e-mail on the server, but does not have to store it on the client machine. The e-mail server must be able to store all of the e-mail for all of its users, and the amount of data is expected to grow constantly—users rarely delete e-mail. IMAP is therefore more frequently used in large organizations with centralized IT facilities.

There are many POP3 and IMAP servers. Some perform only one of the tasks. The Courier-IMAP suite of software contains both a POP3 and IMAP servers, and is covered in detail in this chapter.

Courier-IMAP operates by accessing the maildir of the user. An overview of the operation is shown on the following page:
 

  • Chapter 3: Incoming Mail with POP and IMAP
     
    • Downloading and Installing Courier- IMAP
      • Installing Courier-IMAP from RPM
      • Installing Courier-IMAP from Source
        • Prerequisites
        • Installing Versions below Courier-IMAP 4.0 from Source
        • Building the Courier Authentication Library
        • Resolving Errors
      • Building Courier-IMAP
        • Handling Errors
    • Using POP3
      • Configuring Courier-IMAP for POP3
      • Testing the POP3 Service
      • Retrieving E-mail via POP3 with Outlook Express
    • Using IMAP
      • Configuring Courier for IMAP
      • Testing the IMAP Service
      • Retrieving Mail via IMAP with Mozilla Thunderbird
    • Summary

     

    BOOK DETAILS
      Paperback, 295 pages
    Released: July 2005
    ISBN: 190481137X
    Authors: Alistair McDonald,
    Carl Taylor,
    Magnus Bäck, David Rusenko, Ralf Hildebrandt, Patrick Ben Koetter
     
     

    TABLE OF CONTENTS

    Introduction
    1: Linux and E-Mail Basics 
    2: Setting Up Postfix
    3: Incoming Mail with POP and IMAP
    4: Providing Webmail Access   Free Chapter
    5: Securing Your Installation  
    6: Getting Started with Procmail
    7: Advanced Procmail
    8: Busting Spam with SpamAssassin
    9: Antivirus Protection
    10: Backing Up Your System
    Index

     




    View the book details
    on PacktPub.com


     

     

      This website is owned and maintained by Packt Publishing Ltd, 2005. All rights reserved. Terms and Conditions