ShapeShifter499

/etc/cluebringer/cluebringer.conf

Jun 7th, 2013
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.77 KB | None | 0 0
  1. #
  2. # Server configuration
  3. #
  4. [server]
  5.  
  6. # Protocols to load
  7. protocols=<<EOT
  8. Postfix
  9. Bizanga
  10. EOT
  11.  
  12. # Modules to load
  13. modules=<<EOT
  14. Core
  15. AccessControl
  16. CheckHelo
  17. CheckSPF
  18. Greylisting
  19. Quotas
  20. EOT
  21.  
  22. # User to run this daemon as
  23. user=cluebringer
  24. group=cluebringer
  25.  
  26. # Filename to store pid of parent process
  27. pid_file=/var/run/cluebringer/cbpolicyd.pid
  28.  
  29. # Uncommenting the below option will prevent cbpolicyd going into the background
  30. #background=no
  31.  
  32. # Preforking configuration
  33. #
  34. # min_server - Minimum servers to keep around
  35. # min_spare_servers - Minimum spare servers to keep around ready to
  36. # handle requests
  37. # max_spare_servers - Maximum spare servers to have around doing nothing
  38. # max_servers - Maximum servers alltogether
  39. # max_requests - Maximum number of requests each child will serve
  40. #
  41. # One may want to use the following as a rough guideline...
  42. # Small mailserver: 2, 2, 4, 10, 1000
  43. # Medium mailserver: 4, 4, 12, 25, 1000
  44. # Large mailserver: 8, 8, 16, 64, 1000
  45. #
  46. #min_servers=4
  47. #min_spare_servers=4
  48. #max_spare_servers=12
  49. #max_servers=25
  50. #max_requests=1000
  51.  
  52.  
  53.  
  54. # Log level:
  55. # 0 - Errors only
  56. # 1 - Warnings and errors
  57. # 2 - Notices, warnings, errors
  58. # 3 - Info, notices, warnings, errors
  59. # 4 - Debugging
  60. log_level=2
  61.  
  62. # File to log to instead of stdout
  63. log_file=/var/log/cbpolicyd.log
  64.  
  65. # Log destination for mail logs...
  66. # main - Default. Log to policyd's main log mechanism, accepts NO args
  67. # syslog - log mail via syslog
  68. # format: log_mail=facility@method,args
  69. #
  70. # Valid methods for syslog:
  71. # native - Let Sys::Syslog decide
  72. # unix - Unix socket
  73. # udp - UDP socket
  74. # stream - Stream (for Solaris)
  75. #
  76. # Example: unix native
  77. #log_mail=mail@syslog:native
  78. #
  79. # Example: unix socket
  80. #log_mail=mail@syslog:unix
  81. #
  82. # Example: udp
  83. #log_mail=mail@syslog:udp,127.0.0.1
  84. #
  85. # Example: Solaris
  86. #log_mail=local0@syslog:stream,/dev/log
  87. #log_mail=maillog
  88. log_mail=mail@syslog:native
  89.  
  90. # Things to log in extreme detail
  91. # modules - Log detailed module running information
  92. # tracking - Log detailed tracking information
  93. # policies - Log policy resolution
  94. # protocols - Log general protocol info, but detailed
  95. # bizanga - Log the bizanga protocol
  96. #
  97. # There is no default for this configuration option. Options can be
  98. # separated by commas. ie. protocols,modules
  99. #
  100. #log_detail=
  101.  
  102. # IP to listen on, * for all
  103. host=127.0.0.1
  104. host=127.0.0.1
  105.  
  106. # Port to run on
  107. port=10031
  108.  
  109. # Timeout in communication with clients
  110. #timeout=120
  111.  
  112. # cidr_allow/cidr_deny
  113. # Comma, whitespace or semi-colon separated. Contains a CIDR block to
  114. # compare the clients IP to. If cidr_allow or cidr_deny options are
  115. # given, the incoming client must match a cidr_allow and not match a
  116. # cidr_deny or the client connection will be closed.
  117. #cidr_allow=0.0.0.0/0
  118. #cidr_deny=
  119.  
  120.  
  121.  
  122. [database]
  123. DSN=DBI:Pg:host=127.0.0.1;database=cluebringer;user=cluebringer;password=FRwdwzNktoNNhDbWDkomFCKG2o6HJE
  124. #DSN=DBI:SQLite:dbname=policyd.sqlite
  125. DSN=DBI:mysql:host=127.0.0.1;database=cluebringer;user=cluebringer;password=qy4xrOTqI5bRJBWYAxsypSh2r3sbMn
  126. #DSN=DBI:Pg:database=policyd;host=localhost
  127. #DSN=DBI:_DBC_DBTYPE_:dbname=_DBC_DBNAME_;host=_DBC_DBSERVER_
  128. ## Debian
  129. # DB_Type can be one of - pgsql, mysql or sqlite3
  130. # DB_Host is ignored for sqlite3. For pgsql and mysql it should be left
  131. # unset or as 'localhost' if you wish to use unix sockets to communicate
  132. # with the database. To use TCP/IP to connect to a local database set
  133. # '127.0.0.1' as the value. Otherwise use the hostname or IP address of
  134. # the database server.
  135. # DB_Port is ignored for sqlite3. For pgsql it will default to '5432' and
  136. # for mysql the default is '3306'. If you are running your database server
  137. # on a non-standard port you should set it's value here.
  138. # DB_Name defaults to '/var/lib/cluebringer/cluebringer.db' for sqlite3, if you
  139. # wish to use another file for the database set it's full path here and
  140. # ensure that the cluebringer user can read and write not only the file
  141. # but the directory it lives in. For pgsql and mysql this will
  142. # default to 'cluebringer', otherwise you should set the name of the
  143. # database here.
  144.  
  145. DB_Type=mysql
  146. DB_Host=127.0.0.1
  147. DB_Port=3306
  148. DB_Name=cluebringer
  149. #Username=_DBC_DBUSER_
  150. #Password=_DBC_DBPASS_
  151.  
  152.  
  153. # What do we do when we have a database connection problem
  154. # tempfail - Return temporary failure
  155. # pass - Return success
  156. bypass_mode=pass
  157.  
  158. # How many seconds before we retry a DB connection
  159. bypass_timeout=10
  160.  
  161.  
  162.  
  163. # Access Control module
  164. [AccessControl]
  165. enable=1
  166.  
  167.  
  168. # Greylisting module
  169. [Greylisting]
  170. enable=1
  171.  
  172.  
  173. # CheckHelo module
  174. [CheckHelo]
  175. enable=1
  176.  
  177.  
  178. # CheckSPF module
  179. [CheckSPF]
  180. enable=1
  181.  
  182.  
  183. # Quotas module
  184. [Quotas]
  185. enable=1
Advertisement
Add Comment
Please, Sign In to add comment