The Gateway Manager is reached from the Main » Gateway Manager... menu selection. This feature provides a limited yet useful secondary level of support for hosting multiple domains or acting as a backup mail server for someone.
For example:
Suppose you wish to act as a backup server or mail-drop for a third party, receiving its incoming email and storing it in a folder on your server, but you do not wish to host its domain fully, maintaining its individual user accounts. Let's use "example.com" as its name.
The first thing you will do is create the gateway by clicking New gateway on the Gateway Manager and then entering "example.com" as its name. Now all mail that MDaemon receives for that domain will be separated from the main mail stream and placed in the folder designated on the gateway's Domain screen, regardless of the specific individuals to which each message is addressed.
Next, you will designate the collection or delivery methods that you wish to allow or use to get the domain's email to its actual email server, where its user accounts are hosted. There are two ways to do this: use the Deliver stored messages each time MDaemon processes remote mail option on the Domain screen, or use the Dequeuing options. Optionally, you can also create an MDaemon account and change its Mail Folder to the same storage folder that your gateway uses. This will allow a mail client to connect to MDaemon to collect example.com's email.
Finally, you will likely have to edit the DNS settings for example.com so that your MDaemon server is a designated MX host for that domain.
There are many other features and options available, but the above example is the basic form that a typical gateway will take. If, however, you require an atypical configuration then you may have to do some things differently, such as when you wish to use a domain name that doesn't actually exist on the Internet, like "company.mail." Receiving messages for an otherwise invalid domain name such as that is possible, but the domain name must be "hidden" inside a default domain address. Using that method, addresses can be constructed that will pass through the default domain and on to the gateway. For example, if your default domain is example.com and you have a gateway for company.mail, then someone could send a message to "bob@company.mail" by using the address, "bob{company.mail}@example.com." Since "example.com" is the registered domain hosted by MDaemon, this message would be delivered properly, but when MDaemon received the message in that format it would convert the address to "bob@company.mail" and deliver the message to the folder specified for that gateway. Of course the simplest method is still to register a valid domain name for the gateway and then point its DNS or MX record to example.com.
To add a new gateway, click New on the toolbar. To edit a gateway, select the gateway and click Edit, or double-click the gateway in the list. This opens the Gateway Editor to the Domain screen for creating or editing your gateway.
You can sort the list of gateway in ascending or descending order by clicking the "Name" bar just above the list. If you have a very large number of gateways, however, and wish to display a specific subset of them, or you wish to jump quickly to a specific one, click Filter on the toolbar and type the gateway name or some text by which to filter the list, and click Apply. Optionally, before clicking Apply you can switch the filter criteria from match to do not match, if you wish to filter the list based on the results not matching the text you typed. You can use wildcard characters * and ? to make searching easier.
For example, if you wish to jump quickly to the gateway example.net, you can simply type "example.net" and click Apply. Then only example.net would be displayed in the list. Typing "*.com" would display all gateways ending with ".com". In the latter case, switching the filter criteria to "do not match" would cause only gateways that do not contain ".com" to be displayed.
To cancel the Filter and go back to the default list, click Filter again and then Cancel.
Click Settings on the toolbar to open the Global Gateway Settings screen, for configuring several global settings related to gateways.
The Gateway Editor is used for editing each gateway's settings. It includes the following screens:
Use this screen to enable/disable the gateway, designate the folder used for storing the domain's messages, and configure other delivery and attachment-handling options.
If the remote domain’s server is configured to keep an LDAP or Active Directory server up to date with all of its mailboxes, aliases, and mailing lists, or if it runs a Minger server to provide remote address verification, you can use this dialog to specify that server and thus verify the validity of recipient addresses of incoming messages. When a recipient address is found to be invalid the message will be rejected. With this method you can avoid having to assume that all recipients of a domain’s messages are valid.
With this screen you can declare a host or address to which the domain's mail will be forwarded as soon as it arrives. There are also options for stating whether a copy of these messages should be kept locally and for designating the port on which the forwarded messages should be sent.
Using the options on this screen, you can configure MDaemon to respond to ETRN and ATRN requests made on behalf of the domain in order to dequeue its messages. You can also configure several other dequeuing related options.
This dialog is used for assigning a limit to the amount of disk space that the domain may use and the maximum number of messages that may be stored.
This screen contains a number of other options that will apply to the selected domain gateway. For example, you can enable/disable AntiVirus and AntiSpam scanning for the gateway, designate whether or not authentication is required when dequeuing mail, designate an authentication password, and several other options.
See: