My Server Has Fixed IP Address, How to Build Internet Mail Server?
[1] My server has a fixed Internet IP address.
[2] I have an Internet domain.
If your server has an fixed Internet IP address and you have an Internet domain, you can build a standard Internet mail server with AA Mail Server easily, just liking yahoo.com or hotmail.com does. Your mailboxes hosted in AA Mail Server can receive mails from other mail servers and send mails to Internet directly.
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 two 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. On domain control panel, you need to do:
- Login your ISP domain control panel (where you applied your domain).
- Create a "A" record with name of "mail.mycompany.com" and with value of your Internet IP address.
- Create a "MX" record with value of "mail.mycompany.com", which you just created.
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 server's IP address 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?