Hi,

this is my first project written in Go. It is a Postfix policy service that can 
help reject compromised sender accounts. Therefor it takes the sender IP and 
gets its geo location ISO code. If a sender comes from too many countries, the 
request is rejected. A second feature is to count the number of different IPs 
and if a certain amount of addresses were seen, the request gets also rejected.

There is a whitelist option, where settings can be modified for any sender 
account.

Furthermore this little policy service has also LDAP support. It is limited to 
LDAP with or without StartTLS and with simple bind or SASL/EXTERNAL. PRs are 
welcome.

The suggested way to use this service is by running it as a docker container. A 
Dockerfile and a sample docker-compose.yml file is included.

As said before, this is my first project in that language. If you are a Go pro, 
feel free to help make it better ;-)

Hope you enjoy

https://gitlab.roessner-net.de/croessner/geoip-policyd

Christian Rößner
-- 
Rößner-Network-Solutions
Zertifizierter ITSiBe / CISO
Karl-Bröger-Str. 10, 36304 Alsfeld
Fax: +49 6631 78823409, Mobil: +49 171 9905345
USt-IdNr.: DE225643613, https://roessner.website
PGP fingerprint: 658D 1342 B762 F484 2DDF 1E88 38A5 4346 D727 94E5 

Reply via email to