Most of the hosting providers offer free server migration. The free website migration started as early as 2005, in the industry. But only a few providers offer the email migration for a website transfer involving different control panels. So using getmail is the easiest way to transfer emails. All we need is to create the email account in the new server and configure the getmail to transfer the emails.
Download getmail at http://pyropus.ca/software/getmail/old-versions/getmail-4.20.3.tar.gz
wget http://pyropus.ca/software/getmail/old-versions/getmail-4.20.3.tar.gz tar xzf getmail-4.20.3.tar.gz cd getmail* python setup.py install
Now you have to create a getmailrc , the getmail configuration file inside the home folder of the user. getmailrc need not be inside the home directory. You have to create the folder .getmail where getmail keeps a log of the emails retrieved based on each configuration file you may have.You can have multiple destination and retriever sections in one single getmailrc as well.
I must say getmail is so much flexible and rightly coded when the mailsync or imapsync didn’t do their job right or up to the mark. And is an excellent replacement for fetchmail. It supports POP, POP3S, IMAP4 and IMAPS, and also can store the mails retrieved in mbox or maildir format at the destination.
An extremely simple getmailrc file will look like this
[retriever] type = SimpleIMAPRetriever server = mail.domain.com username = direct@domain.com password = direct [destination] type = Maildir path = /home/cpusername/mail/.direct@domain_com/
The file format should be pretty self-explanatory. You’re telling getmail to fetch your email from server, mail.domain.com by logging to it using the mentioned username and password. The destination section mentions where to store the retrieved email and in which format (Maildir or mbox or mboxrd). Make sure that the cur, new and tmp are there inside those folder though. However getmail may create those folders automatically though.
Finally to get this going, just run “getmail –rcfile getmailrc”
Once you run it, assuming that the getmailrc is properly configured, you will be welcomed by a below output.
getmail version 4.20.3 Copyright (C) 1998-2009 Charles Cazabon. Licensed under the GNU GPL version 2. SimpleIMAPRetriever:direct@domain.com@mail.domain.com:143: msg 1/3983 (299328 bytes) delivered msg 2/3983 (2815 bytes) deliveredContinue Reading
What is a domain name? A domain name is a unique name, kind of like an e-mail address is unique, which is registered in a database called WHOIS through an organization called Network Solutions, Inc. (NSI). The domain name corresponds to a unique set of numbers called an IP (Internet Protocol) address. The reason we use domain names instead of IP addresses is that they are closer to our language. It would be difficult to market a site like this: “Go to 64.233.167.99 or 216.109.112.135 to search the internet!” A much easier way to do this is to say “Go to www.Google.com or www.yahoo.com to search the internet!” (Both Google and Yahoo are trade marked by Google, Inc., and Yahoo, Inc., respectively).
A domain name points to a computer called a “name server”. The name server knows that your domain name corresponds to your web hosting server’s IP address and it routes the person who typed in your domain name to your web hosting server – to your web site. That is how people anywhere in the world can see your web site by typing your domain name.
In 1992, the National Science Foundation granted an exclusive contract to NSI to be the sole registrar of top level domain names. NSI also had a cooperative agreement with United States Department of Commerce (“DoC”). With no competition, consumers were at the mercy of NSI.
In 1998, NSI and the DoC amended their cooperative agreement to allow for competing registrars. NSI was forced to provide domain name registration to the competing registrars at wholesale prices, rather than the standard $34.99 annual fee. NSI still charges $34.99 per year.
In late 1998, the DoC assigned the responsibility of overseeing the transition to a competitive market for domain names and accreditation of new registrars to a new organization called the Internet Corporation for Assigned Names and Numbers (ICANN).
In 1999, ICANN began taking applications from companies who wanted to become registrars – and then capitalism took over: companies had to compete for business. Prices came down and service improved, however some are better than others. For a more detailed history of this transition, visit www.icann.org/registrars/accreditation-history.htm.
Even with the positive effects of competition in the domain name marketplace, the process of internet domain name registration remains a mystery for many.
There are a lot of companies that want to charge you hundreds of dollars to do the simple task of domain name registration for you. There are some registration companies who will charge you $35 just to register a domain. And there are web site consultants who charge over $100 to do the work for you. But you can do it yourself in about 15 minutes and it can cost as little as $1.99 for a year. If you do some research, learn a little and work smart, you can save yourself some money – and some headaches.
Continue ReadingHow many times have you been asked for providing a ‘traceroute’ output by your Hosting provider, or if you are an admin working with a hosting provider, how many times you’ve asked for the results of traceroute to your client ? Here is an article which explains all about how to intrepret a traceroute results.
What is Traceroute ?
Traceroute is the program that shows you the route over the network between two systems, listing all the intermediate routers a connection must pass through to get to its destination. It can help you in analyzing why the connections from your end to a server is poor, and can often help you to spot what exactly is the problem. It always shows you how your machine is connected to ISP and ISP to the rest of the network, collectively the connection between your end and server.
When we initiate Traceroute, it sends a sequence of Internet Control Message Protocol (ICMP) packets addressed to a destination host. It passes through a series of intermediate routers, which involves a TTL (Time-to-Live) value. TTL refers to how many routers your packet can go through before its expires. Routers will discard a packet when the TTL has reached zero, returning an ICMP error message Code 11 (ICMP Time Exceeded) to the sender.
Executing traceroute
The only required parameter is the name or IP address of the destination host . The optional packet length is the total size of the probing packet (default 60 bytes for IPv4 and 80 for IPv6).
In Unix machines : traceroute server-name (traceroute supportsages.com)
In Windows machines : tracert server-name (tracert supportsages.com)
We will be discussing in detail about traceroute in IPv4, Unix environment
In general, traceroute can be found in /usr/sbin. So the traceroute command can be also run as
/usr/sbin/traceroute server-name
You can check where traceroute is located using the command :
root@server:~$ which traceroute /usr/sbin/traceroute
Traceroute main options
traceroute [-m] [-q] [-w]
-m : Specifies the maximum number of hops (max Time-To-Live value). The default is 30.
-q : Sets the number of UDP packets per hop. The default is 3
-w : Set the time (in seconds) to wait for a response to a probe. Default 5 seconds
Reading the Output
When a traceroute command is executed, generally it will go for a maximum of 30 hops. On the Internet, most data packets need to go through several routers before they reach their final destination. Each time the packet is forwarded to the next router, a Hop occurs. The more hops, the longer it takes for data to go from source to destination. So the fewer hops it takes to get your data, the faster your access will be. Such 30 hops are counted when executing a traceroute command.
Syntax of the result of a traceroute command
linx-1.init7.net (195.66.224.175) 252.199 ms 253.216 ms 253.359 ms
(Target Server) (IP address) (RTT 1) (RTT 2) (RTT 3)
Here is the full result of a traceroute command :
root@server:~$ traceroute supportsages.com traceroute to supportsages.com (188.40.112.243), 30 hops max, 60 byte packets 1 192.168.1.1 (192.168.1.1) 24.361 ms 24.371 ms 24.394 ms 2 ABTS-KK-dynamic-001.0.172.122.airtelbroadband.in (122.172.0.1) 38.161 ms 39.415 ms 40.911 ms 3 ABTS-KK-Static-093.32.166.122.airtelbroadband.in (122.166.32.93) 43.195 ms 43.587 ms 48.054 ms 4 ABTS-KK-Static-009.32.166.122.airtelbroadband.in (122.166.32.9) 48.304 ms 49.512 ms 51.947 ms 5 122.175.255.29 (122.175.255.29) 53.312 ms 55.444 ms 57.223 ms 6 59.145.36.230 (59.145.36.230) 235.823 ms 212.100 ms 212.298 ms 7 linx-1.init7.net (195.66.224.175) 252.199 ms 253.216 ms 253.359 ms 8 r1ams2.core.init7.net (77.109.128.34) 252.791 ms 253.008 ms 255.776 ms 9 r1ams1.core.init7.net (77.109.128.145) 255.973 ms 256.212 ms 256.592 ms 10 r1fra1.core.init7.net (77.109.128.153) 345.600 ms 345.906 ms 346.151 ms 11 gw-hetzner.init7.net (77.109.135.18) 358.110 ms 358.565 ms 358.808 ms 12 hos-bb1.juniper2.fs.hetzner.de (213.239.240.243) 359.089 ms hos-bb1.juniper1.fs.hetzner.de (213.239.240.242) 233.990 ms hos-bb1.juniper2.fs.hetzner.de (213.239.240.243) 233.347 ms 13 hos-tr4.ex3k10.rz10.hetzner.de (213.239.227.235) 235.315 ms hos-tr2.ex3k10.rz10.hetzner.de (213.239.227.171) 233.554 ms hos-tr4.ex3k10.rz10.hetzner.de (213.239.227.235) 242.239 ms 14 main.supportsages.com (188.40.112.203) 235.676 ms 241.867 ms 242.565 ms 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * *
Analyzing the Output
The first line shows the target server, that server’s IP address, the maximum number of hops that will be allowed, and the size of the packets being sent. The following line for each system or router in the path between your machine and the target server. Each line shows the name of the server (as determined from DNS, if it cannot perform a Reverse DNS, only the IP address is shown), the system’s IP address, and three Round Trip Times (RTTs) in milliseconds. These RTTs shows the time it took a packet to get from your machine to the server and back again, called the latency between the two systems. By default, three packets are sent to each system along the route, so it shows three RTTs.
Understanding the issues
1) Some times the output may have one or two of the RTTs missing
linx-1.init7.net (195.66.224.175) 252.199 ms * *
In this case, the server is up and responding, but for some reason it did not respond to the second and third packets. This does not necessarily indicate a problem; in fact, it is usually normal, and just means that the system discarded the packet for some reason. These are most often computers, rather than dedicated routers. Systems running Solaris routinely show an asterisk instead of the second RTT.
It’s important to remember that timeouts are not necessarily an indication of packet loss.
2) Sometimes you will see an entry with just an IP address and no server name :
77.109.128.153 255.973 ms 256.212 ms 256.592 ms
This simply means that a reverse DNS lookup on the address failed, so the name of the server could not be determined.
3) If your traceroute ends in all timeouts, like this:
12 gw-hetzner.init7.net (77.109.135.18) 358.110 ms 358.565 ms 358.808 ms
13 * * *
14 * * *
15 * * *
This means that the target host could not be reached. Precisely, it means that the packets could not reach there and back. They may actually be reaching the target system but encountering problems on the return. This is possibly due to some kind of problem, but it may also be an intentional block due to a firewall or other security measures, and the block may affect traceroute but not real server connections.
After the trip time, some additional annotation can be printed
!H Host unreachable
!N Network unreachable
!P Protocol unreachable
!S Source route failed
!F Fragmentation needed
!X Communication administratively prohibited
!V Host precedence violation
!C Precedence cutoff in effect
!<num> ICMP unreachable code <num>.
If almost all the probes result in some kind of unreachable, traceroute will give up and exit.
How it Works
As mentioned earlier, Routers will discard a packet when the TTL has reached zero, returning an ICMP error message Type 11 (ICMP Time Exceeded) to the sender. This is the basic principle behind Traceroute command. This ICMP error message will give more information about each hop in the path.
root@server:~$ traceroute supportsages.com traceroute to supportsages.com (188.40.112.243), 30 hops max, 60 byte packets 1 192.168.1.1 (192.168.1.1) 24.361 ms 24.371 ms 24.394 ms 2 ABTS-KK-dynamic-001.0.172.122.airtelbroadband.in (122.172.0.1) 38.161 ms 39.415 ms 40.911 ms 3 ABTS-KK-Static-093.32.166.122.airtelbroadband.in (122.166.32.93) 43.195 ms 43.587 ms 48.054 ms 4 ABTS-KK-Static-009.32.166.122.airtelbroadband.in (122.166.32.9) 48.304 ms 49.512 ms 51.947 ms 5 122.175.255.29 (122.175.255.29) 53.312 ms 55.444 ms 57.223 ms 6 59.145.36.230 (59.145.36.230) 235.823 ms 212.100 ms 212.298 ms 7 linx-1.init7.net (195.66.224.175) 252.199 ms 253.216 ms 253.359 ms 8 r1ams2.core.init7.net (77.109.128.34) 252.791 ms 253.008 ms 255.776 ms 9 r1ams1.core.init7.net (77.109.128.145) 255.973 ms 256.212 ms 256.592 ms 10 r1fra1.core.init7.net (77.109.128.153) 345.600 ms 345.906 ms 346.151 ms 11 gw-hetzner.init7.net (77.109.135.18) 358.110 ms 358.565 ms 358.808 ms 12 hos-bb1.juniper2.fs.hetzner.de (213.239.240.243) 359.089 ms hos-bb1.juniper1.fs.hetzner.de (213.239.240.242) 233.990 ms hos-bb1.juniper2.fs.hetzner.de (213.239.240.243) 233.347 ms 13 hos-tr4.ex3k10.rz10.hetzner.de (213.239.227.235) 235.315 ms hos-tr2.ex3k10.rz10.hetzner.de (213.239.227.171) 233.554 ms hos-tr4.ex3k10.rz10.hetzner.de (213.239.227.235) 242.239 ms 14 main.supportsages.com (188.40.112.203) 235.676 ms 241.867 ms 242.565 ms 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * *
In the first step, an ICMP request was sent from the router (Here it is 192.168.1.1) to 188.40.112.243 with TTL 1. Since the server was not directly connected to the router, an ICMP Error message, Code 11 (TTL Exceeded) was returned along with it’s source address. It is clear that the very first hop to 188.40.112.243 is from our local router. Thus the router IP (192.168.1.1) is shown along with three RTTs.
Traceroute will always search for a Server Name, if possible. So the server name is displayed along with its IP address (if it cannot perform a Reverse DNS, the IP addres is only shown)
Traceroute will again send 3 more packets, with TTL 2. The same thing will happen, the next router will respond with its IP address and RTTs. This will go on until the target server or maximum hop count is reached. If the target server is reached, the ICMP Code 0, Echo Reply will be sent and thus Traceroute knows the job is finished. In this case the target server is reached well before the maximum hop counts. So what we saw is a successful traceroute attempt. No issues at all !
The image explains it all – A series of Routers are skipped for the sake of representation
http://www.mediacollege.com/internet/troubleshooter/traceroute.html
http://www.exit109.com/~jeremy/news/providers/traceroute.html
http://www.akmos.com/support/techsupport/traceroute.html
http://www.ehow.com/how_6468192_understand-traceroute-output.html
http://mellowd.co.uk/ccie/?p=609
Continue ReadingNOW offer MANAGED VPSes for as low as $249 per VPS node
Through us, now you can!!! If you are someone who places quality of service over all, opt us. You will never regret the decision.
Maximum of 15 minutes response time and 6 hours resolution time – Best response times in the industry (delivered by a technical support firm). Average is far far below that – 5 mins response time and 45 mins resolution time.
Here is our VPS management offer details
Trust us! we really care for your clients. We take pride in the reviews they give for you here, while we remain anonymous to them.
With this plan, you just need to arrange for the backup space of the VPSes and start offering managed VPS very easily.
Pricing
One VPS node – $249 per month
2 – 5 VPS nodes – $229 per month
5 – 10 VPS nodes – $199 per month
10 – 20 VPS nodes – $179 per month
20+ VPS nodes – $149 per month
For order links, please contact our sales or chat us via IM.
Here is a brief of our other offers
24×7 Shared support – $999 per month (Live chat included + Unlimited tickets)
24×7 Dedicated support – $2999 per month (Live chat included + Unlimited tickets)
Till this offer lasts, we also offer dedicated Level III admin for just $1299 per month, while a semi-dedicated level III admin can be hired for just $799 per month.
With our dedicated staff,
And any customized requirements you would want (y)our staff to do.
For placing an order, please chat with us online from any of the instant messenger or Live Chat service provided to you from our website at http://www.supportsages.com or email sales [a][t] supportsages.com .
NB : SS supports all virtualization technologies and multi-platforms also.
Continue ReadingStep V : Setting Up Your E-mail Server.
The next step is to set up the URL you want to use to access Webmail. In most cases, this is either webmail.example.com or simply mail.example.com. To make this change, click on the ‘Service Settings‘ tab in the top menu of the dashboard. Then, click ‘Email‘. From there, specify that you want to use a custom URL, and enter the appropriate subdomain for your domain.
Submit that form, and Google will then provide you with information about adding a CNAME entry for your new subdomain. You should make corresponding entries in the DNS zone to implement this. For example if the URL with which you wish to access your mail is webmail.example.com then you must give a CNAME record ‘ ghs.google.com. ‘ in the DNS zone for webmail. This is shown below :
Step VI : MX Record Changes
Once you have finished creating all of the users, you can return to the dashboard and click ‘Activate email‘ and follow the MX change instructions provided by Google. If you are lucky enough to use one of the hosts included in the dropdown menu there, you should be able to get clear, specific instructions explaining how to make the changes in your domains control panel.
Google will have you add seven new MX records to your DNS zone file. Those entries will probably look like:
MX Server address Priority
ASPMX.L.GOOGLE.COM. 10
ALT1.ASPMX.L.GOOGLE.COM. 20
ALT2.ASPMX.L.GOOGLE.COM. 20
ASPMX2.GOOGLEMAIL.COM. 30
ASPMX3.GOOGLEMAIL.COM. 30
ASPMX4.GOOGLEMAIL.COM. 30
ASPMX5.GOOGLEMAIL.COM. 30
It’s important that you copy and paste those addresses exactly as they appear in the Google instructions. They all include dots at the end of the addresses, and that dots need to be included. I am attaching a screenshot below which will hopefully give you an idea on how it should be entered.
Your new entries will need to look similar to:
your-domain.com 14400 IN MX 10 ASPMX.L.GOOGLE.COM.
Where your-domain.com is your domain name, the second spot is the TTL or Time To Live (which can be left blank if required), the word ‘IN‘ is in the third spot, the fourth spot is filled with ‘MX‘ , the fifth spot is the ‘Priority‘ and the last spot includes the address provided by Google.
Also, in most of the cases you can only add four or five entries to the zone file at a time, so you’ll have to add this first, save the file, and then add the rest.
Once you’ve made those changes, click the ‘I’ve made these changes‘ button in the Google Apps window.
Finally you can return to dashboard and click on the ‘Activate email‘ tab which you will find right below the ‘Email‘ option. See below :
The last and most difficult Step : Waiting.
At this point, you’re pretty much done. You now simply have to wait because It can take anywhere from one hour to 48 hours before the changes are complete.
Once the changes have completed, though, you can set up your e-mail client (Outlook, Thunderbird etc.) to check your e-mail. The Gmail IMAP settings are fairly simple. They are as follows:
IMAP (incoming) mail:
Server: imap.gmail.com
Port: 993
Encryption: SSL
SMTP (outgoing) mail:
Server: smtp.gmail.com
Port: 465 or 587
Encryption: TLS
***********************************************************************************************************
Continue Reading