Task #7568


Incoming SMTP IPv4 proxy

Added by Moris Jones over 4 years ago. Updated 6 months ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
PM Check date:


Should allow relaying messages to any domain whose primary MX AAAA record is in our IPv6 range.

  • Setup
  • Domain IN MX <mailrelay>
  • mailrelay IN AAAA <IPv6 address of the real host>
  • mailrelay IN A <IPv4 addres of a "proxy")>
Actions #1

Updated by Moris Jones over 4 years ago

This should not be so difficult.

The most basic exim setup using exim4-config allows supplying a list of domains to relay for.

This list needs to be created and provided to exim.

One approach would be for it to be done manually (user opt-in), whereby user adds their domain using a cmdline tool. This is probably fastest to implement and the best short-term solution.

Another approach would be to generate it automatically by crawling through all global DNS records and searching for MX records with AAAA in our range. This would need to be run repeatedly using a cron job, and would be intensive and slow to update.

A more combined approach would be to maintain an internal record of all relevant DNS info - list of domains owned by customers and copies of their respective zone files. These could then be used to generate the relay list for exim, and would be much less data to crawl through. This data will be necessary for the IPv4-to-IPv6 semi-recursive DNS proxy anyway.

Actions #2

Updated by Moris Jones over 2 years ago

Instructions on an experimental implementation for this can be found here:

Actions #3

Updated by Nico Schottelius 6 months ago

  • Status changed from New to Rejected

Also available in: Atom PDF