I use filter_sender() for both bad MX detection for replies and for SPF checking. It works for me. I installed MD from its source and am currently using a slightly modified version of 2.68 beta 1.