config 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. # -*- mode: conf -*-
  2. # vim:ft=cfg
  3. # Config file for Radicale - A simple calendar server
  4. #
  5. # Place it into /etc/radicale/config (global)
  6. # or ~/.config/radicale/config (user)
  7. #
  8. # The current values are the default ones
  9. [server]
  10. # CalDAV server hostnames separated by a comma
  11. # IPv4 syntax: address:port
  12. # IPv6 syntax: [address]:port
  13. # IPv6 adresses are configured to only allow IPv6 connections
  14. hosts = 0.0.0.0:5232
  15. # Daemon flag
  16. daemon = False
  17. # File storing the PID in daemon mode
  18. pid =
  19. # SSL flag, enable HTTPS protocol
  20. ssl = False
  21. # SSL certificate path
  22. certificate = /etc/apache2/ssl/server.crt
  23. # SSL private key
  24. key = /etc/apache2/ssl/server.key
  25. # Reverse DNS to resolve client address in logs
  26. dns_lookup = True
  27. # Root URL of Radicale (starting and ending with a slash)
  28. base_prefix = /
  29. # Message displayed in the client when a password is needed
  30. realm = Radicale - Password Required lol
  31. [encoding]
  32. # Encoding for responding requests
  33. request = utf-8
  34. # Encoding for storing local collections
  35. stock = utf-8
  36. [auth]
  37. # Authentication method
  38. # Value: None | htpasswd | IMAP | LDAP | PAM | courier | http
  39. type = None
  40. # Usernames used for public collections, separated by a comma
  41. public_users = public
  42. # Usernames used for private collections, separated by a comma
  43. private_users = private
  44. # Htpasswd filename
  45. htpasswd_filename = /etc/radicale/users
  46. # Htpasswd encryption method
  47. # Value: plain | sha1 | crypt
  48. htpasswd_encryption = crypt
  49. # LDAP server URL, with protocol and port
  50. ldap_url = ldap://localhost:389/
  51. # LDAP base path
  52. ldap_base = ou=users,dc=example,dc=com
  53. # LDAP login attribute
  54. ldap_attribute = uid
  55. # LDAP filter string
  56. # placed as X in a query of the form (&(...)X)
  57. # example: (objectCategory=Person)(objectClass=User)(memberOf=cn=calenderusers,ou=users,dc=example,dc=org)
  58. # leave empty if no additional filter is needed
  59. ldap_filter =
  60. # LDAP dn for initial login, used if LDAP server does not allow anonymous searches
  61. # Leave empty if searches are anonymous
  62. ldap_binddn =
  63. # LDAP password for initial login, used with ldap_binddn
  64. ldap_password =
  65. # LDAP scope of the search
  66. ldap_scope = OneLevel
  67. # IMAP Configuration
  68. imap_hostname = localhost
  69. imap_port = 143
  70. imap_ssl = False
  71. # PAM group user should be member of
  72. pam_group_membership =
  73. # Path to the Courier Authdaemon socket
  74. courier_socket =
  75. # HTTP authentication request URL endpoint
  76. http_url =
  77. # POST parameter to use for username
  78. http_user_parameter =
  79. # POST parameter to use for password
  80. http_password_parameter =
  81. [rights]
  82. # Rights management method
  83. # Value: None | owner_only | owner_write | from_file
  84. type = None
  85. # File for rights management from_file
  86. file = ~/.config/radicale/rights
  87. [storage]
  88. # Storage backend
  89. # Value: filesystem | database
  90. type = filesystem
  91. # Folder for storing local collections, created if not present
  92. filesystem_folder = ~/.config/radicale/collections
  93. # Database URL for SQLAlchemy
  94. # dialect+driver://user:password@host/dbname[?key=value..]
  95. # For example: sqlite:///var/db/radicale.db, postgresql://user:password@localhost/radicale
  96. # See http://docs.sqlalchemy.org/en/rel_0_8/core/engines.html#sqlalchemy.create_engine
  97. database_url =
  98. [logging]
  99. # Logging configuration file
  100. # If no config is given, simple information is printed on the standard output
  101. # For more information about the syntax of the configuration file, see:
  102. # http://docs.python.org/library/logging.config.html
  103. config = /etc/radicale/logging
  104. # Set the default logging level to debug
  105. debug = False
  106. # Store all environment variables (including those set in the shell)
  107. full_environment = False
  108. # Additional HTTP headers
  109. #[headers]
  110. #Access-Control-Allow-Origin = *