Replies: 3 comments 1 reply
-
There is only an example for HAProxy on the repository. Regarding Caddy, you can take a look at this discussion. |
Beta Was this translation helpful? Give feedback.
-
Definitely possible, just gone through the pain of setting it up. Need to document what I did. Slightly hacky in the sense of I let caddy handle the letsencypt cert, and I symlinked fullchain.pem and privkey.pem to those files. Then told stalwart to use default for certificate. Last hurdle, and prob not the best solution but I had to do something like this for caddy to pass through the TLS connection to stalwart for JMAP
Now I can access my jmail server using Twake Mail. Haven't got Mailtemi to work but thats more because the app seems to be flakey (earlier when I didn't have TLS bridging properly it was able to attempt connecting, but now it won't. The next button is greyed out and I've no idea why) |
Beta Was this translation helpful? Give feedback.
-
Also looking for more help with Caddy. |
Beta Was this translation helpful? Give feedback.
-
I have been able to set up a Stalwart Mail Server 🥇 The setup is really easy compared to Postfix, Dovecot etc. 💯 However, I have difficulties with the setup behind a reverse proxy. It doesn't seem to work at all without the l4-caddy plugin. I tried to set it up with my old NGINX container, but have had no success so far with
streams
.My setup looks like this:
This works (sending/receiving), but I get warnings about self-signed certificates.
Hence the idea of running ports 993 and 465 via Caddy or NGINX, as both have valid SSL certificates from Let's Encrypt.
Do you have a sample configuration for NGINX on how to set it up correctly?
As far as I understand the Caddy docs, it doesn't work with Caddy out-of-the-box, as it is an HTTP Server.
Possibly somehow with the l4-caddy plugin from @mholt, the author of Caddy. But I couldn't get it running with that either.
Beta Was this translation helpful? Give feedback.
All reactions