Cargando…

The book of IMAP : building a mail server with Courier and Cyrus /

The IMAP (Internet Message Access Protocol) and POP3 (Post Office Protocol) protocols govern the behavior of all modern mail servers and clients. IMAP and POP3 provides a detailed introduction to POP3 and IMAP, including many practical hints for even the most experienced administrator. You'll l...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autores principales: Heinlein, Peer, Hartleben, Peer (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Alemán
Publicado: Munich : San Francisco : Open Source Press ; No Starch Press, ©2008.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Introduction
  • PART I: How to Set Up and Maintain IMAP Servers
  • 1: Protocols and Terms
  • Why is IMAP so Complex?
  • Comparing Courier and Cyrus
  • 2: POP3 and IMAP at the Protocol Level
  • POP3
  • Test Session
  • Authentication via APOP and KPOP
  • IMAP
  • The Design of the IMAP Protocol
  • Transcript of an IMAP Session
  • A Practical View of IMAP
  • Subscribing to IMAP Folders
  • 3: Load Distribution and Reliability
  • Load Balancer
  • DNS Round Robin
  • Round Robin via iptables
  • Linux Virtual Server
  • IMAP Proxies
  • 4: Selecting a Filesystem
  • Tuning the Performance of the Filesystem
  • The atime
  • Access Control Lists
  • The Ext2/Ext3 Option dir_index
  • Journal Mode
  • Optimized fstab Entries
  • RAID
  • NFS
  • Disabling atime and Optimizing Block Size
  • NFS Version 3
  • Fast I/O
  • A Performance Test
  • 5: Complementary Webmail Clients
  • Squirrelmail
  • Horde/IMP
  • Fast Access via the IMAP Cache Proxy
  • 6: Migrating IMAP Servers
  • Migrating using imapsync
  • Converting mbox to maildir
  • Modifying Folder Names
  • Determining Cleartext Passwords
  • PART II: Courier IMAP
  • 7: Structure and Basic Configuration
  • Installing the Software
  • What is Where?
  • Initial Start-Up
  • Courier and MTAs
  • Courier and Postfix
  • Courier and QMail
  • Courier and Exim
  • Optimizing the Configuration
  • Real and "False" Configuration Parameters
  • POP3 Configuration in /etc/courier/pop3d
  • Configuring the IMAP Daemon in /etc/courier/imapd
  • The Configuration Files for SSL
  • 8: Maildir as Email Storage Format
  • The IMAP Namespace
  • Filenames of Emails
  • Keywords: Custom IMAP Flags
  • 9: User Data
  • authtest and DEBUG_LOGIN for Debugging Assistance
  • The authdaemond
  • Authentication via PAM
  • The authuserdb Module
  • Converting passwd into a userdb
  • Maintaining Account Data with userdb.
  • Creating a Binary Version of the User Database
  • Separating the userdb into Multiple Files
  • The atime
  • Using QMail's vchkpw Library for Authentication
  • Implementing Custom Authentication Methods
  • Integrating External Authentication Programs
  • Authentication via MySQL
  • Authentication via PostgreSQL
  • Authentication via LDAP
  • Obsolete Authentication Modules
  • The authpwd Module
  • The authshadow Module
  • The authcram Module
  • User Options
  • Saving User Options in the userdb
  • Individual User Options in an LDAP Directory
  • Storing User Options in Dedicated Fields in an SQL Table
  • Saving Passwords: Cleartext or Hash?
  • Username Selection When Maintaining Multiple Domains
  • 10: The Work of a Courier Administrator
  • Shared Folders
  • Setting Up Virtual Shared Folders
  • Creating Filesystem-Based Shared Folders
  • Quotas
  • Quotas for Courier
  • Quotas and the MDA
  • Building an IMAP Proxy with Courier
  • Push Instead of Pull: The IDLE Command
  • Sending Emails via the IMAP Server
  • PART III: Cyrus IMAP
  • 11: Structure and Basic Configuration
  • Installing Cyrus
  • OpenSuSE/SuSE Linux Enterprise Server (SLES)
  • Fedora Core/Red Hat
  • Debian
  • The Cyrus Hierarchy and Permissions System
  • Features and Functions
  • Quick Start
  • Authentication and Mailboxes
  • Tests
  • 12: A Closer Look at the Configuration Files
  • /etc/cyrus.conf
  • The START{} Section
  • The SERVICES{} Section
  • The EVENTS{} Section
  • /etc/imapd.conf
  • 13: Authentication and Safeguards
  • Encrypting with SSL/TLS
  • SSL Transmission Types
  • Real and Fake Certificates
  • Creating and Integrating SSL Certificates
  • Cyrus SASL
  • Cyrus SASL Modules
  • The auxprop Module
  • The Authentication Process
  • Calling Different Data Sources
  • Standard Authentication Methods for Unix
  • sasldb2
  • Cyrus and MySQL
  • Cyrus and LDAP
  • Cyrus and Kerberos.
  • 14: Advanced Cyrus Configuration
  • Mailbox Quotes
  • Automatic Quotas
  • Manual Quotas
  • Shared Folders and ACLs
  • Virtual Domains
  • The Underlying Concept
  • Effects on ACLs
  • Domain Administrators
  • Sorting Emails into Subdirectories
  • Email Partitions
  • The Sieve Email Filter
  • The Email Filter Daemon timsieved
  • Configuring and Testing
  • The sieveshell Administration Tool
  • The Sieve Script Language
  • Setting Up Sieve Scripts Automatically for New Accounts
  • Adapting Sieve Scripts
  • The notifyd Daemon
  • Drums or Smoke Signals?
  • Cyrus and Other MTAs
  • Backing Up and Restoring Data
  • Using reconstruct to Repair Mailboxes
  • Restoring Quotas
  • Performance Tuning
  • Parameters in /etc/imapd.conf that Influence Performance
  • 15: Internal Structure and Modules
  • The Cyrus Daemons
  • Tools for Analysis, Maintenance, and Repairs
  • Statistics and Analysis
  • Maintenance and Repair
  • Internal Tools
  • Other In-House Tools
  • The cyradm Administration Tool
  • 16: Cyrus at the Filesystem Level
  • The Email Directory
  • The Administration Directory
  • 17: Cyrus in a Cluster
  • The Cyrus Aggregator
  • The Aggregator Concept
  • The Cluster Setup
  • Cyrus Replication
  • Replicating the Authentication Data
  • A: IMAP Command Reference
  • Commands Always Available to Clients
  • Commands Available in the Not-Authenticated Status
  • Commands Available in the Authenticated Status
  • Commands Available in the Selected Status
  • IMAP Extensions
  • Experimental Commands
  • B: POP3 Command Reference
  • An Overview of All Commands
  • C: Installing from the Source Code
  • Courier
  • Cyrus
  • Cyrus Sources
  • Creating a System User
  • Installing Cyrus SASL
  • Installing the Cyrus IMAP Server
  • Convenient Starting and Stopping
  • Index.