Modular Python IMAP proxy
- Support IPv6 and TLS/SSL for both client and server connections
- Works with email applications as Thunderbird or Outlook
- Extensions: UIDPLUS, MOVE, ID, UNSELECT, CHILDREN and NAMESPACE
Modules are easy to integrate and to remove (just remove their calls in the proxy.py file).
- Sanitize emails and keep a copy in a Quarantine folder using the PyCIRCLeanMail
- Forward emails to MISP
Installation and run
git clone https://github.com/CIRCL/IMAP-Proxy.git cd IMAP-Proxy python3 setup.py install pip3 install -r requirements.txt
Run the proxy
It can be started by adding arguments to the command line:
Or it can be started with the configuration file imapproxy.conf:
Run with Thunderbird
First, open Thunderbird, right-click on your email address and select "Settings". In "Server Settings", modify the "Server Name" by the IP address of the proxy (or localhost).
How to contribute
Any help is welcome via pull requests and Issues or by contacting contributors of this project. Thank you !
Copyright (C) 2018 Xavier Schul Copyright (C) 2018 CIRCL - Computer Incident Response Center Luxembourg (c/o smile, security made in Lëtzebuerg, Groupement d'Intérêt Economique) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.