Advertisement
Guest User

Untitled

a guest
Oct 11th, 2014
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.03 KB | None | 0 0
  1. ##############################################################
  2. # SERVER SETTINGS
  3.  
  4. # IP Address to bind to (0.0.0.0 for ANY)
  5. # Set to 127.0.0.1 if connections should only come from localhost
  6. # and through the webserver proxy
  7. server_bind = 0.0.0.0
  8.  
  9. # Accept normal TCP connections (not recommended to disable)
  10. server_tcp_enabled = yes
  11.  
  12. # Port to bind to
  13. server_tcp_port = 236
  14.  
  15. # Accept unix pipe connections (not recommended to disable)
  16. server_pipe_enabled = yes
  17.  
  18. # Unix socket location
  19. server_pipe_name = /var/run/zarafa
  20.  
  21. # Priority unix socket location
  22. server_pipe_priority = /var/run/zarafa-prio
  23.  
  24. # Name for identifying the server in a multi-server environment
  25. server_name = Zarafa
  26.  
  27. # Override the hostname of this server, used by Kerberos SSO if enabled
  28. server_hostname =
  29.  
  30. # Database engine (mysql)
  31. database_engine = mysql
  32.  
  33. # Allow connections from normal users through the unix socket
  34. allow_local_users = yes
  35.  
  36. # local admin users who can connect to any store (use this for the zarafa-dagent)
  37. # field is SPACE separated
  38. # eg: local_admin_users = root vmail
  39. local_admin_users = root vuser
  40.  
  41. # The user has full rights on a folder by default, uncomment the following line to disable this.
  42. # owner_auto_full_access = false
  43. owner_auto_full_access = true
  44.  
  45. # e-mail address of the Zarafa System user
  46. system_email_address = postmaster@localhost
  47.  
  48. # drop privileges and run the process as this user
  49. run_as_user =
  50.  
  51. # drop privileges and run the process as this group
  52. run_as_group =
  53.  
  54. # create a pid file for stopping the service via the init.d scripts
  55. pid_file = /var/run/zarafa-server.pid
  56.  
  57. # run server in this path (when not using the -F switch)
  58. running_path = /
  59.  
  60. # create memory coredumps upon crash in the running_path directory
  61. coredump_enabled = yes
  62.  
  63. # session timeout for clients. Values lower than 300 will be upped to 300
  64. # automatically. If the server hears nothing from a client in session_timeout
  65. # seconds, then the session is killed.
  66. session_timeout = 300
  67.  
  68. # Socket to connect to license server
  69. license_socket = /var/run/zarafa-licensed
  70.  
  71. # Time (in seconds) to wait for a connection to the license server before
  72. # terminating the request.
  73. license_timeout = 10
  74.  
  75. ##############################################################
  76. # LOG SETTINGS
  77.  
  78. # Logging method (syslog, file), syslog facility is 'mail'
  79. log_method = file
  80.  
  81. # Logfile (for log_method = file
  82. log_file = /var/log/zarafa/server.log
  83.  
  84. # Loglevel (0=no logging, 5=full logging)
  85. log_level = 6
  86.  
  87. # Log timestamp - prefix each log line with timestamp in 'file' logging mode
  88. log_timestamp = 1
  89.  
  90. ##############################################################
  91. # AUDIT LOG SETTINGS
  92.  
  93. # Audit logging is by default not enabled
  94. audit_log_enabled = no
  95.  
  96. # Audit logging method (syslog, file), syslog facility is 'authpriv'
  97. audit_log_method = file
  98.  
  99. # Audit logfile (for log_method = file
  100. audit_log_file = /var/log/zarafa/server.log
  101.  
  102. # Audit loglevel (0=no logging, 1=full logging)
  103. audit_log_level = 1
  104.  
  105. # Audit log timestamp - prefix each log line with timestamp in 'file' logging mode
  106. audit_log_timestamp = 1
  107.  
  108. ##############################################################
  109. # MYSQL SETTINGS (for database_engine = mysql)
  110.  
  111. # MySQL hostname to connect to for database access
  112. mysql_host = 127.0.0.1
  113.  
  114. # MySQL port to connect with (usually 3306)
  115. mysql_port = 3306
  116.  
  117. # The user under which we connect with MySQL
  118. mysql_user = zarafa
  119.  
  120. # The password for the user (leave empty for no password)
  121. mysql_password = passwd
  122.  
  123. # Override the default MySQL socket to access mysql locally
  124. # Works only if the mysql_host value is empty or 'localhost'
  125. mysql_socket =
  126.  
  127. # Database to connect to
  128. mysql_database = zarafa
  129.  
  130. # Where to place attachments. Value can be 'database' or 'files'
  131. attachment_storage = files
  132.  
  133. # When attachment_storage is 'files', use this path to store the files
  134. attachment_path = /var/lib/zarafa/attachments
  135.  
  136. # Compression level for attachments when attachment_storage is 'files'.
  137. # Set compression level for attachments disabled=0, max=9
  138. attachment_compression = 6
  139.  
  140. ##############################################################
  141. # SSL SETTINGS
  142.  
  143. # enable SSL support in server
  144. server_ssl_enabled = no
  145.  
  146. # Listen for SSL connections on this port
  147. server_ssl_port = 237
  148.  
  149. # Required Server certificate, contains the certificate and the private key parts
  150. server_ssl_key_file = /etc/zarafa/ssl/server.pem
  151.  
  152. # Password of Server certificate
  153. server_ssl_key_pass = replace-with-server-cert-password
  154.  
  155. # Required Certificate Authority of server
  156. server_ssl_ca_file = /etc/zarafa/ssl/cacert.pem
  157.  
  158. # Path with CA certificates, e.g. /etc/ssl/certs
  159. server_ssl_ca_path =
  160.  
  161. # Accept SSLv2 only connections. Normally v3 connections are used.
  162. server_ssl_enable_v2 = no
  163.  
  164. # Path of SSL Public keys of clients
  165. sslkeys_path = /etc/zarafa/sslkeys
  166.  
  167. ##############################################################
  168. # THREAD SETTINGS
  169.  
  170. # Number of server threads
  171. # default: 8
  172. threads = 8
  173.  
  174. # Watchdog frequency. The number of watchdog checks per second.
  175. # default: 1
  176. watchdog_frequency = 1
  177.  
  178. # Watchdog max age. The maximum age in ms of a task before a
  179. # new thread is started.
  180. # default: 500
  181. watchdog_max_age = 500
  182.  
  183. # Maximum SOAP keep_alive value
  184. # default: 100
  185. server_max_keep_alive_requests = 100
  186.  
  187. # SOAP recv timeout value (time between requests)
  188. # default: 5
  189. server_recv_timeout = 5
  190.  
  191. # SOAP read timeout value (time during requests)
  192. # default: 60
  193. server_read_timeout = 60
  194.  
  195. # SOAP send timeout value
  196. # default: 60
  197. server_send_timeout = 60
  198.  
  199. ##############################################################
  200. # OTHER SETTINGS
  201.  
  202. # Softdelete clean cycle (in days) 0=never running
  203. softdelete_lifetime = 30
  204.  
  205. # Sync lifetime, removes all changes remembered for a client after x days of inactivity
  206. sync_lifetime = 90
  207.  
  208. # Set to 'yes' if all changes (for synchronization) to messages should be logged to the database
  209. sync_log_all_changes = yes
  210.  
  211. # Set to 'yes' if you have Kerberos or NTLM correctly configured for single sign-on
  212. enable_sso = no
  213.  
  214. # Set to 'yes' if you want to show the GAB to your users
  215. enable_gab = yes
  216.  
  217. # Authentication can be through plugin (default, recommended), pam or kerberos
  218. auth_method = plugin
  219.  
  220. # If auth_method is set to pam, you should provide the pam service name
  221. pam_service = passwd
  222.  
  223.  
  224. #############################################################
  225. # CACHE SETTINGS
  226. #
  227. # To see the live cache usage, use 'zarafa-stats --system'.
  228.  
  229. # Size in bytes of the 'cell' cache (should be set as high as you can afford to set it)
  230. cache_cell_size = 256M
  231.  
  232. # Size in bytes of the 'object' cache
  233. cache_object_size = 5M
  234.  
  235. # Size in bytes of the 'indexed object' cache
  236. cache_indexedobject_size = 16M
  237.  
  238. # Size in bytes of the userquota details
  239. cache_quota_size = 1M
  240.  
  241. # Lifetime for userquota details
  242. cache_quota_lifetime = 1
  243.  
  244. # Size in bytes of the acl cache
  245. cache_acl_size = 1M
  246.  
  247. # Size in bytes of the store id/guid cache
  248. cache_store_size = 1M
  249.  
  250. # Size in bytes of the 'user id' cache (this is allocated twice)
  251. cache_user_size = 1M
  252.  
  253. # Size in bytes of the 'user details' cache
  254. cache_userdetails_size = 26214400
  255.  
  256. # Lifetime for user details
  257. cache_userdetails_lifetime = 0
  258.  
  259. # Size in bytes of the server details (multiserver setups only)
  260. cache_server_size = 1M
  261.  
  262. # Lifetime for server details (multiserver setups only)
  263. cache_server_lifetime = 30
  264.  
  265.  
  266. ##############################################################
  267. # QUOTA SETTINGS
  268.  
  269. # The default Warning Quota Level. Set to 0 to disable this level.
  270. # The user will receive an email when this level is reached. Value is in Mb. Default value is 0.
  271. quota_warn = 0
  272.  
  273. # The default Soft Quota Level. Set to 0 to disable this level.
  274. # The user will still receive mail, but sending new mail is prohibited, until objects are removed from the store.
  275. # VALUE is in Mb. Default value is 0.
  276. quota_soft = 0
  277.  
  278. # The default Hard Quota Level. Set to 0 to disable this level.
  279. # The user can not receive and send mail, until objects are removed from the store.
  280. # Value is in Mb. Default value is 0.
  281. quota_hard = 0
  282.  
  283. # The default Warning Quota Level for multitenant public stores. Set to 0 to disable this level.
  284. # The tenant administrator will receive an email when this level is reached. Value is in Mb. Default value is 0.
  285. companyquota_warn = 0
  286.  
  287.  
  288. ##############################################################
  289. # USER PLUGIN SETTINGS
  290.  
  291. # Name of the plugin that handles users
  292. # Required, default = db
  293. # Values: ldap, unix, db, ldapms (available in enterprise license)
  294. user_plugin = ldap
  295.  
  296. # configuration file of the user plugin, examples can be found in /usr/share/doc/zarafa/example-config
  297. user_plugin_config = /etc/zarafa/ldap.cfg
  298.  
  299. # location of the zarafa plugins
  300. # if you have a 64bit distribution, this probably should be changed to /usr/lib64/zarafa
  301. plugin_path = /usr/lib/zarafa
  302.  
  303. # scripts which create stores for users from an external source
  304. # used for ldap and unix plugins only
  305. createuser_script = /etc/zarafa/userscripts/createuser
  306. deleteuser_script = /etc/zarafa/userscripts/deleteuser
  307. creategroup_script = /etc/zarafa/userscripts/creategroup
  308. deletegroup_script = /etc/zarafa/userscripts/deletegroup
  309. createcompany_script = /etc/zarafa/userscripts/createcompany
  310. deletecompany_script = /etc/zarafa/userscripts/deletecompany
  311.  
  312. # Set this option to 'yes' to skip the creation and deletion of new users
  313. # The action will be logged, so you can see if your changes to the plugin
  314. # configuration are correct.
  315. user_safe_mode = no
  316.  
  317. ##############################################################
  318. # MISC SETTINGS
  319.  
  320. # Thread size in KB, default is 512
  321. # WARNING: Do not set too small, your server WILL crash
  322. thread_stacksize = 512
  323.  
  324. # Enable multi-tenancy environment
  325. # When set to true it is possible to create tenants within the
  326. # zarafa instance and assign all users and groups to particular
  327. # tenants.
  328. # When set to false, the normal single-tenancy environment is created.
  329. enable_hosted_zarafa = false
  330.  
  331. # Enable multi-server environment
  332. # When set to true it is possible to place users and tenants on
  333. # specific servers.
  334. # When set to false, the normal single-server environment is created.
  335. enable_distributed_zarafa = false
  336.  
  337. # Display format of store name
  338. # Allowed variables:
  339. # %u Username
  340. # %f Fullname
  341. # %c Teantname
  342. # default: %f
  343. storename_format = %f
  344.  
  345. # Loginname format (for Multi-tenancy installations)
  346. # When the user does not login through a system-wide unique
  347. # username (like the email address) a unique name is created
  348. # by combining the username and the tenantname.
  349. # With this configuration option you can set how the
  350. # loginname should be built up.
  351. #
  352. # Note: Do not use the = character in the format.
  353. #
  354. # Allowed variables:
  355. # %u Username
  356. # %c Teantname
  357. #
  358. # default: %u
  359. loginname_format = %u
  360.  
  361. # Set to yes for Windows clients to be able to download the latest
  362. # Zarafa Outlook client from the Zarafa server
  363. client_update_enabled = false
  364.  
  365. # Place the correct Zarafa Outlook Client in this directory for
  366. # Windows clients to download through the Zarafa server
  367. client_update_path = /var/lib/zarafa/client
  368.  
  369. # Recieve update information from the client (0 = disabled, 1 = only on error, 2 = log always)
  370. client_update_log_level = 1
  371.  
  372. # Log location for the client auto update files
  373. client_update_log_path = /var/log/zarafa/autoupdate
  374.  
  375. # Everyone is a special internal group, which contains every user and group
  376. # You may want to disable this group from the Global Addressbook by setting
  377. # this option to 'yes'. Administrators will still be able to see the group.
  378. hide_everyone = no
  379.  
  380. # System is a special internal user, which has super-admin privileges
  381. # You may want to disable this user from the Global Addressbook by setting
  382. # this option to 'yes'. Administrators will still be able to see the user.
  383. hide_system = yes
  384.  
  385. # Use Indexing service for faster searching.
  386. # Enabling this option requires the zarafa-search service to
  387. # be running.
  388. search_enabled = yes
  389.  
  390. # Path to the zarafa-search service, this option is only required
  391. # if the server is going to make use of the indexing service.
  392. search_socket = file:///var/run/zarafa-search
  393.  
  394. # Time (in seconds) to wait for a connection to the zarafa-search service
  395. # before terminating the indexed search request.
  396. search_timeout = 10
  397.  
  398. # Allow enhanced ICS operations to speedup synchronization with cached profiles.
  399. # default: yes
  400. enable_enhanced_ics = yes
  401.  
  402. # SQL Procedures allow for some optimized queries when streaming with enhanced ICS.
  403. # This is default disabled because you must set 'thread_stack = 256k' in your
  404. # MySQL server config under the [mysqld] tag and restart your MySQL server.
  405. enable_sql_procedures = no
  406.  
  407. # Synchronize GAB users on every open of the GAB (otherwise, only on
  408. # zarafa-admin --sync)
  409. sync_gab_realtime = yes
  410.  
  411. # Disable features for users. Default all features are disabled. This
  412. # list is space separated. Currently valid values: imap
  413. disabled_features = imap pop3
  414.  
  415. # Maximum number of deferred records in total
  416. max_deferred_records = 0
  417.  
  418. # Maximum number of deferred records per folder
  419. max_deferred_records_folder = 20
  420.  
  421. # Restrict the permissions that admins receive to folder permissions only. Please
  422. # read the server.cfg manpage before enabling this option so you really understand
  423. # the implications
  424. restrict_admin_permissions = no
  425.  
  426. # The maximum level of attachment recursion; Defines the number of
  427. # attachment-in-attachment in-attachment levels are allowed when saving and
  428. # replicating objects in the database. If you really want a higher level of
  429. # recursion than about 20, you probably have to increase MySQL's stack_size
  430. # to allow replication to work properly.
  431. embedded_attachment_limit = 20
  432.  
  433. # Header to detect whether a connection has been received through a proxy. The
  434. # value of the header is not inspected. If the header exists then the connection
  435. # is taken to be received via a proxy. An empty value disables proxy detection
  436. # and the value of '*' is used to indicate that all connections are proxied
  437. proxy_header =
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement