Stalwart Mail Server¶
Overview¶
| Property | Value |
|---|---|
| Version | 0.15.5 |
| Server | VPS2 (77.68.99.173) |
| Domain | post.kedevo.com |
| Admin API | http://127.0.0.1:8080 (local only) |
| Config | /opt/stalwart-mail/etc/config.toml |
| Data | /opt/stalwart-mail/data/ |
Ports¶
| Port | Protocol | Purpose |
|---|---|---|
| 25 | SMTP | Incoming mail |
| 143 | IMAP | Mail retrieval (STARTTLS) |
| 465 | SMTPS | Secure SMTP submission |
| 587 | SMTP | Mail submission (STARTTLS) |
| 993 | IMAPS | Secure IMAP |
| 4190 | ManageSieve | Mail filtering rules |
| 8080 | HTTP | Admin API (localhost only) |
| 8443 | HTTPS | Admin API (secure) |
Hosted Domains¶
kedevo.com(admin@kedevo.com, etc.)topcoasters.co.uk
DKIM Configuration¶
DKIM signing keys use the format rsa-{domain} in config.toml.
DNS TXT records must be published for each domain.
Account Management¶
Important
All accounts must have "roles": ["user"] set for login to work (Stalwart v0.15.5 requirement).
# List accounts
curl -u admin:PASSWORD http://127.0.0.1:8080/api/principal
# Update account roles
curl -X PATCH -u admin:PASSWORD \
-H "Content-Type: application/json" \
-d '{"roles": ["user"]}' \
http://127.0.0.1:8080/api/principal/{email}
Troubleshooting¶
| Issue | Resolution |
|---|---|
| Login fails | Check account has user role |
| DKIM failures | Verify DNS TXT record matches public key |
| Delivery issues | journalctl -u stalwart-mail |