slimta / python-slimta

Python libraries to send, receive, and queue email.
https://slimta.org/
MIT License
171 stars 43 forks source link

Connection Control. #133

Closed felipeSynus closed 3 years ago

felipeSynus commented 6 years ago

Hi ! Thanks for the Slimta Project.

I'm using Slimta as MTA in my project and i need control connections.

I need of Slimta reject connections of specifics IPs listed in a file. Someone did it or know how i can do ?

icgood commented 3 years ago

Hi @felipeSynus, I believe you could adapt slimta.util.dnsbl to your needs. It is designed to reject connections from DNS blocklists, but I'm sure you could adapt it to reading from a file.