Ignore:
Timestamp:
11/30/17 00:15:29 (7 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
gcc484, master, perl-5.22
Children:
94b5bc1
Parents:
6165e17
Message:

migrated settings to new default configs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • npl/mailserver/kopano_conf/root/etc/kopano/dagent.cfg

    r6165e17 r2c1b61a  
    22# DAGENT SETTINGS
    33
     4# connection to the storage server
     5#server_socket = file:///var/run/kopano/server.sock
    46
    57##############################################################
    68# DAGENT SSL LOGIN SETTINGS
    7 # 
    8 # Note: server_socket must be set to https://servername:portname/kopano
     9#
     10# Note: server_socket must be set to https://servername:portname/
    911#       to use this type of login method
    1012
    11 # Login to the Kopano server using this SSL Key
     13# Login to the storage server using this SSL Key
    1214#sslkey_file = /etc/kopano/ssl/dagent.pem
    1315
     
    2123log_method      =       file
    2224
    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
    2527
    2628# Logfile for log_method = file, use '-' for stderr
    27 log_file        =       -
    2829log_file = /var/log/kopano/dagent.log
    2930
    3031# Log timestamp - prefix each log line with timestamp in 'file' logging mode
    3132log_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
     36log_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
     41log_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)
     49tmp_path = /tmp
    3250
    3351##############################################################
     
    3654
    3755# 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 =
    4061
    4162# LMTP port to listen on for LMTP connections
     
    4667lmtp_max_threads = 20
    4768
    48 # Process model for LMTP daemon, using pthreads (thread) or processes (fork)
    49 process_model = fork
    50 
    5169# run as specific user in LMTP mode.
    52 #   make sure this user is listed in local_admin_users in your kopano server config
     70#   make sure this user is listed in local_admin_users in your storage server config
    5371#   or use SSL connections with certificates to login
    54 run_as_user =
     72#run_as_user = kopano
    5573
    5674# run as specific group in LMTP mode.
    57 run_as_group =
     75#run_as_group = kopano
    5876
     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
    5982
    6083# The following e-mail header will mark the mail as spam, so the mail
     
    6285# The name is case insensitive.
    6386# set to empty to not use this detection scheme.
    64 spam_header_name =
     87#spam_header_name = X-Spam-Status
     88spam_header_name =
    6589
    6690# If the above header is found, and contains the following value
    6791# the mail will be considered as spam.
    68 # Notes: 
     92# Notes:
    6993#  - The value is case insensitive.
    7094#  - Leading and trailing spaces are stripped.
    7195#  - The word 'bayes' also contains the word 'yes'.
    72 spam_header_value = No
     96spam_header_value = Yes,
    7397
    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
    79102
     103##############################################################
     104# DAGENT ARCHIVING SETTINGS
     105
     106# Enable archive_on_delivery to automatically archive all incoming
    80107# messages on delivery.
    81108# This will do nothing if no archive is attached to the target mailbox.
     
    84111##############################################################
    85112# DAGENT PLUGIN SETTINGS
     113
    86114# Enable the dagent plugin framework
    87 plugin_enabled = no
     115plugin_enabled = yes
     116
    88117# Path to the dagent plugin manager
    89118plugin_manager_path = /usr/share/kopano-dagent/python
     119
    90120# Path to the activated dagent plugins.
    91121#   This folder contains symlinks to the kopano plugins and custom scripts. The plugins are
     
    97127plugin_path = /var/lib/kopano/dagent/plugins
    98128
     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
     135set_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
     140no_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.