74 lines
1.7 KiB
JSON
74 lines
1.7 KiB
JSON
|
|
{
|
||
|
|
"couchDb": {
|
||
|
|
"url": "http://localhost:5984",
|
||
|
|
"user": "admin",
|
||
|
|
"password": "password"
|
||
|
|
},
|
||
|
|
"mailSources": [
|
||
|
|
{
|
||
|
|
"name": "Go Wildcard All Folders Test",
|
||
|
|
"enabled": true,
|
||
|
|
"protocol": "imap",
|
||
|
|
"host": "localhost",
|
||
|
|
"port": 3143,
|
||
|
|
"user": "testuser1",
|
||
|
|
"password": "password123",
|
||
|
|
"mode": "archive",
|
||
|
|
"folderFilter": {
|
||
|
|
"include": ["*"],
|
||
|
|
"exclude": ["Drafts", "Trash"]
|
||
|
|
},
|
||
|
|
"messageFilter": {
|
||
|
|
"subjectKeywords": ["meeting", "important"],
|
||
|
|
"senderKeywords": ["@company.com"]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "Go Work Pattern Test",
|
||
|
|
"enabled": true,
|
||
|
|
"protocol": "imap",
|
||
|
|
"host": "localhost",
|
||
|
|
"port": 3143,
|
||
|
|
"user": "syncuser",
|
||
|
|
"password": "syncpass",
|
||
|
|
"mode": "sync",
|
||
|
|
"folderFilter": {
|
||
|
|
"include": ["Work*", "Important*", "INBOX"],
|
||
|
|
"exclude": ["*Temp*"]
|
||
|
|
},
|
||
|
|
"messageFilter": {
|
||
|
|
"recipientKeywords": ["support@", "team@"]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "Go Specific Folders Only",
|
||
|
|
"enabled": true,
|
||
|
|
"protocol": "imap",
|
||
|
|
"host": "localhost",
|
||
|
|
"port": 3143,
|
||
|
|
"user": "archiveuser",
|
||
|
|
"password": "archivepass",
|
||
|
|
"mode": "archive",
|
||
|
|
"folderFilter": {
|
||
|
|
"include": ["INBOX", "Sent", "Personal"],
|
||
|
|
"exclude": []
|
||
|
|
},
|
||
|
|
"messageFilter": {}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "Go Subfolder Pattern Test",
|
||
|
|
"enabled": false,
|
||
|
|
"protocol": "imap",
|
||
|
|
"host": "localhost",
|
||
|
|
"port": 3143,
|
||
|
|
"user": "testuser2",
|
||
|
|
"password": "password456",
|
||
|
|
"mode": "archive",
|
||
|
|
"folderFilter": {
|
||
|
|
"include": ["Work/*", "Archive/*"],
|
||
|
|
"exclude": ["*/Drafts"]
|
||
|
|
},
|
||
|
|
"messageFilter": {}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|