/IMAP-Proxy

Modular IMAP proxy (including PyCIRCLeanMail and MISP forward modules)

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Modular Python IMAP proxy

Build Status

Features

Integrated modules

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

Demonstration with PyCIRCLeanMail

Installation

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:

start_cl.py -h

Or it can be started with the configuration file imapproxy.conf:

start_conf.py

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 !

License

    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/>.