This commit is contained in:
Adrià Casajús 2022-03-30 16:02:05 +02:00
parent db06ce0ae6
commit dce9e633bf
No known key found for this signature in database
GPG key ID: F0033226A5AFC9B9
2 changed files with 2 additions and 2 deletions

View file

@ -425,7 +425,7 @@ ZENDESK_ENABLED = "ZENDESK_ENABLED" in os.environ
DMARC_CHECK_ENABLED = "DMARC_CHECK_ENABLED" in os.environ DMARC_CHECK_ENABLED = "DMARC_CHECK_ENABLED" in os.environ
# Bounces can happen after 5 days # Bounces can happen after 5 days
VERP_MESSAGE_LIFETIME = 5 * 865400 VERP_MESSAGE_LIFETIME = 5 * 86400
VERP_PREFIX = os.environ.get("VERP_PREFIX") or "sl" VERP_PREFIX = os.environ.get("VERP_PREFIX") or "sl"
# Generate with python3 -c 'import secrets; print(secrets.token_hex(28))' # Generate with python3 -c 'import secrets; print(secrets.token_hex(28))'
VERP_EMAIL_SECRET = os.environ.get("VERP_EMAIL_SECRET") or ( VERP_EMAIL_SECRET = os.environ.get("VERP_EMAIL_SECRET") or (

View file

@ -157,7 +157,7 @@ from app.models import (
DomainDeletedAlias, DomainDeletedAlias,
Notification, Notification,
DmarcCheckResult, DmarcCheckResult,
SPFCheckResult, SPFCheckResult, VerpType,
) )
from app.pgp_utils import PGPException, sign_data_with_pgpy, sign_data from app.pgp_utils import PGPException, sign_data_with_pgpy, sign_data
from app.utils import sanitize_email from app.utils import sanitize_email