In part of my filter I check the relay against my domain's MX list, and one host has a dynamic IP. I'm using a static list of addresses to match against. That means when that host gets a new address I need to edit my filter. Does anyone have code that will enumerate the IP's for all MX hosts for a domain?