Christen R??ner: > I look for: > > Table: > Lhs Rhs > mx.some.mta smtp:[mx.whatever.tld]:1234
I have implemented smtp_dns_reply_filter (currently, testing), which matches a resource record against a (regular expression) pattern. At the moment supports IGNORE, but it would not be difficult to implement a REPLACE action. The content of the resource record have been "valid-hostname" sanity checked, so there is little danger of malicious substitutions. Thus, Postfix could do foo.example.com. 12345 IN MX 10 bar.example.com. REPLACE foo.example.com. 12345 IN MX 10 baz.example.net. Similar operations for A/AAAA records,with some limitations (can change the last two fields only, not the fields that are determined by the query itself). Would that solve the problem? Wietse