Partners
Support
Community
Ubuntu.com
Ubuntu Documentation
Official Documentation
Community Help Wiki
Contribute
Page History
Login to edit
PostfixBasicSetupHowto
Contents
Introduction
Setup Overview
Anatomy of Postfix
Components
Receiving Mail
Install Postfix
Test your default setup
Setting Postfix Support for Maildir-style Mailboxes
Installing courier IMAP and POP3
Adding your local domains to postfix
Testing Courier POP3
Testing Courier IMAP
Local Alias database
Creating an alias for an account
Per User .forward Files
Postfix virtual Aliases for separate domains and Linux system accounts
Introduction
This document will teach you how to set up a basic Postfix mail server with IMAP and POP3 services. It does not included advanced topics such as integrating virus-checking and spam-filtering, which are dealt with in
PostfixVirtualMailBoxClamSmtpHowto
and
PostfixCompleteVirtualMailSystemHowto.
Setup Overview
In our setup, Postfix sends and receives mail from Internet and stores them in the user mailboxes while clients on the Internet can retrieve their mails via Courier IMAP or POP3. The user authentication is done by Courier Authdaemon. The following diagram shows this process.
Anatomy of Postfix
Components
The following figure shows the main Postfix system components, and the main information flows between them.
Yellow ellipsoids are mail programs.
Yellow boxes are mail queues or files.
Blue boxes are lookup tables.
Programs in the large box run under control by the Postfix
Source: PostfixBasicSetupHowto – Community Help Wiki