diff --git a/images/common/openwisp/settings.py b/images/common/openwisp/settings.py index bdf16b78..21383039 100644 --- a/images/common/openwisp/settings.py +++ b/images/common/openwisp/settings.py @@ -450,8 +450,8 @@ INSTALLED_APPS.remove("openwisp_monitoring.device") if "openwisp_monitoring.check" in INSTALLED_APPS: INSTALLED_APPS.remove("openwisp_monitoring.check") -if EMAIL_BACKEND == "djcelery_email.backends.CeleryEmailBackend": - INSTALLED_APPS.append("djcelery_email") +if EMAIL_BACKEND == "post_office.EmailBackend": + INSTALLED_APPS.append("post_office") if env_bool(os.environ.get("METRIC_COLLECTION", "True")): INSTALLED_APPS.append("openwisp_utils.metric_collection") diff --git a/images/openwisp_base/Dockerfile b/images/openwisp_base/Dockerfile index 7c5623bc..3dd0bd1a 100644 --- a/images/openwisp_base/Dockerfile +++ b/images/openwisp_base/Dockerfile @@ -119,7 +119,7 @@ ENV DASHBOARD_APP_SERVICE=dashboard \ INFLUXDB_HOST=influxdb \ INFLUXDB_PORT=8086 \ INFLUXDB_DEFAULT_RETENTION_POLICY=26280h0m0s \ - EMAIL_BACKEND=djcelery_email.backends.CeleryEmailBackend \ + EMAIL_BACKEND=post_office.EmailBackend \ EMAIL_HOST=postfix \ EMAIL_HOST_PORT=25 \ EMAIL_HOST_USER="" \ diff --git a/images/openwisp_base/requirements.txt b/images/openwisp_base/requirements.txt index 0acde84f..077db911 100644 --- a/images/openwisp_base/requirements.txt +++ b/images/openwisp_base/requirements.txt @@ -7,7 +7,7 @@ supervisor>=4.3.0,<4.4.0 django-cors-headers>=4.9.0,<4.10.0 django-pipeline>=4.1.0,<4.2.0 uwsgi>=2.0.30,<2.1.0 -django-celery-email~=3.0.0 +django-post-office>=3.8.0,<3.9.0 tldextract>=5.3.0,<5.4.0 # these add support for object storage # (eg: Amazon S3, GCS)