Download EMAIL SYSTEM
Transcript
A Complete and Secure E-Mail Infrastructure system Table of Contents Introduction.................................................................................................................................................... 5 The Target Environment.............................................................................................................................. 5 Objectives................................................................................................................................................... 5 General System Description.......................................................................................................................... 7 Server Groups Arrangement....................................................................................................................... 8 Server functionality.................................................................................................................................... 10 Operating System Software Setup............................................................................................................... 10 General OS Setup and Software............................................................................................................... 11 Prerequisites........................................................................................................................................... 11 Setup on All Servers............................................................................................................................... 11 Logging................................................................................................................................................... 12 OS Security............................................................................................................................................ 12 DNS Configuration....................................................................................................................................... 12 A records................................................................................................................................................... 12 PTR records.............................................................................................................................................. 13 MX records................................................................................................................................................ 13 SPF records.............................................................................................................................................. 13 TLS/SSL certificates.................................................................................................................................... 13 Mail Services Description............................................................................................................................ 14 Types of Mail Servers................................................................................................................................ 14 Front end systems.................................................................................................................................. 14 Back end systems.................................................................................................................................. 14 Client systems........................................................................................................................................ 14 Functionality Summary Set up................................................................................................................ 14 Access Control Model............................................................................................................................... 16 Authentication, Names, Aliases, Groups, Lists.......................................................................................... 17 General Description................................................................................................................................ 17 Authentication......................................................................................................................................... 18 Names and Aliases................................................................................................................................. 18 Groups and Lists.................................................................................................................................... 19 LDAP schema......................................................................................................................................... 22 Mail Storage................................................................................................................................................ 22 Quota with Dovecot LDA........................................................................................................................... 23 E-Mail Software Setup................................................................................................................................. 23 Setting up Postfix...................................................................................................................................... 24 Front-End Relay (theano, elysso)........................................................................................................... 24 Back-End (gorgo, mirto)......................................................................................................................... 26 Setting up Dovecot.................................................................................................................................... 26 Front End (IMAP PROXY or Dovecot Director) Configuration (theano, elysso)......................................27 Back-end Configuration (gorgo, mirto).................................................................................................... 27 Summary table....................................................................................................................................... 27 Quota...................................................................................................................................................... 28 Sieve Filtering and ManageSieve........................................................................................................... 28 The Dovecot Configuration (dovecot -n)................................................................................................. 29 Virus and SPAM Control Setup.................................................................................................................... 30 Strategy..................................................................................................................................................... 30 AMAVISD.................................................................................................................................................. 31 Install and configure............................................................................................................................... 31 Postfix Integration................................................................................................................................... 32 SpamAssassin.......................................................................................................................................... 32 ClamAV..................................................................................................................................................... 32 Message Quarantine................................................................................................................................. 32 Email System-Administrator Manual-0.9.odt - Version 0.9.39 - Feb 16, 2015 3