2 Installing GFI MailSecurity 2.1 Introduction This chapter explains how to install and configure GFI MailSecurity. You can install GFI MailSecurity directly on your mail server or you can choose to install it on a separate machine configured as a mail relay/gateway server. When installing on a separate machine, you must first configure the machine to relay the inbound and outbound emails to your mail server prior to installing this mail security software. In order to function correctly, GFI MailSecurity requires access to the complete list of all your email users and their email addresses. This is required in order to configure content policy rules such attachment checking and content checking. GFI MailSecurity can access the list of email users in two ways: either by querying your Active Directory (requires installing this software in Active Directory mode) or by importing the list from your SMTP Server (requires installing this software in SMTP mode). The mode to be used depends entirely on your network setup and the machine on which you will be installing this mail security software. You can choose the required access mode during the installation of GFI MailSecurity.