Avast blocks your communication to Gmail server (port 993 imaps)

After investigating on a very strange behavior of our App we found a solution to a very common problem comes from Avast!: This antivirus blocks every connection to the Gmail server over imaps (port 993).

Every users that use Avast! has to add an exception in their “Email protection” system.

Open the Avast Preferences and click on Advanced for the Email protection:

add_Avast_exception_email_protection

Then click on Exception and add your Exception clicking on the little plus (+):

avast_add_exception_email_server_osx

You have to add an exception for:

Server: imap.gmail.com
Service: imaps

Now our App can freely communicate to the Gmail server.

Other antivirus (check the Error in the logs)

At the moment we don’t know but maybe you could have the same error with others antivirus. You can see the strange behavior of our App in the logs (after enabling the logs in the Preferences):

12/05/14 11:00 Check for new Emails in '[Gmail]/Tutti i messaggi'
12/05/14 11:00 processBatch: 351 messages in batch
12/05/14 11:00 messagesFullFrom: NIL - ERROR: Error Domain=mailcore Code=5 "Parse error" UserInfo=0x7ff3e5e01fe0 {NSLocalizedDescription=Parse error}
12/05/14 11:00 End Fetch messages (100 / 351)
12/05/14 11:00 Lost connection to server ... aborting backup

The “Parse error” on the “Check for new Emails” procedure means that something is blocking this procedure!

Gmail went down! Did you have a backup?

Gmail went down again yesterday, it can happen.
(read the article on Techcrunch: Gmail And Google+ Go Down Across The World, Service Returns After Roughly 50 Minutes)

But what about your emails if you use it for work?
Sure, everybody can survive for more than 50 minutes without emails but the real big problem could be the data lost as it happened a few years ago.
Backup your Gmail account and sleep quiet! ;-)

Enable the logs

You can enable the standard logs in the Preferences -> Advanced:

backup-gmail_enable_logs

 

Enable the “Debug mode logging” for the verbose version of the logs. For the most verbose level of the logs you have to enable the IMAP transactions logs but be careful: it can quickly fill your memory (it creates a lot of data).

To See the standard Logs

Open the Utility -> Logs window, they will browse in that window:

backup-gmail-utility-logs

Before closing it remember to disable the Logs in Preferences otherwise it will go ahead to store data in that box.

To See the Console Errors

Sometimes an App can crash and we need to understand what happened before helping you. You should see the logs in the OSX Console, copy it and send them to us.

Open it (Application -> Utility -> Console) and look for the BackUp Gmail lines:

BackUp Gmail 1.8 is online!

In this new release we worked primarily on the stability.

Our App, as many people ask us, has to be stable, very stable. The people wants to forget it, like every backup procedure. And we wish to provide this service.
At the same time, Gmail improves often the functionalities of his service and we have to keep our App up-to-date constantly.

What’s New in Version 1.8

These are the news:

  • Improved alert on some common errors (AllMail folder, IMAP enabled, etc)
  • Improved performance and stability on the backup procedure
  • Added new button “Open Backup Folder in Finder” in Preferences/Folder
  • Updated IMAP library
  • Bugfixes

Advanced search in your local backup

spotlight icon

Many people ask to me for an Advanced Search. We planned in our milestone to develop a simple Viewer that will allow you to search for any field (Sender, Subject, Date, etc).

But today I would like to give you an alternative until we will release this new feature.
As you know Mac OS X is built on UNIX/BSD and the powerful of this OS can help you. Most of the commands are by command line but do not worry, it’s easy!

Open the Terminal: Applications -> Utility -> Terminal (or look for it in the new Launchpad). When you sill see the prompt command line you will be ready!

First, you need to move into your Backup folder (selected in the Preferences of Backup Gmail). Use the ‘cd’ command:

cd ~/Documents/Backups/Gmail

Now you can use the powerful ‘grep‘, send this command:

egrep -i -l -R "Osaka" Filestore/jazzo72/2008

It will look for all the emails contains the word “Osaka” in the year 2008. It will check recursively in all the nested folders starting from Filestore/jazzo72/2008. To understand better this path read the post about the FileStore sub-folders structure. The output will give you the relative path to the filename of the email(s) that includes that word:

jazzo72/2008/03/20080321-074810_lastphoto.eml

Now you can get this email following the path or you can directly open it by this command:

open jazzo72/2008/03/20080321-074810_lastphoto.eml

The “open” command will open the email with your Mail client software.

BackUp Gmail 1.7 is online!

We improved the stability of BackUp Gmail with a new notification system that checks if the “Internet connection” is available and the Gmail server is ready. So we have could add the new “Cancel backup” to stop it when it is in progress.
We worked finally to create an enhanced log system to help users that have a problem using the App. Now, in a very low level, it can log even the “IMAP traffic“.

What’s New in this Version?

  • Now you can Stop the backup procedure when it is in progress
  • Added the “Launch at Startup” feature (you can set it in Preferences)
  • Enhanced log system (Enable/Disable, Debug mode, IMAP traffic)
  • BugFix on “No internet connection available

Download it just now!