-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfile2mail-example.conf
47 lines (38 loc) · 1.87 KB
/
file2mail-example.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
# Fail2Mail Settings
# Type the server's address will be used for sending email
host = smtp.example.com
# Port can be empty or filled with number
# If you leave empty it will be filled with stardart port number according to state of the tls
# Standart SMTP port is 25
# Default TLS port is 587
port = 25
# If your server demands TLS, change it to True
tls = False
# User credentials for SMTP server
user = johndoe
password = password
# Leave empty or fill with a name or e-mail adress.
# If you leave it empty it will be filled with user which specified above
sender = [email protected]
# You can define recipients who needs to receive files under target directory.
# Even if you have a single recipient, write addres in brackets.
recipients = ['[email protected]',]
# Target and sent directory names.
# The directory names given below will be automatically created under current user home directory on first run.
# E.g. Let's say the name of the directory to be monitored "Target Files" and the name of the directory of sent
# files is "Sent". And we want to create "Sent" directory under "Target Files" directory.
# If you write it like this ;
target_directory = Target Files
sent_directory = Target Files\Sent
# Application create directories under current user home and the paths are looks like below:
# C:\Users\JohnDoe\Target Files (In Linux: /home/johndoe/Target Files)
# C:\Users\JohnDoe\Target Files\Sent (In Linux: /home/johndoe/Target Files/Sent)
# Excluded files determining by file extentions
# E.g. ['.db', '.ini', '.conf', '.cfg'...etc.]
excluded_files = ['.db', '.ini', '.conf', '.cfg']
# Indicates logging level.
# You can leave it empty or completely remove the line.
# Either way the default level is "INFO"
# Logging levels are ['DEBUG', 'INFO', 'WARNING']
log_level = INFO