Группа :: Система/Серверы
Пакет: sqlgrey
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: sqlgrey-alt-conf.patch
--- sqlgrey-1.6.1/etc/sqlgrey.conf.orig 2005-03-04 00:50:59 +0300
+++ sqlgrey-1.6.1/etc/sqlgrey.conf 2005-03-06 12:38:39 +0300
@@ -59,8 +59,8 @@
# log_ident =
## username and groupname the daemon runs as
-# user = sqlgrey
-# group = sqlgrey
+user = sqlgrey
+group = sqlgrey
## Socket
# On which socket do SQLgrey wait for queries
@@ -71,7 +71,7 @@
## PID
# where to store the process PID
-# pidfile = /var/run/sqlgrey.pid
+pidfile = /var/run/sqlgrey.pid
## Config directory
# where to look for other configuration files (whitelists)
@@ -83,13 +83,13 @@
# reconnect_delay = 15 # don't allow a reconnection before 15 minutes
# max_connect_age = 2 # don't allow a reconnection after 2 hours
# default: (based on real-life experience)
-# reconnect_delay = 5
-# max_connect_age = 24
+reconnect_delay = 5
+max_connect_age = 24
## Auto whitelists settings
# default is tailored for small sites
-# awl_age = 60
-# group_domain_level = 2
+awl_age = 60
+group_domain_level = 2
# For bigger sites you may want
# a smaller awl_age and a bigger group_domain_level
@@ -100,7 +100,7 @@
## Database settings
# instead of Pg below use "mysql" for MySQL, "SQLite" for SQLite
# any DBD driver is allowed, but only the previous 3 have been tested
-# db_type = Pg
+db_type = SQLite
# db_name = sqlgrey
# Note: the following are not used with SQLite
# db_host = localhost
@@ -110,7 +110,7 @@
## X-Greylist header added?
# This adds delay, whitelist and autowhitelist information in the headers
-# prepend = 1
+prepend = 1
## Greylisting method:
# - full : greylist by IP address
@@ -119,7 +119,7 @@
# - smart : greylist by class C network unless there is no reverse lookup
# or it looks like a home-user address
# Default is smart
-# greymethod = smart
+greymethod = smart
## Optin/Optout (see README.OPTINOUT for details)
# - none : everyone is greylisted (default)
@@ -147,7 +147,7 @@
## Update server
# where to get updates for whitelists
-# whitelists_host = sqlgrey.bouton.name
+whitelists_host = sqlgrey.bouton.name
## Postmaster address
# who gets urgent notifications (DB is down for example)