How to associate SMTP server addresses with domains when using the Web Interface
Starting from the v1.0.5.0, web interface uses remoting object to communicate with
the mail server. Exception is the process of sending mail out, when SMTP protocol
is used.
Use of SMTP protocol ensures, that all the server generated headers (including Domain
Keys, if used), are inserted properly, and none of server plugins are getting bypassed.
It is assumed, that SMTP server is ArGoSoft Mail Server .NET, even though any other
SMTP server should work, as long as it is configured properly.
The server stores the information about SMTP server in the file SmtpServerList.xml,
which is located in the App_Data directory in the web interface root.
By default, it contains only one entry, which looks like this:
<?xml version="1.0" encoding="utf-8" ?>
<SmtpServerList version="1.0">
<Item>
<DomainName>_Default</DomainName>
<Host>localhost</Host>
<Port>25</Port>
<Authenticate>True</Authenticate>
</Item>
</SmtpServerList>
It indicates, that SMTP server is installed on the same computer as the web interface
(localhost), listens on port 25, and server should require SMTP authentication.
In order to take advantage of IP Binding feature, you
may want to different SMTP server when a logged in user has a specific domain name
in his/her user name. All you have to do is to add another item to the file, with
the domain name matching the user domain name, so that the content of SmtpServerList.xml
file looks like:
<?xml version="1.0" encoding="utf-8" ?>
<SmtpServerList version="1.0">
<Item>
<DomainName>_Default</DomainName>
<Host>localhost</Host>
<Port>25</Port>
<Authenticate>True</Authenticate>
</Item>
<Item>
<DomainName>sample.com</DomainName>
<Host>smtp.sample.com</Host>
<Port>25</Port>
<Authenticate>False</Authenticate>
</Item>
<Item>
<DomainName>othersample.com</DomainName>
<Host>555.555.555.555</Host>
<Port>587</Port>
<Authenticate>True</Authenticate>
</Item>
</SmtpServerList>
Server with the value of _Default between DomainName
tags will be used as
a default domain, in case no match is found.
If you have further questions, please submit it from our
Support Page.
Back to the list of documents
Back to the Mail Server .NET FAQ
Back to the Mail Server .NET