Adding an IP based Virtual domain - Explanation 2
Basically, in order to add a virtual domain domain2.com which has IP address 1.1.1.2, you should add a line like,
vdomain dom2 1.1.1.2 domain2.com c:\dmail\in\domain2
In the line above I have chosen a vdomain 'prefix' of dom2. This prefix is used by DMail to refer to users of this domain, so the user bob from the domain, domain2 is referred to by DMail as dom2_bob - never to his face, only when it is talking to the authentication programs (a system one or an external one).
The last entry on the line is the path for mail drop files to go for that domain - so that you can keep the mail for each domain separate.
You should notice that all of the entries in the vdomain line, except for the vdomain prefix, are already in your dmail.conf file for your main domain - e.g. the main domain has a setting called drop_path. Note: the main domain does not have a prefix, as usernames without a prefix in your password list are assumed to be for the main domain.
So, to add a user bob to your main domain, you simply add the user 'bob' to your authentication database, and to add a user bob to the domain domain2 above you add a user 'dom2_bob' to your authentication database.
ที่มา
http://netwinsite.com/dmail/domains.htm
สมัครสมาชิก:
ส่งความคิดเห็น (Atom)
ไม่มีความคิดเห็น:
แสดงความคิดเห็น