> Is this the right way or is there an example module I could compare > with?
I noticed a couple posts about examples, there is now one as I have committed all the RBL stuff I wrote. See: https://svn.apache.org/repos/asf/httpd/mod_smtpd/trunk/mod_smtpd_rbl/ This hooks into mod_smtpd in two places and returns various data (e.g. if the client IP is blacklisted then mod_smtpd is told to deny mail). I hope it serves as a good example, it seems to work quite nicely to give mod_smtpd all the DNSBL/RHSBL features in a modular fashion.
