Introduction


This is a system administrator guide on installation and configuration of The Direct Project C# Enterprise Installer. The guide will walk the user through system requirements, server installation/configuration and Direct C# components installation and configuration. When possible, this guide makes use of screencast videos through Youtube which are embedded for better instruction on installation of components needed for Direct. If you see blocked video below, please check with your web filter administrator for possible unblocking. The videos will eventually be provided in downloadable format in links at the bottom of the sections they appear in.

The following System Requirements are mandatory for the C# installation of The Direct Project. All systems used should meet or exceed these specifications. If you have questions, please ask in the discussion section for this guide.

System Requirements

Component
Required
Notes
Used for
Windows Server 2008 64bit
Yes

Everything :-)
RAM Requirement
Yes
Minimum of 1GB of RAM on physical/virtual server

Hard Disk Space
Yes
Minimum 100GB of Hard Drive Space (any type..SAN, physical, virtual)
All mail messages with attachment
Antivirus
No
Antivirus or Antispam software may be used in conjunction with Direct. Treat the gateway like any SMTP server
Filtering unencrypted email out and system drive virus'
Windows HOT FIX
YES
Download and installation instructions in "Server Setup"
To fix an issue with large messages
.Net Framework 3.5+ with SP1
Yes
Download and installation instructions in "Server Setup"

Smtp Server on Windows Server 2008 64bit
Yes
Download and installation instructions in "Server Setup"
  • Runs the Direct Smtp Gateway
  • Free
IIS 7x
Yes
Good grasp on IIS Web Site Adminstration
Direct Middle Tier is WCF with HTTP Activation
WCF with HTTP Activation
Yes
Download and Installation instructions in "Server Setup" in the roles installation section.

SQL Server Express, Sql Server 2008 or equivalent Sql Database
Yes
Download and installation instructions in "Server Setup"
  • Used for Storing Domains, Addresses, Certificates, Private Keys, Anchors
SQL Management Studio
No
Download and installation instructions in "Server Setup"
Optional - if NOT already installed
Outbound Firewall Ports:
Yes
  • TCP Port 25
  • TCP Port 53
  • UDP Port 53
  • TCP Port 25 used by Smtp Server to send outbound mail
  • TCP Port 53 used by the Gateway to resolve a mail recipient's CERT records from DNS.
  • UDP Port 53 used to resolve standard MX, NS and ANAME records
Inbound Firewall Ports:
Yes
  • TCP Port 25
  • TCP Port 53
  • UDP Port 53
  • TCP Port 25 used by Smtp Server to receive incoming mail
  • If running DNS Server:
    • TCP Port 53: Primarily used to receive and respond to requests for CERT records
    • UDP Port 53: Respond to requests for DNS records like MX, NS, ANAME and SOA

Server Setup


Server 2008 Roles Install

Install the Roles on Windows Server 2008
Home

The CSharp Reference Implementation uses WCF for its middle tier web service.

Your Windows 2008 Server installation may not have WCF enabled by default.

Windows 2008 Required Roles

  • Web Server
  • Application Server
    • Web Server IIS Support
  • Windows Process Activation Service
    • HTTP Activation

Enabling appropriate roles

  • Open Server Manager
    • Start Menu
    • Type Server Manager in the Search box. Click Server Manager Icon.
    • OR Right-Click on Computer, Select Manage
  • On the left pain, expand the Roles node
    • Verify that you have the roles listed above enabled.
    • If not, click the Add Roles button on the right and proceed...


Server 2008 Features Install



Please make sure you follow the Smtp Server Setup Instructions for further setup including automatically starting the SMTP Service.


Install the Large Message Hotfix.


Large Message Hot Fix download


Install the .NET Framework 3.5+ with SP1

.Net Framework Download


Install the SQL Express Database

Install SQL Express as the backend database Direct will use. You can download the database and management studio at links provided below. SQL 2012 Express can be used but is not shown in the how-to install video. Any version of SQL may be used as well...keep in mind that if you want to install the database on a separate SQL server or perhaps a clustered/farm SQL server you will need to install the Database configuration in the Enterprise Installer (show in the Enterprise Installer Section below) on the server(s) so that the tables and entries are created. Also note that this configuration type is not typical so when installing other components in the Enterprise Installer, you'll need to alter the connection strings to the database server so that each component is able to communicate with it.

Database: SQL Server 2008 R2 Express Download
Studio: SQL Server 2008 Management Studio Express Download












Enterprise Install