Giter Club home page Giter Club logo

Comments (9)

foxcpp avatar foxcpp commented on May 14, 2024

I don't like the idea of having an embedded DNS server. That's too much for maddy IMO, DNS is hard to get right.
For DKIM, we can generate keypair and zone file with public key (somewhere in /var/maddy/, perhaps) so it can be included from user's main zone file.
RFC 1035 does have a $INCLUDE directive for this.

from maddy.

emersion avatar emersion commented on May 14, 2024

Yeah, that's probably a better idea.

from maddy.

emersion avatar emersion commented on May 14, 2024

That still leaves the question of TLS: where do we get certs from?

It would be nice to be able to have automatic TLS. Maybe we can use https://github.com/mholt/certmagic (maybe it requires having an HTTP server)

MTA-STS involves serving an HTTPS document btw.

from maddy.

foxcpp avatar foxcpp commented on May 14, 2024

Well, I guess we can then start net/http server and bind on 127.0.0.1:some_probably_unused_port to serve just this file. Note that it is important to be able to change the port or fully disable this feature.

from maddy.

emersion avatar emersion commented on May 14, 2024

MTA-STS requires port 443. And I think it's the same for ACME challenges…

from maddy.

foxcpp avatar foxcpp commented on May 14, 2024

Leave the job of HTTPS to reverse proxy then? I never liked this automagic with TLS, right now it just increases complexity by restricting use-cases (separate domain for mail) and requiring more actions to be taken to work in existing environments (clashes with caddy and manual TLS configuration).

from maddy.

foxcpp avatar foxcpp commented on May 14, 2024

Issue #67 had some discussion related to the HTTP endpoint module starting at #67 (comment). I guess we are going with approach outlined in #67 (comment).

from maddy.

MFAshby avatar MFAshby commented on May 14, 2024

Just FYI caddy server has some code for interacting with a variety of DNS providers' APIs, so that it can automatically create DNS entries: https://github.com/caddyserver/dnsproviders

from maddy.

foxcpp avatar foxcpp commented on May 14, 2024

Closing as a too broad ticket. ACME TLS autoconfiguration is discussed in #3, considerations for static webserver for autoconfiguration and other purposes are mentioned in #67 and idea with builtin DNS server is discarded as not useful enough for its complexity.

from maddy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.