[ubuntu-uk] GMailfs on Lucid - Any joy?

2011-04-27 Thread Dave Hanson
Hi Everyone, I've been playing with gmailfs all morning and I've managed 
to get it to mount my gmail space as a drive on Lucid, but the files do 
not seem to remain intact for some reason after I unmount/reboot.


The file size stays the same and all the rest of it but the data inside 
the files dissapears?


Has anyone out there successfully managed to get it working properly?

Dave

P.S - Here are my rather crude notes as to how I got this far..

*Open a gmail account*

*Get the pyhton script*

cd /home/.gmailfs

wget http://sr71.net/projects/gmailfs/gmailfs.py-v8

nano gmailfs.py-v8*
*
Change:*

if os.environ[IMAPFS_TRASH_ALL] != None:

*To*

if os.getenv(IMAPFS_TRASH_ALL) != None:

*Get the .conf file*

cd (location is in gmailfs.conf)

wget http://sr71.net/projects/gmailfs/gmailfs.conf

nano gmailfs.conf

*Change the lines:*

[account]
username = gmailfsuser12322...@gmail.com
password = s33kr1t

*To your user details on the gmail account you set up earlier.*

*You need lgconstants.py in the /home/.gmailfs folder.*

cd /home/gmailfs

wget 
http://sourceforge.net/projects/libgmail/files/libgmail/0.1.11/libgmail-0.1.11.tar.gz/download


sudo tar xzf libgmail-*.tar.gz

sudo chmod 777 libgmail*

cd libgmail-*

mv lgconstants.py /home/.gmailfs

sudo chmod 777 /home/.gmailfs

sudo mkdir /media/Gmail

--
*Now to run it*
--

cd /home/.gmailfs

sudo python gmailfs.py -o allow_root none /media/Gmail

The drive should be mounted, and you Gmail account will have created a 
folder conataining emails with garbled messages, leave these alone.


You will need to run these last two commands each time you need to mount 
your Gmail drive or set up some sort of automount.


smime.p7s
Description: S/MIME Cryptographic Signature
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] GMailfs on Lucid - Any joy?

2011-04-27 Thread LeeGroups

I'd abandon this project now...
The last time I played with a Gmail file system, it was detected at 
their end and the account was frozen...


Or at least play with a disposable account.
Lee

--
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/