All Projects → yvesago → imap-honey

yvesago / imap-honey

Licence: MIT license
IMAP or SMTP honeypot written in Golang

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to imap-honey

Magma
The magma server daemon, is an encrypted email system with support for SMTP, POP, IMAP, HTTP and MOLTEN,. Additional support for DMTP and DMAP is currently in active development.
Stars: ✭ 1,740 (+7809.09%)
Mutual labels:  imap, smtp
PySMS
Simple Python API that that allows you to send texts via SMTP with a best effort approach and process replies via IMAP
Stars: ✭ 19 (-13.64%)
Mutual labels:  imap, smtp
Mnm
The legitimate email replacement — n-identity, decentralized, store-and-forward, open protocol, open source. (Server)
Stars: ✭ 162 (+636.36%)
Mutual labels:  imap, smtp
Chameleon
Customizable honeypots for monitoring network traffic, bots activities and username\password credentials (DNS, HTTP Proxy, HTTP, HTTPS, SSH, POP3, IMAP, STMP, RDP, VNC, SMB, SOCKS5, Redis, TELNET, Postgres and MySQL)
Stars: ✭ 230 (+945.45%)
Mutual labels:  honeypot, imap
Mailer
A light-weight, modular, message representation and mail delivery framework for Python.
Stars: ✭ 225 (+922.73%)
Mutual labels:  imap, smtp
Opaquemail
.NET email library and proxy supporting IMAP, POP3, and SMTP with S/MIME and PGP.
Stars: ✭ 91 (+313.64%)
Mutual labels:  imap, smtp
Neomutt
✉️ Teaching an Old Dog New Tricks -- IRC: #neomutt on irc.libera.chat
Stars: ✭ 2,343 (+10550%)
Mutual labels:  imap, smtp
Hydroxide
A third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge
Stars: ✭ 578 (+2527.27%)
Mutual labels:  imap, smtp
Vmime
VMime Mail Library
Stars: ✭ 218 (+890.91%)
Mutual labels:  imap, smtp
Maddy
✉️ Composable all-in-one mail server.
Stars: ✭ 2,800 (+12627.27%)
Mutual labels:  imap, smtp
Esp32 Mail Client
The complete and secured Mail Client for ESP32, sending and reading the E-mail through the SMTP and IMAP servers.
Stars: ✭ 79 (+259.09%)
Mutual labels:  imap, smtp
Davmail
DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange and Office 365 Gateway - Synced with main subversion repository at
Stars: ✭ 250 (+1036.36%)
Mutual labels:  imap, smtp
Docker Mailserver
Production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.) running inside a container.
Stars: ✭ 8,115 (+36786.36%)
Mutual labels:  imap, smtp
Eventum
Eventum Issue Tracking System
Stars: ✭ 120 (+445.45%)
Mutual labels:  imap, smtp
Cypht
Cypht: Lightweight Open Source webmail written in PHP and JavaScript
Stars: ✭ 628 (+2754.55%)
Mutual labels:  imap, smtp
Mailio
mailio is a cross platform C++ library for MIME format and SMTP, POP3 and IMAP protocols. It is based on standard C++ 17 and Boost library.
Stars: ✭ 166 (+654.55%)
Mutual labels:  imap, smtp
Deltachat Desktop
Email-based instant messaging for Desktop.
Stars: ✭ 526 (+2290.91%)
Mutual labels:  imap, smtp
Mail
💌 Mail app for Nextcloud
Stars: ✭ 528 (+2300%)
Mutual labels:  imap, smtp
Ox Coi
OX COI Messenger - a Flutter app for the COI (Chat Over IMAP) standard
Stars: ✭ 188 (+754.55%)
Mutual labels:  imap, smtp
Mailu
Insular email distribution - mail server as Docker images
Stars: ✭ 3,151 (+14222.73%)
Mutual labels:  imap, smtp

imap-honey

Simple IMAP or SMTP honeypot written in Golang with log to console or syslog

Quick start

$ go run imaphoney/honey.go &

$ telnet localhost 1993
Trying ::1...
Connected to localhost.
Escape character is '^]'.
OK IMAP4
a0001 CAPABILITY
* CAPABILITY ACL ID IDLE IMAP4rev1 AUTH=PLAIN
a0001 OK CAPABILITY
a0002 LOGOUT
* BYE localhost
a0002 OK LOGOUT
Connection closed by foreign host.
$ go run smtphoney/honey.go &

$ telnet localhost 1993
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 localhost ESMTP ready
EHLO honey
250-localhost
250-PIPELINING
250-SIZE 5242880
250-ETRN
250 8BITMIME
250 DSN
MAIL FROM: [email protected]
250 Recipient ok
QUIT
221 2.0.0 Bye
Connection closed by foreign host.

IMAPS/SMTPS support

  1. Create public/private keys via:
openssl genrsa -out server.key 2048
openssl req -new -x509 -sha256 -key server.key -out server.pem -days 3650
  1. Run and test
$ make all
$ ./build/linux/imaphoney -cert server.pem -key server.key -addr :9443 -server my.syslog.server:514 &

$ openssl s_client -connect localhost:9443 -quiet
...

Full usage

Usage of ./build/linux/imaphoney:
  -addr string
        ipaddr:port (default ":1993")
  -cap string
        imap CAPABILITY (default "ACL ID IDLE IMAP4rev1 AUTH=PLAIN")
  -cert string
        cert file
  -d    debug
  -hostname string
        hostname (default "localhost")
  -key string
        cert file
  -q    quiet - no msg in console
  -server string
        syslog remote server
Usage of ./build/linux/smtphoney:
  -addr string
    	ipaddr:port (default ":1993")
  -aok
    	auth ok
  -cap string
    	smtp CAPABILITY (default "250-localhost;250-PIPELINING;250-SIZE 5242880;250-ETRN;250 8BITMIME;250 DSN;")
  -cert string
    	cert file
  -d	debug
  -hostname string
    	hostname (default "localhost")
  -key string
    	cert file
  -la
    	log auth
  -ld
    	log data
  -q	quiet - no msg in console
  -server string
    	syslog remote server

AUTHORS

Yves Agostini, <[email protected]>

LICENSE AND COPYRIGHT

License : MIT

Copyright 2022 - Yves Agostini

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].