Added a function for offlineimap that uses gpg under linux.