forked from Virtomize/mail2most
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtesting.conf
56 lines (50 loc) · 1.98 KB
/
testing.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#########################################################################
# Dont use this configuration its broken and for unit test purposes only#
#########################################################################
[General]
# File contains the default file location where mail2most stores its data
File = "data.json"
# global time interval for checking mails in seconds
TimeInterval = 10
[Logging]
# Loglevel = ["info", "debug", "error"]
Loglevel = "doesnotexists"
# LogType = ["json", "text"]
LogType = "doesnotexists"
# Output = ["stdout", "logfile"]
Output = "logfile"
# Logfile is used if Output is set to "logfile"
Logfile = "/tmp/doesnotexists/mail2most.log"
#[[Profile]] defines a profile, you can have as many as you want
[[Profile]]
#[Profile.Mail] contains the mail server configuration
[Profile.Mail]
ImapServer = "mail.example.com:993"
Username = "username"
Password = "password"
# ReadOnly does not change any flags on emails
ReadOnly = true
# ImapTLS allows you to enable / disable tls encryption whithin the imap protocol
ImapTLS = true
#[Profile.Mattermost] contains the mattermost configuration
[Profile.Mattermost]
URL = "https://mattermost.example.com"
Team = "exampleTeam"
Username = "username"
Password = "password"
# Channels contains all channels to post your messages
Channels = ["#some-channel"]
#[Profile.Filter] contains all filters that are applied to your mails
[Profile.Filter]
# Folders filters your mails only in specific email folders
Folders = ["some-email-folder", "some-other-email-folder"]
# Unseen lets you process unseen mails only
Unseen = true
# From filters for defined from addresses
From = ["test@example.com"]
# To filters for defined to addresses
To = ["info@example.com"]
# Subject filters if the email subject contains one of the defined strings
Subject = ["example subject"]
# TimeRange will only process mails that not older than the defined time range
TimeRange = "24h"