#37166 new New feature

System check for developer/test MAILERS in production

Reported by: Mike Edmunds Owned by:
Component: Core (Mail) Version: 6.1
Severity: Normal Keywords: checks
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Add a deployment-only system check that warns if the "default" MAILERS configuration uses the console, dummy, file, or locmem EmailBackend. (Any of Django's built-in backends that are documented as "not intended for use in production".)

The check should only consider the "default" configuration. (Having, e.g., a "test" or "archive" configuration that uses the file backend should not cause a warning.)

This is recommended early follow-on work from DEP 0018. See also #37161.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top