Rene 'Renne' Bartsch, B.Sc. Informatics: > Hi, > > I have a special application for Postfix: > > If at least one of the MX resource records of a mail domain contains a > .onion-TLD, any non-.onion MX-RRs MUST be ignored to avoid sending the > email over the clearnet instead of TOR. > > Is it possible to configure Postfix for that kind of filtering or is > there any kind of hook for a filtering script?
It's appropriately named: smtp_dns_reply_filter. http://www.postfix.org/postconf.5.html#smtp_dns_reply_filter Wietse
