Skip to content

iamvasuh/MailSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

MailSync


Paper: NDNizing Existing Applications: Research Issues and Experiences

Overview

At the current stage, MailSync is a proof-of-concept application powered by Named Data Networking (NDN). MailSync project consists of two applicaitons - a laptop version and an Android version.

  • greenmail-mailsync: MailSync laptop version
  • mailsync-android: MailSync Android version

Test Running

Demo video

greenmail-mailsync (Laptop version)

Download activation.jar and mail.jar from this website:

* https://code.google.com/archive/p/javamail-android/downloads 

Install these two lib locally using Maven:

* mvn install:install-file -Dfile=/[CHANGE IT]/activation.jar -DgroupId=javax.activation -DartifactId=activation -Dversion=10.0.0 -Dpackaging=jar
* mvn install:install-file -Dfile=/[CHANGE IT]/mail.jar -DgroupId=com.sun.mail -DartifactId=javax.mail -Dversion=10.0.0 -Dpackaging=jar

Download Thunderbird mail client from this website:

* https://www.thunderbird.net/en-US/

Configure the Thunderbird server settings:

* Server Name: 127.0.0.1
* Port: 3143
* Connection security: None
* Authentication method: Password, transmitted insecurely

Follow the guide to install NFD and run it in the background.

mailsync-android (Android version)

On your Android device, configure your Gmail client incoming server:

* Server name: 127.0.0.1
* Port: 3143
* Security: none

Download NFD Android version Google Play store and run it in the background.

Testing Steps:

  1. Run NFD on Android;
  2. Run MailSync on Android; * Change the default account and password to yours and #; * Click the "Clear All" button; * Click the "Run" button;
  3. Go back to NFD to check if there is a "mailSync" route created;
  4. Use another email account to send a email to your test account;
  5. Go back to MailSync, scroll down the screen to load the new email
  6. Wait for a while to let the app processing email data
  7. Cut off the Internet and turn on the hotspot (without data usage)
  8. Connect your laptop to the hotspot you just set up
  9. Run Thunderbird
  10. Run MailSync on your laptop, it will fetch emails from Android device automatically
  11. After the synchronizaiton is done, go to Thunderbird and click the "Get Message" button on top-left corner;
  12. You should get the email.

Developement

Technologies involved:

Prerequisites

Current Issues

  • IMAP connection sometimes crashes for unknown reason
  • For the first time a user connects to MailSync on Android, it takes long time to synchronize. The ideal case might be for the first time, MailSync doesn't store all user's emails into database. Only when new emails come in, we store them.
  • No retransmission mechanism for NDN which causes the whole synchronization failed if a single email chunk get lost.
  • No security mechanisms
  • UI/UX to be improved

Play it, crash it and report more issues on the Issue page.

Contirbuting

Please read the NDN Contributing Guide. We are not currently using Gerrit on this project, so that part can be ignored for now. Contributions should follow the NDN Style Guide.

Communication

Our chat channel is on Slack

Please join our mailing list to discuss questions regarding the project: https://named-data.net/codebase/platform/support/mailing-lists/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published