1 | ############################################################## |
---|
2 | # DAGENT SETTINGS |
---|
3 | |
---|
4 | # connection to the storage server |
---|
5 | #server_socket = file:///var/run/kopano/server.sock |
---|
6 | |
---|
7 | ############################################################## |
---|
8 | # DAGENT SSL LOGIN SETTINGS |
---|
9 | # |
---|
10 | # Note: server_socket must be set to https://servername:portname/ |
---|
11 | # to use this type of login method |
---|
12 | |
---|
13 | # Login to the storage server using this SSL Key |
---|
14 | #sslkey_file = /etc/kopano/ssl/dagent.pem |
---|
15 | |
---|
16 | # The password of the SSL Key |
---|
17 | #sslkey_pass = replace-with-dagent-cert-password |
---|
18 | |
---|
19 | ############################################################## |
---|
20 | # DAGENT LOG SETTINGS |
---|
21 | |
---|
22 | # Logging method (syslog, file) |
---|
23 | log_method = file |
---|
24 | |
---|
25 | # Loglevel (0(none), 1(crit), 2(err), 3(warn), 4(notice), 5(info), 6(debug)) |
---|
26 | #log_level = 3 |
---|
27 | |
---|
28 | # Logfile for log_method = file, use '-' for stderr |
---|
29 | log_file = /var/log/kopano/dagent.log |
---|
30 | |
---|
31 | # Log timestamp - prefix each log line with timestamp in 'file' logging mode |
---|
32 | log_timestamp = 1 |
---|
33 | |
---|
34 | # Log raw message to a file, please specify a username, |
---|
35 | # separate users with a space, or use 'all' to log all |
---|
36 | log_raw_message = no |
---|
37 | |
---|
38 | # Log raw messages path |
---|
39 | # consider mounting a `tmpfs' underneath this path |
---|
40 | # note that MySQL may store (large) files under /tmp |
---|
41 | log_raw_message_path = /tmp |
---|
42 | |
---|
43 | # Buffer logging in what sized blocks. 0 for line-buffered (syslog-style). |
---|
44 | #log_buffer_size = 0 |
---|
45 | |
---|
46 | # for temporary files |
---|
47 | # consider mounting a `tmpfs' underneath this path (wherever you |
---|
48 | # point it to) |
---|
49 | tmp_path = /tmp |
---|
50 | |
---|
51 | ############################################################## |
---|
52 | # DAGENT LMTP SETTINGS |
---|
53 | # start dagent with -d to create an lmtp daemon of the kopano-dagent |
---|
54 | |
---|
55 | # binding address for LMTP daemon |
---|
56 | # change to the empty string if you require connections on other addresses |
---|
57 | #server_bind = |
---|
58 | # Limit connections to address of interface (IPv6), |
---|
59 | # or route path interface (IPv4). Leave empty for to indicate "all". |
---|
60 | #server_bind_intf = |
---|
61 | |
---|
62 | # LMTP port to listen on for LMTP connections |
---|
63 | lmtp_port = 2003 |
---|
64 | |
---|
65 | # Maximum LMTP threads that ca be running simultaneously |
---|
66 | # This is also limited by your SMTP server. (20 is the postfix default concurrency limit) |
---|
67 | lmtp_max_threads = 20 |
---|
68 | |
---|
69 | # run as specific user in LMTP mode. |
---|
70 | # make sure this user is listed in local_admin_users in your storage server config |
---|
71 | # or use SSL connections with certificates to login |
---|
72 | #run_as_user = kopano |
---|
73 | |
---|
74 | # run as specific group in LMTP mode. |
---|
75 | #run_as_group = kopano |
---|
76 | |
---|
77 | # control pid file |
---|
78 | #pid_file = /var/run/kopano/dagent.pid |
---|
79 | |
---|
80 | # create memory coredumps upon crash [no, systemdefault, yes] |
---|
81 | #coredump_enabled = systemdefault |
---|
82 | |
---|
83 | # The following e-mail header will mark the mail as spam, so the mail |
---|
84 | # is placed in the Junk Mail folder, and not the Inbox. |
---|
85 | # The name is case insensitive. |
---|
86 | # set to empty to not use this detection scheme. |
---|
87 | #spam_header_name = X-Spam-Status |
---|
88 | spam_header_name = |
---|
89 | |
---|
90 | # If the above header is found, and contains the following value |
---|
91 | # the mail will be considered as spam. |
---|
92 | # Notes: |
---|
93 | # - The value is case insensitive. |
---|
94 | # - Leading and trailing spaces are stripped. |
---|
95 | # - The word 'bayes' also contains the word 'yes'. |
---|
96 | spam_header_value = Yes, |
---|
97 | |
---|
98 | # Whether dagent should filter HTML messages or not. Usually, WebApp takes |
---|
99 | # care of this. Letting dagent do this improves the user latency a |
---|
100 | # bit, but uses more disk space. (yes/no) |
---|
101 | #html_safety_filter = no |
---|
102 | |
---|
103 | ############################################################## |
---|
104 | # DAGENT ARCHIVING SETTINGS |
---|
105 | |
---|
106 | # Enable archive_on_delivery to automatically archive all incoming |
---|
107 | # messages on delivery. |
---|
108 | # This will do nothing if no archive is attached to the target mailbox. |
---|
109 | archive_on_delivery = no |
---|
110 | |
---|
111 | ############################################################## |
---|
112 | # DAGENT PLUGIN SETTINGS |
---|
113 | |
---|
114 | # Enable the dagent plugin framework |
---|
115 | plugin_enabled = yes |
---|
116 | |
---|
117 | # Path to the dagent plugin manager |
---|
118 | plugin_manager_path = /usr/share/kopano-dagent/python |
---|
119 | |
---|
120 | # Path to the activated dagent plugins. |
---|
121 | # This folder contains symlinks to the kopano plugins and custom scripts. The plugins are |
---|
122 | # installed in '/usr/share/kopano-dagent/python/plugins/'. To activate a plugin create a symbolic |
---|
123 | # link in the 'plugin_path' directory. |
---|
124 | # |
---|
125 | # Example: |
---|
126 | # $ ln -s /usr/share/kopano-dagent/python/plugins/BMP2PNG.py /var/lib/kopano/dagent/plugins/BMP2PNG.py |
---|
127 | plugin_path = /var/lib/kopano/dagent/plugins |
---|
128 | |
---|
129 | ############################################################## |
---|
130 | # DAGENT RULE SETTINGS |
---|
131 | |
---|
132 | # Enable the addition of X-Kopano-Rule-Action headers on messages |
---|
133 | # that have been forwarded or replied by a rule. |
---|
134 | # Default: yes |
---|
135 | set_rule_headers = yes |
---|
136 | |
---|
137 | # Enable this option to prevent rules to cause a loop. An e-mail can only be forwarded |
---|
138 | # once. When this option is enabled, the set_rule_headers option must also be enabled. |
---|
139 | # Default: no |
---|
140 | no_double_forward = no |
---|
141 | |
---|
142 | # Some emails do not contain any charset information, or may wrongly specify |
---|
143 | # us-ascii when they are not. If this option is set, mails which would normally |
---|
144 | # be decoded as ASCII will have their content instead interpreted in the |
---|
145 | # alternate character set specified here (which must also be ASCII compatible). |
---|
146 | #default_charset = us-ascii |
---|
147 | |
---|
148 | # A list of space-separated domains to which forwarding via a rule is allowed. |
---|
149 | # The '*' matches zero or more characters, _including_ dots. |
---|
150 | # Example: |
---|
151 | # forward_whitelist_domains = kopano.com *.kopano.com |
---|
152 | # |
---|
153 | # Example: |
---|
154 | # forward_whitelist_domains = kopano.com sub.kopano.com |
---|
155 | # |
---|
156 | #forward_whitelist_domains = * |
---|
157 | |
---|
158 | # A custom-defined reply subject to the user with a rule forwarding to a |
---|
159 | # domain not in forward_whitelist_domains. |
---|
160 | #forward_whitelist_domain_subject = REJECT: %subject not forwarded (administratively blocked) |
---|
161 | |
---|
162 | # A custom-defined reply message to the user with a rule forwarding to a |
---|
163 | # domain not in forward_whitelist_domains. |
---|
164 | #forward_whitelist_domain_message = The Kopano mail system has rejected your request to forward your e-mail with subject %subject (via mail filters) to %sender: the operation is not permitted.\n\nRemove the rule or contact your administrator about the forward_whitelist_domains setting. |
---|