My Server Has Dynamic IP Address, How to Build Internet Mail Server?
[1] My server has a dynamic Internet IP address.
[2] I have an Internet domain.
If your server connects to Internet via ADSL, your server should have a dynamic Internet IP address. You can, but no suggested, build your mail server with a dynamic IP address. Because some other mail servers will reject mails from those mail servers with dynamic IP address for anti-spam protection.
This case is suitable for product trial And you can change to fixed IP address after trial finished. Followings are instructions for building a mail server with dynamic IP address.
Let's assume that your domain is "mycompany.com", your server's local IP address is "192.168.1.2" and Internet IP address is 123.123.123. There will be three major steps for you to build up this Internet mail server.
Step 1. On your mail server, you need to do:
- Install AA Mail Server ready on your server. Refer: Install AA Mail Server.
- Create a domain with "Standard mail server" mode. Refer: Create domains.
- Create accounts for your staff. Refer: Create accounts.
- Open 25/110/80 TCP ports in your firewall. Refer: Configure firewall.
- If behind a router, goto router's panel to create 25/110/80 ports forwarding. Refer: Configure router.
[1] "telnet 127.0.0.1 25": verify if AA Mail Server run ready.
[2] "telnet 192.168.1.2 25": verify if mail service is ready for LAN; if not, check firewall settings.
[3] "telnet 123.123.123.123 25": verify if mail service is ready for Internet; if not, check port forwarding settings.
Step 2. Apply Dynamic DNS Service from a ISP
- Select a dyanmic DNS service ISP, e.g. http://www.dyndns.com.
- Apply an account and apply for a second level domain, e.g. "xxxx.dvrdns.org". this is normally free.
- Download & install their auto-update client, run it on your server to bind your server with xxxx.dvrdns.org.
Step 3. On domain control panel, you need to do:
- Login your ISP domain control panel (where you applied your domain "mycompany.com").
- Create a "MX" record with value of "xxxx.dvrdns.org.".
After domain MX configure ready, your mail server is ready for Internet mail service. Now you could click "Diagnose" toolbar button to run diagnosise wizard for your server in AA Mail Server. Your SMTP server and POP3 server are "mail.mycompany.com" (or you can use xxxx.dvrdns.org directly). Webmail address will be http://mail.mycompany.com/mail as default.
- See also: What is domain MX?
- See also: How to change Webmail URL to http://mail.mycompany.com?