diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-08-29 23:05:33 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-08-29 23:05:33 -0400 |
commit | 43df4205af42fce5d097f70bb0345b69e9d16f1c (patch) | |
tree | 3850a0ed0748476b37e2850bbdc10d10aadfbbbd /mail/src/leap/mail/imap/service/README.rst | |
parent | aa882b7a64f2c821c8e241a5ff725f27c64fc15f (diff) | |
parent | 8e4746835a1a053558ff06d4fd12b31167a80296 (diff) |
Merge leap_mail into unified bitmask repo
Diffstat (limited to 'mail/src/leap/mail/imap/service/README.rst')
-rw-r--r-- | mail/src/leap/mail/imap/service/README.rst | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/mail/src/leap/mail/imap/service/README.rst b/mail/src/leap/mail/imap/service/README.rst new file mode 100644 index 00000000..2cca9b38 --- /dev/null +++ b/mail/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 |