A lightweight SMTP honeypot server written in Go, leveraging go-smtp. A stand alone version of a module from honeygogo "a golang honeypot" ecosystem.
Logs mail to stdout and elasticsearch.
Goper image by egonelbre
- the smtp server runs on port 10025
- set the
ELASTICSEARCH_URL
env var with the elasticsearch url if desired (ex.http://es:9200
) - set the
MM_LICENSE_KEY
env var to pull maxmind geoip database (this is a free thing) - set the smtp server port with
HGG_PORT
docker pull jothflee/honeygogo-smtp
run elasticsearch 9200
kibana 5601
and smtp 10025
using docker/docker-compose
docker-compose up
or
go mody tidy
go run main.go
The software is using MIT License (MIT) - contributors welcome.