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/search.cfg

    r6165e17 r2c1b61a  
    33
    44# Location of the index files
    5 index_path          = /home/system/kopano_index/
     5# index_path          =   /var/lib/kopano/search
     6index_path          =   /home/system/kopano_index/
    67
    78# run as specific user
    8 run_as_user         = kopano
     9#run_as_user         = kopano
    910
    1011# run as specific group
    11 run_as_group        = kopano
     12#run_as_group        = kopano
    1213
     14# control pid file
     15#pid_file            =   /var/run/kopano/search.pid
    1316
    1417# run server in this path (when not using the -F switch)
    15 running_path        =   /
     18#running_path = /var/lib/kopano
    1619
    1720# Limit the number of results returned (0 = don't limit)
    18 limit_results           =       0
    19 
     21limit_results           =       1000
    2022
    2123##############################################################
    22 # CONNECTION TO KOPANO SERVER SETTINGS
     24# CONNECTION TO STORAGE SERVER SETTINGS
    2325#
    2426
     27# Socket to find the connection to the storage server.
     28# Use https to reach servers over the network
     29#server_socket = file:///var/run/kopano/server.sock
    2530
    26 # Login to the Kopano server using this SSL Key
     31# Login to the storage server using this SSL Key
    2732#sslkey_file         = /etc/kopano/ssl/search.pem
    2833
     
    3439#
    3540
     41# binding address
     42# To setup for multi-server, use: http://0.0.0.0:port or https://0.0.0.0:port
     43server_bind_name   =   file:///var/run/kopano/search.sock
    3644
    3745# File with RSA key for SSL, used then server_bind_name uses https
    38 #ssl_private_key_file= /etc/kopano/search/privkey.pem
     46ssl_private_key_file = /etc/kopano/search/privkey.pem
    3947
    4048# File with certificate for SSL, used then server_bind_name uses https
    41 #ssl_certificate_file= /etc/kopano/search/cert.pem
     49ssl_certificate_file = /etc/kopano/search/cert.pem
    4250
    4351##############################################################
     
    4755log_method          =   file
    4856
    49 # Loglevel (0=no logging, 5=full logging, 6=debugging)
    50 log_level           =   5
     57# Loglevel (0(none), 1(crit), 2(err), 3(warn), 4(notice), 5(info), 6(debug))
     58#log_level           =   3
    5159
    5260# Logfile for log_method = file, use '-' for stderr
     
    5664log_timestamp       =   1
    5765
    58 log_buffer_size = 0
    5966
    6067##############################################################
    6168# ADVANCED INDEXED SEARCH SETTINGS
     69
     70# Back end search engine (currently only xapian is supported)
     71#search_engine = xapian
    6272
    6373# Size of indexing cache (used for indexing only, not for searching)
     
    6878#index_exclude_properties = 007D 0064 0C1E 0075 678E 678F
    6979
    70 ##############################################################
    71 # INDEX OPTIMIZATION SCHEDULE
     80# Number of indexing processes used during initial indexing
     81# Setting this to a higher value can greatly speed up initial indexing,
     82# especially when attachments are indexed.
     83index_processes         =   1
    7284
    73 # Start the optimization routine at this hour, in 24h notation.
    74 #optimize_start = 2
     85# Index junk folder
     86#index_junk = yes
    7587
    76 # Stop the optimization routine at this hour, in 24h notation.
    77 # The current index that is being optimized is finished before stopping.
    78 #optimize_stop = 5
    79 
    80 # Only optimize indexes which wern't optimized for the past X days.
    81 #optimize_age = 7
     88# Prepare search suggestions ("did-you-mean?") during indexing
     89# This takes up a large percentage of the used disk space
     90#suggestions = yes
    8291
    8392##############################################################
     
    8998# Maximum file size for attachments
    9099index_attachment_max_size = 5M
    91 
    92 # Scripts to attachment to text parser
    93 index_attachment_parser = /etc/kopano/searchscripts/attachments_parser
    94 
    95 # Maximum amount of memory which a parser may use in bytes (set to 0 for unlimited)
    96 # If this maximum is exceeded the parser will be killed
    97 index_attachment_parser_max_memory = 0
    98 
    99 # Maximim amount of CPU time (in seconds) which a parser may spend on parsing (set to 0 for unlimited)
    100 # If this maximum is exceeded the parser will be killed
    101 index_attachment_parser_max_cputime = 0
    102 
    103 # Filter out parsing of attachment which has a mimetype from this list
    104 # Only the first part of the mime needs to be given, like 'image'.
    105 # This field is SPACE separated
    106 index_attachment_mime_filter =
    107 
    108 # Filter out parsing of attachment which has an extension from this list
    109 # (only tested if mimetype was not found on the attachment)
    110 # This field is SPACE separated
    111 index_attachment_extension_filter =
    112 
    113 #number of parallel indexers
    114 index_processes=4
    115 
Note: See TracChangeset for help on using the changeset viewer.