Task #7568
closed
Added by Moris Jones almost 5 years ago.
Updated 11 months ago.
Description
Should allow relaying messages to any domain whose primary MX AAAA record is in our IPv6 range.
- Domain IN MX <mailrelay>
- mailrelay IN AAAA <IPv6 address of the real host>
- mailrelay IN A <IPv4 addres of a "proxy")>
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.
- Status changed from New to Rejected
Also available in: Atom
PDF