This repository was archived by the owner on Jan 28, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.ini
43 lines (35 loc) · 1.79 KB
/
config.ini
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
[Default]
# Show table of processed mails and files after download and upload is completed
showTable = True
[Lexoffice]
# Generate your token at https://app.lexoffice.de/addons/public-api
accessToken = myAccessToken
[Mail]
username = [email protected]
password = your_mailpassword
host = mail.host.com
port = 993
# Specify ssl or starttls
encryption = ssl
# Specify the directory in which you want to search for mail attachements (case sensitive), seperate multiple with a single comma
maildir = Inbox,Inbox/Invoices,Inbox/Invoices/Amazon
# Specify the desired mail subjects to filter for (case sensitive). Separate multiple with a comma or leave it blank to disable this filter.
subjectsToCheck = Bill,Invoice,INV-
# Specify the desired file extensions to filter for (case insensitive). Separate multiple with a comma
extensionsToCheck = .pdf,.html
## Specify how to set the IMAPv4 search criteria (See docs, explanation and examples below)
filter = UNSEEN
## Some simple keywords include:
# - ALL -> No filter, get all mails
# - UNSEEN -> Only get unseen mails
# - SEEN -> Only get seen mails
# - FROM -> Filter by sender address: FROM "[email protected]"
# Chain filter keywords together with the keyword "AND" (e.g. "A AND B") or "OR" (e.g. "OR A B").
# Parenthesis are optional, but may help the filtering
# As an example the following rule as text and as filter:
# Text: only UNSEEN mails and FROM either [email protected] OR FROM [email protected]:
# Filter: UNSEEN OR FROM [email protected] FROM [email protected]
# Some Documentation about the search criteria:
# - List of all available keywords: https://www.rfc-editor.org/rfc/rfc3501#section-6.4.4
# - Another List on Github: https://gist.github.com/martinrusev/6121028
# - Help and examples for parentheses: https://www.limilabs.com/blog/imap-search-requires-parentheses