- Convert mail messaging from SMTP to Scaleway TEM mails

This commit is contained in:
Josako
2025-05-10 10:49:15 +02:00
parent a421977918
commit 12a53ebc1c
14 changed files with 90 additions and 71 deletions

View File

@@ -270,14 +270,6 @@ LOGGING = {
'backupCount': 2,
'formatter': 'standard',
},
'file_mailman': {
'level': 'DEBUG',
'class': 'logging.handlers.RotatingFileHandler',
'filename': 'logs/mailman.log',
'maxBytes': 1024 * 1024 * 1, # 1MB
'backupCount': 2,
'formatter': 'standard',
},
'file_security': {
'level': 'DEBUG',
'class': 'logging.handlers.RotatingFileHandler',
@@ -389,11 +381,6 @@ LOGGING = {
'level': 'DEBUG',
'propagate': False
},
'mailman': { # logger for the mailman
'handlers': ['file_mailman', 'graylog', ] if env == 'production' else ['file_mailman', ],
'level': 'DEBUG',
'propagate': False
},
'security': { # logger for the security
'handlers': ['file_security', 'graylog', ] if env == 'production' else ['file_security', ],
'level': 'DEBUG',