Getting Google Mail to work in Evolution (Another Option)


There are a number of posts out there walking you through the processes of setting up an EMail client on various Linux Desktops.  I’ve used a fare number of them myself.  And one of the things that remain a constant (headache) is getting GMail to work in Evolution.

As I mentioned in the outset, there are a number of walkthroughs on this topic.  This is more like an amendment or an ‘if all else fails’.  Check out this post on Ubuntu Docs “” it is very easy to follow and has helpful links.  The only thing is that GMail has an IMAP setting.  I recommend you choose that instead of POP.  Here’s why: ““.

Once you go through the setting up of your email client, you click ‘Apply’ and you reply “Great! It worked” or “Great! It didn’t work”.  If your reply was that latter, your not alone, read on.

Unfortunately simply adding the port :995 for IMAP/POP and :465 or :587 for SMTP behind the server name doesn’t work (at leas for us).

I ran the “dig” command in a terminal and found the ip addresses of the gmail servers.

Command: dig  Witch resulted in:

;; ANSWER SECTION:        78    IN    CNAME 300 IN    A


Command: dig  Witch resulted in:

;; ANSWER SECTION:        300    IN    CNAME 300    IN    A

I then replaced the server name:port with ip address:port like so:

On the ‘Receiving Email’ tab; and on the ‘Sending Email’ tab;  Clicked ‘OK’ then ‘Close’ and “Great! It worked”.

To further test I added and to my /etc/hosts file and changed ip address:port to server name:port method to find that this also worked.

In conclusion, ‘if all else fails’ use the ip address:port method or simply add the ip address and hostname to your /etc/hosts file.

Extra: = = = = = =

Thanks and comments are welcome