MDaemon contains full support for multiple domains. In addition to the Default Domain settings, it contains the Extra Domains Editor used for designating any number of additional domains as well as the IP address with which each will be associated. MDaemon supports both single and multiple IP addresses.
In order to support multi-homing (sharing the same IP across multiple different domains) MDaemon automatically detects the IP address that an incoming connection is attempting to reach and uses the appropriate domain name accordingly. For example, suppose you have the following domains and accounts configured:
altn.com, IP =
email@example.com, logon = user-1, password = ALTN
firstname.lastname@example.org, logon = user-2, password = ARVELH
If a connection is attempted to 184.108.40.206 then MDaemon will answer as "altn.com". If a connection is made to 220.127.116.11 then "arvelh.com" will be used.
If email@example.com connects to 18.104.22.168 to check his mailbox, he will supply "user-1" as his logon and "ALTN" as his password to log in. However, if firstname.lastname@example.org connects to 22.214.171.124 to check his mail then he is technically connecting to the wrong server (he should be connecting to 126.96.36.199). In that case, he will need to supply his full email address in the login field to gain access. Of course, if he had connected to 188.8.131.52 he would only need to supply his login value. Therefore, if an account connects to the IP address corresponding to its domain, and that IP address is not used by any other domain, then the account need only specify the login value. Otherwise, it must specify a complete email address. In this way support for servicing multiple domains can be accomplished using a single IP address. When several domains share the same IP address then the login must contain the full email address. Otherwise MDaemon will not know which user is attempting to log in. When in doubt use the full email address as your login value.
So, how is the login and domain specified? You would expect that providing the account's email address would work like this: email@example.com. MDaemon will always accept logon values that contain the '@' symbol, so if your mail client supports using the '@' symbol in the logon value then there is no problem. However, some email clients do not allow the '@' symbol to be used in the login field. To accommodate those mail clients, MDaemon allows you to specify an alternative character. MDaemon's default alternative character is '$'. That means that you could use: arvel$altn.com as easily as firstname.lastname@example.org.
The alternative character is specified on the System screen under Preferences. This value can be up to 10 characters long, making it possible to provide a string of characters to serve as the delimiter instead of only a single character such as '$'. For example, using '.at.' will allow you to make logon values of "arvel.at.altn.com".
Several key features, such as Accounts, Mailing Lists, and Security Settings, are on a per domain basis. When you create a mail account you must specify the domain to which the new account belongs. The same goes for Mailing Lists. This means that features such as the IP Screen and IP Shield are tied to domains individually. Some features, however, such as Name Matching under DomainPOP, are tied exclusively to the Default Domain.
To support MDaemon's handling of system messages, the following default set of Aliases points several reserved mailbox names to MDaemon's default domain name rather than to individual extra domains:
MDaemon@$LOCALDOMAIN$ = MDaemon@DefaultDomain.com
listserv@$LOCALDOMAIN$ = MDaemon@DefaultDomain.com
listserver@$LOCALDOMAIN$ = MDaemon@DefaultDomain.com
list-serv@$LOCALDOMAIN$ = MDaemon@DefaultDomain.com