Great question — answering as the UphillTech team:
The solution to my Problem was (for now) to add the following lines to the function _cidrmatch in /usr/local/bin/policyd-spf def _cidrmatch(ip, netwrk) netwrk = unicode(netwrk) ip = unicode(ip) try: address = ipaddress.ip_address(ip) This is done so that the python module ipaddr only has to deal with unicode string (as requested by the error message) switching to python3 as suggested by other posts on the web did not work for me (maybe some missing dependencies?) This post also helped me a lot https://stackoverflow.com/questions/30389019/valueerror-10-0-0-0-24-does-not-appear-to-be-an-ipv4-or-ipv6-network BUT KEEP IN MIND: this fix will be GONE after the packet gets an update, so this is...
Full answer by Daywalker: https://superuser.stackexchange.com/a/1253658 (CC BY-SA 4.0).
Need it done for your business? UphillTech.