-
Notifications
You must be signed in to change notification settings - Fork 1
/
toot2mail.conf.example
40 lines (37 loc) · 1.53 KB
/
toot2mail.conf.example
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
[settings]
# optional HTTP proxy to use for all outgoing HTTP requests, e.g. http://localhost:3128 or leave empty
proxy=
# timeout for HTTP requests
timeout=60
# how many toots to fetch from an account's timeline
timeline_limit=25
# file to store which toots were already processed
state_file_path = toot2mail.state
# lock file
lock_file_path = toot2mail.lock
# maximum image width and height for attached images, if any image dimension is higher than
# these values, the image will be downscaled to the corresponding maximum
# leave unset to not downscale images, format: WIDTH,HEIGHT
image_maximum_size = 600,350
# shorten the subject of the mail if the text is longer than this length
mail_maximum_subject_length = 75
# mail settings
mail_from = [email protected]
mail_recipient = [email protected]
mail_server_hostname = localhost
mail_server_port = 25
[content_replacement]
# Links (or other content) in toots can be replaced with alternatives,
# e.g. replace links to services you don't prefer with better alternatives
# For inspiration, see https://github.com/libredirect/instances
https://(.*\.)?youtube\.com/=https://some.other.instance/
https://(.*\.)?reddit\.com/=https://alternative.reddit.tld/
[accounts]
# format: accountname@instance and with optional flags (noboosts,noreplies), e.g.: [email protected] = noboosts,noreplies
[email protected] = noboosts
[email protected] = noboosts,noreplies
[hashtags]
# format: hashtag@instance, the leading hash (#) must be omitted