Started getting into writing scanners in python a few months back after reading the violent python book, so thought I'd show off what I've done based from the book. The script gets the odd false/positive but apart from that it works fine on finding zimbra-mail by going through network ranges, ex: 192.168.0.1/24, checks if it uses port 7071 then reads the banner received. Feel free to alter the code for personal use or to share. And also, I take no responsibility for anyone's actions.
password = ..hak5
https://pastee.org/6daha
-Rizla