Host Domains
The first (top) host_domain setting found in the dmail.conf file specifies the 'main domain' of the server.
This is the most important setting in your dmail.conf configuration file.
This domain should be what the outside work knows your domain as,
e.g. for us, our domain is netwinsite.com so on our server we have set,
host_domain netwinsite.com
Your first host_domain therefore must be resolvable to an IP address if you are using DSMTP on the internet rather than on an intranet. It is often the A Name in your DNS record.
NB: your first host_domain setting should almost never be your machine name, e.g. do not make your first host_domain setting any of the following,
host_domain mail1.domain.com (bad - do not use as first host_domain)
host_domain smtp.domain.com (bad - do not use as first host_domain)
You can set multiple host_domain settings.
The second, third, fourth ... settings are all 'domain aliases' of your main domain. So you can enter your machine name as one of the lower host_domain settings. Because the domains are aliases, a particular username points to the same user on all of the domains,e.g.,
bob@host_domain1
bob@host_domain2
bob@host_domain3
are all the same user, as host_domain1, host_domain2 and host_domain3 are all aliases of each other.
NB: if you add a host_domain setting then in most cases you should ensure that you have also added a DNS entry for that domain to the Internet DNS server system, i.e. your own DNS server or your ISP's DNS server. See the Domain Name Resolution (DNS) section towards the end of this page for details.
For further details on the host_domain setting, see the reference section.
If you require the same username to be used for different users on each domain, you will need to setup what we call 'virtual domains'. Please read on ...
ที่มา
http://netwinsite.com/dmail/domains.htm
สมัครสมาชิก:
ส่งความคิดเห็น (Atom)
ไม่มีความคิดเห็น:
แสดงความคิดเห็น