Changes between Version 1 and Version 2 of howto/MailServerTutorial


Ignore:
Timestamp:
Jul 31, 2010, 10:50:58 PM (14 years ago)
Author:
magill@…
Comment:

continued development of the original document

Legend:

Unmodified
Added
Removed
Modified
  • howto/MailServerTutorial

    v1 v2  
    1 
    2 
    31[wiki:howto <- Back to the HOWTO section]
    42
    53= Tutorial for the setup of a mail server using MacPorts software =
    6 
    7  * Audience: Advanced setup of an E-mail server
     4 * Audience: Advanced setup of Electronic Mail
    85 * Requires: MacPorts >= 1.9.1
    9 
     6 * Created: 31 July 2010; Revision: 31 July 2010
    107== Introduction ==
    118
    12 This represents an attempt to describe a step by step process to convert OSX Snow Leopard (1.6) into a mail server for a Home user or Small business.
     9Despite its simple seeming exterior, Electronic Mail is a complex interaction of multiple different pieces of software from many sources.
     10Fortunately, MacPorts has made the porting and installation of these parts "easy."
     11
     12Decisions made by the System Administrator (i.e. the person installing the software) control the various features available for mail delivery, mail reading and system maintenance.
     13
     14This document represents an attempt to describe a step by step process to convert OSX Snow Leopard (1.6) into a mail server for a Home user(s) or Small business.
    1315It attempts to gather into one location information which is useful or necessary to accomplish this goal.
    1416
    15 http://wiki2.dovecot.org describes Dovecot V2.0 -- including an excellent "Generic information about mail servers!"
     17The goal here is to create a system which utilizes MacPorts and native Apple software so that the resulting system becomes as "automagically" self-maintaing, and as immune to "gotchas' caused by Apple system updates as possible.
     18
    1619
    1720See also the [wiki:howto/SetupFetchmail Fetchmail] ->  [wiki:howto/SetupPostfix Postfix] -> [wiki:howto/SetupDovecot Dovecot]
     
    2023A list of Home pages for the various products used can be found at the end of this document:
    2124
    22  
     25=== Why did I write this? ===
     26Even though I've been a Unix System Administrator for over 30 years and have done this many different times, every time I do it on a new system, I find that not only do I have to start over again from scratch because the technology has "changed" but that I have to keep trying to find my "old notes." .... :) And, invariably, I find I have "forgotten" to do something "FIRST" necessitating to start over again.
     27
     28This document represents "my favorite" Electronic Mail tools. All are "Open Software" of one form or another -- most under the GPL - http://www.gnu.org/licenses/gpl.html
     29
     30There are other options available.
    2331== Installation ==
    2432
    2533=== Step 1: '''Do a little planning''' ===
    2634
    27 Consider the software functionality which you might want to install.
     35For a starting definition of terms and concepts....
     36http://wiki2.dovecot.org describes Dovecot V2.0 -- including an excellent "Generic information about mail servers!"
    2837
    29 MTA/MUA/Security/
     38An excellent graphical depiction of the Electronic Mail process can be found at:
     39http://workaround.org/ispmail/lenny/bigpicture
    3040
    31 OSX 10.6 contains an installation of Procmail.
     41Consider the software functionality which you might want to provide and the software necessary to install (AND maintain).
     42
     43 * MUA - Mail User Agent aka Email Client - used by the end user to read their mail.
     44   * Apple Mail - mail readable from a single location or
     45   * Webmail  - mail readable from any location via a web browser.
     46 * MTA
     47   * Postfix
     48   * Sendmail
     49   * Fetchmail
     50   * qmail
     51 * MDA - Dovecot / Procmail
     52   * POP
     53   * IMAP
     54 * SASL - authorization
     55 * Spam Assassin - Spam Scan
     56 *
     57
     58OSX 10.6 contains an installation of Procmail. This version can be utilized or disabled and replace by the MacPorts install.
     59This document will describe the MacPorts installation of Procmail.
     60
     61Similarly, Apple Mail provides functionality similar to FetchMail and Spam Assassin.
    3262
    3363== Configuration ==
    3464
    35 TODO
     65Where are you going to put things...? Most everything can be put where MacPorts wants to put them with no problem.
     66The only item of particular concern is the location of the mail spool, as this could become potentially large and one might want to place it on a separate disk.
     67
     68Similarly, by configuring log files to be in the
    3669
    3770== Optional Parts ==
     
    4174 * FetchMail:
    4275 * Dovecot: http://dovecot.org
    43  * Procmail
     76 * Procmail: http://procmail.org
    4477
    4578 * SASL
    46  *
     79 * Spam Assassin
     80 * Clam Antivirus
     81
     82 * Sendmail http://www.sendmail.org The "Original" MTA on the Internet.
     83 * Qmail: http://qmailrocks.org Site apparently last updated in 2006 (?last? Version - 1.03 , from the author Dan Bernstein http://cr.yp.to/qmail.html updated apparently in 1998 )
    4784
    4885