diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-05-21 10:00:19 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-05-21 10:00:19 -0300 |
commit | e5fa0790f5231c333aba4bc5f6766556e062aa6c (patch) | |
tree | 6ffa31245438320da2934fda9aeb4f8248f0e3a7 /src/leap/mail/imap/service/README.rst | |
parent | d24b8590ff06708032c3a7a5856b728d3fc48c9a (diff) | |
parent | ffedb3b8e32c062604cc2f178213c82d90843788 (diff) |
Merge remote-tracking branch 'kali/feature/imap-service2' into develop
Conflicts:
pkg/requirements.pip
src/leap/mail/imap/tests/test_imap.py
Diffstat (limited to 'src/leap/mail/imap/service/README.rst')
-rw-r--r-- | src/leap/mail/imap/service/README.rst | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/leap/mail/imap/service/README.rst b/src/leap/mail/imap/service/README.rst new file mode 100644 index 0000000..2cca9b3 --- /dev/null +++ b/src/leap/mail/imap/service/README.rst @@ -0,0 +1,39 @@ +testing the service +=================== + +Run the twisted service:: + + twistd -n -y imap-server.tac + +And use offlineimap for tests:: + + offlineimap -c LEAPofflineimapRC-tests + +minimal offlineimap configuration +--------------------------------- + +[general] +accounts = leap-local + +[Account leap-local] +localrepository = LocalLeap +remoterepository = RemoteLeap + +[Repository LocalLeap] +type = Maildir +localfolders = ~/LEAPMail/Mail + +[Repository RemoteLeap] +type = IMAP +ssl = no +remotehost = localhost +remoteport = 9930 +remoteuser = user +remotepass = pass + +debugging +--------- + +Use ngrep to obtain logs of the sequences:: + + sudo ngrep -d lo -W byline port 9930 |