Improve config file structure by combining multiple recipients into lists (breaking)

This commit is contained in:
ChaoticByte 2025-06-12 00:00:52 +02:00
parent ef24503214
commit 295ceec3de
No known key found for this signature in database
4 changed files with 67 additions and 46 deletions

View file

@ -34,27 +34,28 @@ Example:
```json
{
"api_fetch_interval": 600,
"datafile": "data.json",
"enabled_api_endpoints": [
"bay",
"bund"
],
"datafile": "data.json",
"loglevel": 2,
"recipients": [
"lists": [
{
"address": "guenther@example.org",
"include": [
{"classification": "kritisch"},
{"title_contains": "jQuery"}
"name": "Example List",
"recipients": ["someone@example.org"],
"filter": [
{"classification": "hoch", "title_contains": "Microsoft"},
{"classification": "kritisch"}
]
}
],
"smtp": {
"from": "from@example.org",
"host": "example.org",
"from": "user@localhost",
"host": "127.0.0.1",
"port": 587,
"user": "from@example.org",
"password": "SiEhAbEnMiChInSgEsIcHtGeFiLmTdAsDüRfEnSiEnIcHt"
"user": "user@localhost",
"password": "change me :)"
},
"template": {
"subject": "",