Add infrastructure setup artifacts (Feb 1-3)

Session notes covering Gitea-Coolify webhook fixes, NocoDB/Vaultwarden
credentials, Stalwart mail server setup, Snappymail config, WhyRating
databases and email, CloudBeaver deployment, and Turbostarter setup.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-02-18 15:17:04 +01:00
parent 617f200310
commit 59944e9144
14 changed files with 1347 additions and 0 deletions

View File

@@ -0,0 +1,121 @@
# WhyRating Email Server Configuration
**Date:** 2026-02-02 15:20
**Context:** Setting up email server for whyrating.com using Stalwart Mail Server
## Email Account
| Property | Value |
|----------|-------|
| **Email** | info@whyrating.com |
| **Login** | info |
| **Password** | BeZ5LlV2ktGeYaRjN7SP |
| **Full Name** | WhyRating Info |
## Stalwart Admin Access
| Property | Value |
|----------|-------|
| **URL** | http://192.168.1.3:8081 |
| **Username** | admin |
| **Password** | QfKYjCJdxu |
## Webmail (Snappymail)
| Property | Value |
|----------|-------|
| **URL** | http://192.168.1.3:8085 (check actual port) |
| **Login** | info@whyrating.com |
| **Password** | BeZ5LlV2ktGeYaRjN7SP |
## IMAP/SMTP Settings (for email clients)
### Incoming (IMAP)
- **Server:** mail.whyrating.com (or 192.168.1.3 for internal)
- **Port:** 993 (SSL/TLS) or 143 (STARTTLS)
- **Username:** info
- **Password:** BeZ5LlV2ktGeYaRjN7SP
### Outgoing (SMTP)
- **Server:** mail.whyrating.com (or 192.168.1.3 for internal)
- **Port:** 465 (SSL/TLS) or 587 (STARTTLS)
- **Username:** info
- **Password:** BeZ5LlV2ktGeYaRjN7SP
---
## DNS Records Required at Namecheap
### MX Record (Mail Exchange)
```
Type: MX
Host: @
Value: mail.whyrating.com
Priority: 10
TTL: Automatic
```
### A Record (for mail subdomain)
```
Type: A
Host: mail
Value: <YOUR_PUBLIC_IP or Tailscale Funnel IP>
TTL: Automatic
```
### SPF Record (Sender Policy Framework)
```
Type: TXT
Host: @
Value: v=spf1 mx a ~all
TTL: Automatic
```
### DKIM Records (Domain Keys Identified Mail)
**Ed25519 DKIM (recommended for modern servers):**
```
Type: TXT
Host: 202602e._domainkey
Value: v=DKIM1; k=ed25519; p=KwvfeVszluaggPkCEPaQr3gk8z2jWPjRxGrNKnxMHsM=
TTL: Automatic
```
**RSA DKIM (for compatibility with older servers):**
```
Type: TXT
Host: 202602r._domainkey
Value: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwdMGvCJjVG8ncpCrCgilPDueuSo9HgWddELLh9pANE5D21raRcTVTCHxRAaE6j+PqivE24o6sQABU1JZdybOHt6W8ZHmx5sXbZtH3Yv9vxUb5Jfqnrc2dYIM7xXYQ6ePLvxKYX/HicQ8D99mFboY+w7Xg4pIHVdNpi5N0Ly4/SpLPil5XU/rPTHLDO/H5fa/sKRaE4NoAyjlXDMA0VJsLbh1GvQXVMX4HVtgCZc7XYdhE/ALwW/R+KAKrqvQfqy79DsnVO9XpiRQN/PBqEC7cMYPpH5eL01xGGNeu7QF6p89RkRnQaUIkMT4y+kPhquaxqMMeScJiFEbzdD804MnnQIDAQAB
TTL: Automatic
```
### DMARC Record
```
Type: TXT
Host: _dmarc
Value: v=DMARC1; p=quarantine; rua=mailto:info@whyrating.com
TTL: Automatic
```
---
## Important Notes
1. **Public Access:** The mail server needs to be accessible from the internet on ports 25, 465, 587 for sending/receiving email.
2. **Tailscale Funnel:** Currently whyrating.com uses Tailscale Funnel for web access. Email requires direct port access which Funnel doesn't support.
3. **Alternative:** Consider using a SMTP relay service (like Amazon SES, Sendgrid, or Mailgun) for sending if direct port access isn't possible.
4. **Current MX:** The domain currently has MX records pointing to Namecheap's email forwarding (`eforward*.registrar-servers.com`). These need to be changed to point to your mail server.
## Stalwart Service Status
- **Container:** stalwart-kw00kok0w0s8gcok008gk04k
- **Status:** Running (unhealthy - healthcheck endpoint doesn't exist)
- **Ports:** 25, 143, 465, 587, 993, 4190, 8081 (admin UI)
## Related
- Stalwart Mail Admin: http://192.168.1.3:8081
- Snappymail Webmail: Check Coolify for port
- DNS Provider: Namecheap (whyrating.com)