Re: python dnsbl filter with 6.6.1p1 on netbsd

2020-01-21 Thread Andi Vajda
Hi Martin, On Tue, 21 Jan 2020, Martijn van Duren wrote: I've already written filter-dnsbl, which is in OpenBSD-ports. Source can be found here[0][1]. I also made filter-dkimsign[2]. Your filters look great and would great be material for inclusion in OS package distributions. My filter is

python dnsbl filter with 6.6.1p1 on netbsd

2020-01-20 Thread Andi Vajda
Hi list, I've been a happy opensmtpd user on netbsd for many years. I've now upgraded to version 6.6.1p1 and wrote a dnsbl filter in python3 using asyncio that talks to zen.spamhaus.org. I've included the source code at the bottom of this message. This is my first time using asyncio. I kn