Changeset 2c1b61a for npl/mailserver/kopano_conf/root/etc/kopano/dagent.cfg
- Timestamp:
- 11/30/17 00:15:29 (7 years ago)
- Branches:
- gcc484, master, perl-5.22
- Children:
- 94b5bc1
- Parents:
- 6165e17
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
npl/mailserver/kopano_conf/root/etc/kopano/dagent.cfg
r6165e17 r2c1b61a 2 2 # DAGENT SETTINGS 3 3 4 # connection to the storage server 5 #server_socket = file:///var/run/kopano/server.sock 4 6 5 7 ############################################################## 6 8 # DAGENT SSL LOGIN SETTINGS 7 # 8 # Note: server_socket must be set to https://servername:portname/ kopano9 # 10 # Note: server_socket must be set to https://servername:portname/ 9 11 # to use this type of login method 10 12 11 # Login to the Kopanoserver using this SSL Key13 # Login to the storage server using this SSL Key 12 14 #sslkey_file = /etc/kopano/ssl/dagent.pem 13 15 … … 21 23 log_method = file 22 24 23 # Loglevel (0 =no logging, 5=full logging)24 log_level = 2 25 # Loglevel (0(none), 1(crit), 2(err), 3(warn), 4(notice), 5(info), 6(debug)) 26 #log_level = 3 25 27 26 28 # Logfile for log_method = file, use '-' for stderr 27 log_file = -28 29 log_file = /var/log/kopano/dagent.log 29 30 30 31 # Log timestamp - prefix each log line with timestamp in 'file' logging mode 31 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 32 50 33 51 ############################################################## … … 36 54 37 55 # binding address for LMTP daemon 38 # change to 0.0.0.0 if you require connections over the network 39 server_bind = 127.0.0.1 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 = 40 61 41 62 # LMTP port to listen on for LMTP connections … … 46 67 lmtp_max_threads = 20 47 68 48 # Process model for LMTP daemon, using pthreads (thread) or processes (fork)49 process_model = fork50 51 69 # run as specific user in LMTP mode. 52 # make sure this user is listed in local_admin_users in your kopanoserver config70 # make sure this user is listed in local_admin_users in your storage server config 53 71 # or use SSL connections with certificates to login 54 run_as_user = 72 #run_as_user = kopano 55 73 56 74 # run as specific group in LMTP mode. 57 run_as_group = 75 #run_as_group = kopano 58 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 59 82 60 83 # The following e-mail header will mark the mail as spam, so the mail … … 62 85 # The name is case insensitive. 63 86 # set to empty to not use this detection scheme. 64 spam_header_name = 87 #spam_header_name = X-Spam-Status 88 spam_header_name = 65 89 66 90 # If the above header is found, and contains the following value 67 91 # the mail will be considered as spam. 68 # Notes: 92 # Notes: 69 93 # - The value is case insensitive. 70 94 # - Leading and trailing spaces are stripped. 71 95 # - The word 'bayes' also contains the word 'yes'. 72 spam_header_value = No96 spam_header_value = Yes, 73 97 74 ### For debugging 75 # Log raw message to a file 76 log_raw_message = no 77 # Log raw messages path 78 log_raw_message_path = /tmp 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 79 102 103 ############################################################## 104 # DAGENT ARCHIVING SETTINGS 105 106 # Enable archive_on_delivery to automatically archive all incoming 80 107 # messages on delivery. 81 108 # This will do nothing if no archive is attached to the target mailbox. … … 84 111 ############################################################## 85 112 # DAGENT PLUGIN SETTINGS 113 86 114 # Enable the dagent plugin framework 87 plugin_enabled = no 115 plugin_enabled = yes 116 88 117 # Path to the dagent plugin manager 89 118 plugin_manager_path = /usr/share/kopano-dagent/python 119 90 120 # Path to the activated dagent plugins. 91 121 # This folder contains symlinks to the kopano plugins and custom scripts. The plugins are … … 97 127 plugin_path = /var/lib/kopano/dagent/plugins 98 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.
Note: See TracChangeset
for help on using the changeset viewer.