On 03/21/2017 09:27 AM, Bernd Wurst wrote: > I pushed my changes to the greylist filter in my github-repo > https://github.com/bwurst/courier-pythonfilter > > Gordon has received a pull request.
I see the PR, yes, but the pythonfilter repo is on bitbucket: https://bitbucket.org/gordonmessmer/courier-pythonfilter Your PR was sent to szepeviktor. Regarding the IPv6 code: The greylist module was originally written by Mickael Marchand, and parses IPv4 addresses with a regex. That's not ideal. Rather than perpetuate that code, I'd prefer to use a validating library to get the addresses (especially with IPv6). Python 3 has such a library, and it's been ported to earlier releases, so that seems like the obvious solution: https://pypi.python.org/pypi/ipaddress Regarding whitelisting networks: it's probably a good idea. I'd like to think about that a bit and see if there's any less complex way to do that. I'll get these changes made shortly, but I want to clean them up a bit first. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users