
Configuring a D2S Gateway ServerEnterprise Edition > SMTP Gateway Server > Configuration These installation notes describe the basic configuration of a Death2Spam gateway server, running an SMTP filtering service and an HTTP user interface/admin server. SMTP Gateway/Proxy ServerSMTP server configuration is implemented by modifying the following entries in the config/smtp.config file:
SMTP Relaying/ForwardingSMTP relaying/forwarding translations can be effected by adding entries to the smtp-proxy.config file. Fields (columns) within an entry are delimited by white space, and each is terminated by a standard unix or Windows line terminator. The first field is an email address or domain, representing the RCPT TO entity, the second field is the server to which a message should be forwarded following classification. An optional third field provides for POP server authentication when a user logs into the protected web pages for their account. Note that if the SMTP server is exposed to the Internet, there should (at least) be a local postmaster account available, routed using, e.g. If desired, the routing for all other local mailboxes can be declared using a wildcard entry such as These local mailboxes can be accessed via POP3 (assuming that service is running), in the normal manner. Local mail accounts must be created prior to use, via the Server Administration screens. Remote Mail Host ForwardingRelaying (forwarding) on to domains can be declared using entries such as Individual mail accounts can be relayed using config entries such as Classifier Access ControlThe SMTP access directory, optionally located under the application home directory (e.g. d2s/access), holds any Classifier Access Control tables. These are simple ASCII control files, designed to support loose (portable) coupling with customer accounts and billing databases. Such address tables provide an alternative mechanism for improved access control. Note that a D2S gateway server can function perfectly well without them. The Aliases TableThe SMTP aliases table (access/aliases) holds a list of email address pairs, delimited by white space, one pair per line. For example, an entry like When this user queries their account history, they log into D2S web pages as xyz@foobar.com, and will be able to review mail filtered for abc@foobar.com in the account folders. Aliasing may also be used to collapse multiple email addresses into a single D2S review/training account, while retaining transparent MTA operations. The aliases table is normally generated automatically from a customer accounts database. This file (if it exists) is regularly scanned to detect whether it has been modified, and is reloaded if necessary. The Accounts TableThe accounts table (access/accounts) contains email addresses for all the users who are to obtain SMTP gateway filtering from D2S. These files are scanned for a changed last-modification-date every 5 minutes, and reloaded if necessary. Support for Virtual SMTP HostsDomain subdirectories (e.g. "foobar.com") under the access directory provide support for independently controlling access per domain, on a virtual SMTP host basis. The same "aliases" and "accounts" files may exist within such virtual host directories, and (if present) are incorporated into D2S's access control list. As a convenience, email addresses in a domain's accounts table do not need to be fully-qualified as to realm (since we can assume that the directory declares the domain name), so these entries can take the form of "postmaster" instead of "postmaster@foobar.com". ConfigurationThe smtp.config file contains a Conversely, the | |
| |