© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3mo ago•
12 replies
Jeffa

Local dev mailpit

authCLI
I've been trying to send emails using Supabase Auth. This works perfectly on Supabase's hosted environment, but when I try to do it locally, I get the following error in my Docker Auth container:
{"level":"info","msg":"Request received external host in X-Forwarded-Host or Host headers, but the values have not been added to GOTRUE_MAILER_EXTERNAL_HOSTS and will not be used. To suppress this message add the host, or sanitize the headers before the request reaches Auth.","time":"2025-11-08T00:04:13Z","x_forwarded_host":"x.x.x.x","x_forwarded_proto":"http"}
I'm using the Supabase CLI to initialize my Docker container. I’ve tried adding the GOTRUE_MAILER_EXTERNAL_HOSTS variable to both the root .env and /supabase/.env files, and I’ve also attempted to set it via the external_url in config.toml, but the issue persists.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Inbucket - Mailpit - Local development
SupabaseSSupabase / help-and-questions
7mo ago
local dev schema migration
SupabaseSSupabase / help-and-questions
3y ago
Impersonation in local dev
SupabaseSSupabase / help-and-questions
3y ago
Multiple local dev database projects?
SupabaseSSupabase / help-and-questions
3y ago