IMAP Storage Filesystem v0.0.4a
© 2007 Xuan Luo
xuanluo at ocf dot berkeley dot edu
Note:
My project is old and has a lot of unresolved issues and design
problems. Please don't try to use it in any production applications. I
do not foresee updating it any further. I hope someone will come along
and make a better one.
Build instructions
- Edit the "build.conf" file and make sure the "JDK_HOME" variable
is set to the path to your Java SDK installation
- Make sure the other variables are correct too
- Run "make"
Run instructions
./imapfs_mount.sh /mount/point
imap[s]://user:pass@host[:port]/rootmailbox
- You need to manually create a root mailbox with an IMAP client
before running this filesystem
- For nested mailboxes, you can use "/" as the separator
character; the program should replace it with the correct one
- IMAPS (IMAP over SSL) is supported; you need to give "imaps" as
the protocol
- The port is optional; defaults to the default IMAP (143) / IMAPS
(993) ports
NOTE: Currently, due to bugs in FUSE-J, the filesystem
will only work in foreground mode, and not in daemon mode. The mount
script has been hard-coded to mount the filesystem in foreground mode
("-f" option). That means that once you mount it, the program will
continue running and print debug messages. Please leave this program
running (do not terminate it), and use another shell session to use the
filesystem. Once you unmount the filesystem ("fusermount -u
<mountpoint>"), the program printing the debug messages will
exit.\
Related links
- IMAP Network Storage - similar to this project. Hopefully it will be better than mine, but there doesn't seem to be any code or releases yet
- IMAPFS - a filesystem that lets you mount your IMAP folders to read the emails as files (not to store arbitrary files in emails)
- imuse - another filesystem for accessing IMAP folders as files, and for sending mail by writing files