티스토리 뷰

AU Study/TAFE

VM Email Server Setting

Last72 2018. 2. 12. 11:07

Make 2 virtual machine or 1 virtual machine and 1 real host. Enable DNS, Email server and try encrypted communication.


1. Set password.

2. Change Computer name/ IP address setting.

3. Install .NET 3.5 and DNS Server

4. Install VMtool, Thunderbird, Wireshark, Gpg4win,

5. Set DNS domain

6. Install HMailServer and setup

7. Set firewall rule

8. Check settings so far


1. Setup a password, as a rule of thumb I used complex password(P@ssw0rd)


Once you setup password, login to server


2. Wait untill Server Manager loaded up


Change the name of PC(server) before any setting


Before go any further, Setting up server IP address is needed.

ip address: 192.168.1.1 / subnet mask: 255.255.255.0/ DNS server: 192.168.1.1


Same as Host/Client ip setting.

ip address: 192.168.1.100 / subnet mask: 255.255.255.0/ DNS server: 192.168.1.1


3. Open server manager and click Manager - Add Roles and Features


Keep click next till Server Roles as you see at sidebar. Click DNS Server and click Next


Click .NET Framework 3.5 and click Next


As the Windows server can't find the source file to install .net Framework, you need to specify the path.

Click Specify an alternate source path.


Find a windows server install cd location and put address in there. In this case, iso file in in E.


4. Install VMware tool to move file from host to vm machine.

VM tap - install vmware tool.


Install Mozilla Thunderbird.


Install Wireshark


Install WinPcap as process of installing Wireshark


Install Gpg4win


5. Again Server manager, Tools - DNS


Right click on Forward Lookup Zones and add Zone.


Set Zone name as contoso.com this will be name of domain


Same, right click on Reverse Lookup Zones and 


Put IPv4 address only three octet


Should look like above.


Right click and click New Host (A or AAAA)...


Put server name in name tap and put server ip address.


And click New Alias (CNAME)... Put name mail, as this is mail server.


Click Browse and find server. just click 3 times and click your server.


The screen should look like this.


After configuration.


6. Put contoso.com


Install and Open HMailServer and right click in account, add. see screenshot above.


Add first admin account. Address is username.


Add second user.


Add third user


To prevent a auto-ban from email server, go to settings - advanced - auto-ban and disable auto-ban.


7. Press windows key once and type firewall. open it.


Select Inbound Rules and click New rule at right sidebar. Select Port.


Put 143 and 587 to local port.


The new rule added at the top as you see.


8. There are two way to build this system. First is make only one VM machine(Windows Server) and communicate with host PC. This way take less space than second way.

Second way is to make two VM machine. One is Server and one is Client os(Windows 10)

In command prompt, you can check your setting so far.

In server side, type ipconfig to see ip setting.

ping 192.168.1.100 to check connection to client.

nslookup mail.contoso.com to check DNS server.


Do same thing in client as well. above screenshot is after configuration. Ready to use email.

'AU Study > TAFE' 카테고리의 다른 글

W3 Tue Mor 13022018  (0) 2018.02.13
Thunderbird and encryption  (0) 2018.02.13
How to download Windows Server 2016  (0) 2018.02.08
Router Rip setting in packet tracer  (0) 2017.12.03
Router DHCP setting in packet tracer  (0) 2017.11.26
댓글
Announcement
Recent Posts
Recent Comments
Total
Today
Yesterday
Link
TAG
more
«   2025/01   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Search by month