Files
maurane 02e85ddbfd feat(cleaner): ✨ add command prune
this new command will be called by cron-like process to clean purge old logs and old mails. All files were formatted and mail_utils was renamed in utils since it now defines utility function not only for mail functions.
2026-09-25 16:30:45 +02:00

22 lines
577 B
Bash

# This file lists the environment variables used by logwatcher.
## EWS connection to the OWL Exchange Server
EMAIL=mail@client.fr
PASSWORD=password123
EWS_URL=https://mail.client.fr/EWS/Exchange.asmx # Default mail server
## Report email
N2_REPORT_RECIPIENTS=n2-support@client.fr
N2_REPORT_SUBJECT=[Logwatcher] Rapport erreurs N2
## Log retention
### number of days before archiving logs
LOG_RETENTION_DAYS=30
### number of days before deleting archive logs
ARCHIVED_LOG_RETENTION_DAYS=60
## Mail retention
### number of days before deleting mails
MAIL_RETENTION_DAYS=30