Comments (8)
I don't think email is in Caddy's future, but that sounds like an excellent experiment for a separate project. smtpd might be a decent starting point.
And yeah, I hate setting up email servers too.
from caddy.
It would be nice if Caddy could proxy a mail server backend though.
from caddy.
@Apfeluser Thanks for the feedback. Caddy is a web server, so I don't intend to support mail (SMTP) anytime soon. What did you have in mind, specifically (just curious)?
from caddy.
@mholt NGINX for example has an option to "proxy" an e-mail server. So it opens the standard ports for an e-mail server (25, 143, 995 ...) and is then proxying the requests to an backend of e-mail servers. Kind of like proxying a NodeJS app.
http://wiki.nginx.org/ImapProxyExample
http://www.whatastruggle.com/nginx-as-an-imappop3-proxy
But this is not a "perfect" implementation. I think it would be a killer-feature if Caddy would have a clean implementation of proxying e.g. to Dovecot and Postfix.
from caddy.
Noted; thanks for the expansion. We will see if Caddy's scope evolves over time.
from caddy.
It would be really great if Caddy can be used to handle emails. It would remove the need for a separate email server as setting up a email server is a royal PITA.
What part of a mail service do you want to setup, @Immortalin ? Because you need more than a simple MTA, you must also need IMAP (with user/mailbox management), and some decent spam (and spf) handling. I think this is way out of Caddy's scope.
from caddy.
Yeah we're not gonna do email. 😛 Maybe a mail proxying middleware, might make a good add-on.
But I will keep my eye on @DenBeke's project: https://github.com/gopistolet/gopistolet
from caddy.
@DenBeke just MTA + IMAP. Anything else can be dealt with by the client.
from caddy.
Related Issues (20)
- Inquiry on Using Starlark Scripting with Caddy HOT 4
- caddytls: tailscale cert manager not used as fallback for *.ts.net certs HOT 9
- reverseproxy: feature request: certificate pinning for use with tls_insecure_skip_verify HOT 1
- all: Support the riscv64 platform HOT 3
- Improve error message when trying to define a global matcher HOT 3
- Issue with Caddy Server Configuration for Domain HOT 1
- v2.8.0-rc.1: panic: runtime error: invalid memory address or nil pointer dereference HOT 5
- Intermediate certificate expired without using specified root certificate HOT 2
- Set `sign_with_root` via Caddyfile HOT 3
- core: caddy unable to start with an empty $HOME HOT 5
- Using proxy_protocol v2 with h2c backend gives wrong IP address to backend. HOT 19
- TLS does not work on NATed IPv4 literal HOT 1
- Feature-Request: [Templates] include from string buffer HOT 2
- Permission denied when first run after fresh installation. HOT 11
- ZeroSSL Issuer can't use dns_challenge_override_domain HOT 4
- Client_ip not merged as remote_ip used to in "not" expression HOT 3
- v2.8 is a major breaking change: update to CertMagic breaks LegoDeprecated HOT 1
- the change to SanitizedPathJoin in v2.8.x can cause routing to break in certain configurations HOT 5
- Build amd64 and arm are broken HOT 3
- X-Accel-Redirect style of header matching is broken in handle_response
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caddy.