[offlineimap] Proxy support (#169)

夏恺(Xia Kai) notifications at github.com
Fri Feb 13 11:55:54 GMT 2015


Usage notes:

    1. Install PySocks.

    ```
    pip install PySocks
    ```

    2. Added an option line in your account section:

    ```
    [Account Gmail]
    localrepository = Gmail-Local
    remoterepository = Gmail-Remote
    status_backend = sqlite
    proxy = SOCKS5:localhost:9999
    ```

    available proxy types are: SOCKS5, SOCKS4, HTTP

Implementation notes:

I personally removed imaplib2 from this repo before working 
on this feature, and have to do some work around imaplibutil.
You can view, comment on, or merge this pull request online at:

  https://github.com/OfflineIMAP/offlineimap/pull/169

-- Commit Summary --

  * Added proxy support.
  * fixed stupid typo.

-- File Changes --

    M offlineimap/imaplibutil.py (45)
    M offlineimap/imapserver.py (23)

-- Patch Links --

https://github.com/OfflineIMAP/offlineimap/pull/169.patch
https://github.com/OfflineIMAP/offlineimap/pull/169.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OfflineIMAP/offlineimap/pull/169
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20150213/bb675620/attachment-0002.html>


More information about the OfflineIMAP-project mailing list