Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map2postfix-transport.rb: generic .onion and records for local site #42

Open
taggart opened this issue Nov 12, 2022 · 0 comments
Open

Comments

@taggart
Copy link

taggart commented Nov 12, 2022

A couple things I thought of about the output of map2postfix-transport.rb:

  • it does not output a generic onion entry .onion smtptor:. We had used this in the past to cover any MX records that pointed to onion addresses directly. I don't know if this is common at all, or if it should be encouraged/discouraged
  • for records in the map that are your own organization, you might not want them in there to avoid the extra transport via tor for what is probably already going over loopback (or maybe a private network to another host). When generating this map I always pruned these by hand just to be safe. Ideally in your transports you'd have some sort of local transport map listed first before the SRV lookup and this static map so these records shouldn't matter. But it does still seem like a potential pitfall for people setting this up. Options: 1) document the pitfall(not great) 2) make the script filter local domains(janky) 3) stop doing a static map and only do SRV(solves static map but not the same pitfall in SRV).

Opinions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant