Catching Outgoing Mail
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
The edge stack includes a shared Mailcatcher so mail your projects send during development never leaves your machine — it lands in a web inbox instead.
Point your project at Mailcatcher
Section titled “Point your project at Mailcatcher”Every project should send its SMTP output to mailcatcher:1025 — the container’s
hostname on the shared edge network. In compose or your app config, set the mailer
host to mailcatcher and the port to 1025.
The configured mail domain works as an SMTP host too: it is a
network alias on the edge network, so smtp://mail.coding9.test:1025 reaches the
same container from inside any project.
For Shopware, either set it in .env:
MAILER_DSN=smtp://mailcatcher:1025…or in the admin under Settings → System → Mailer, mode “SMTP server”: host
mailcatcher (or the mail domain), port 1025, no encryption, no credentials.
Automatic for Shopware
Section titled “Automatic for Shopware”The shopware-dockware profile wires this up for you. Its override sets the relevant
environment variables on the shop container automatically:
environment: MAILER_DSN: "smtp://mailcatcher:1025" MAILER_URL: "smtp://mailcatcher:1025" MAIL_HOST: "mailcatcher" MAIL_PORT: "1025"Read the caught mail
Section titled “Read the caught mail”The Mailcatcher UI is served over HTTPS at the configured mail domain (default
mail.<primary-base-domain>):
open https://mail.coding9.testBecause Mailcatcher lives in the edge stack, a single inbox collects mail from all your running projects at once.
The mail domain
Section titled “The mail domain”The domain is configurable via mdocker config mail (key MD_MAIL_DOMAIN in
config.env; default mail.<primary-base-domain>):
mdocker config mail # show domain, UI URL and SMTP URLmdocker config mail set post.coding9.testmdocker config mail reset # back to mail.<primary>Setting or resetting re-renders the edge override and recreates the edge stack (your
projects keep running). Pick a name one level below a configured base domain —
the wildcard certificate (*.<base-domain>) and the macOS resolver only cover that;
the CLI warns otherwise.
The macOS app shows the same information — Web UI link, copyable SMTP URLs and the shop setup notes — under Settings → Edge-Stack → Mailcatcher.
Related
Section titled “Related”- Concept: The Edge Stack
- Shopware Workflows
Cookie-Einstellungen
Statistik-Werkzeuge setzen wir nur ein, wenn du zustimmst. Die notwendige Speicherung hält die Seite funktionsfähig; alles andere bleibt aus, bis du entscheidest.
Speichert deine Entscheidung aus diesem Dialog in deinem Browser (localStorage). Kein Cookie, keine Weitergabe an Dritte.
Google Analytics 4 über den Google Tag Manager, um die Nutzung der Seite zu messen. Wird erst nach deiner Einwilligung geladen.