Hi everyone,
I’m trying to self-host Frappe Mail using Stalwart Mail Server, but I’m completely stuck and would really appreciate guidance.
Setup
-
Frappe Mail hosted at:
https://hello.greencultured.co -
Stalwart Mail Server running on the same VM
-
Mail domain:
greencultured.co -
Mail hostname:
mail.greencultured.co -
TLS via Let’s Encrypt (certs working for HTTPS)
-
Nginx reverse proxy in front
-
Users already exist (e.g.
evan.erickson@greencultured.co
Problems I’m facing
1. JMAP not configured error
When opening Mailbox in Frappe Mail UI:
JMAP settings are not configured for user evan.erickson@greencultured.co
**
2.HTTP 417 errors in browser**
Every Mail API call fails:
POST /api/method/mail.api.mail.get_mailboxes 417 (Expectation Failed)POST /api/method/mail.api.account.get_identities 417
Traceback always ends with:
frappe.exceptions.ValidationError:JMAP settings are not configured for user
What I’m confused about
-
Does Frappe Mail require Stalwart JMAP, or can it work with IMAP only?
-
What is the correct JMAP endpoint for Stalwart?
-
Should Frappe Mail ever directly connect to port 8080?
-
Is there a minimum working Stalwart + Frappe Mail config example on a custom domain and server
I followed the documentation of frappe and in the mail github repo also followed official frappe youtube video in which the guy did the setup, but still.
I can provide any other detail too