ISP-Ubuntu breezy ispconfig dns email e-mail working finally
My early working ISP-Server Setup - Ubuntu 5.10 "Breezy Badger".
This installation is just for my personal sites, more changes are to come.
After a week of different attempts, email finally works. Although adjustments are still needed.
I am posting this for my own reference and maybe it will help someone else out.
It's not perfect but things work for now.
I like Ubuntu
godaddy for registered domain names
Behind a linksys router using NAT
Dynamic IP from my ISP
Using zoneedit for dns and mail services www.zoneedit.com
Using the installation from ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" http://www.howtoforge.com/perfect_setup_ubuntu_5.10
I followed the directions but just prior to installing ISPConfig I imaged the drive for a quick restore just in case things didn't work out. Used acronis for this part. It helps to quickly restore a hard drive after something blows up in my face.
During the ISPConfig installation option I chose:
Please enter the host name: www
Please enter the domain: mysite.com
I chose this option, so I could access just one site to make ispconfig changes.
Finished the installation.
Linksys forwarding ports. For tesing purposes, on the router, set the server IP on the DMZ.
In godaddy set the nameservers to zoneedit's name servers
set the A record to both www.mysite.com and mysite.com
setup zoneedit MX
Mail Servers (MX)
MailServer field: mysite.com
Mail Destination field: mysite.com
I left rank alone set to 1.
ddclient.conf file contains
use=web, web=checkip.dyndns.org/, web-skip='IP Address'
I will be changing the checkip.dyndns.org to something else since I'm not using their service. Hopefully I'll be able to check the IP from my linksys router.
Management -> Services -> Turn off DNS Server
Tools -> Portscanner
Scan the ports.
On the router forward the ports to the server's IP. Take server off the DMZ.
Also looking into keeping it on the DMZ and enabling the firewall.
Management -> Services -> Turn on Firewall
Management -> Settings -> Server Tab
IP Address is the IP of the server
Management -> Settings -> EMail Tab
Maildir: is checked.
Management -> Settings -> DNS Tab
Default Ns1: xxx.xxx.xxx.xxx this is the IP of my ISP
Default Ns2: xxx.xxx.xxx.xxx this is the IP of my ISP
I got this from the Status Tab of my router.
Default MX: is unchecked
One big headache was that my ISP it seems that my ISP does not update their DNS records quickly. Even after the web site would come up e-mail would not go through, it would bounce back as undeliverable. However, when I sent an e-mail from google or hotmail it went through right away. So after waiting another day, e-mail started going through from my ISP.
Downloaded and installed webmail package from the ispconfig site.
I just created one client to hold all the sites.
Creating a site in ispconfig:
Made sure Create DNS: is unchecked
For the new site:
ISP Manager -> new site -> Co-Domains -> Click the IP ( which is the local IP of my server ) -> Create DNS: unchecked -> Create DNS MX: unchecked
I test e-mail using Outlook Express
For server information the Incoming mail (POP3) is www.mysite.com I think it can also be mysite.com
For Outgoing mail (SMTP) is www.mysite.com
I had to request from my IPS to allow e-mail to be sent from my IP on port 25.
That was it.
In the future I may going re-install ispconfig and enter the local IP for the domain name. Then create one client and use the client to create the domains as a reseller. Maybe it will work better for me.
Important links I used:
|All times are GMT +2. The time now is 08:58.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.