Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37710168
en ru br
ALT Linux repos
S:0.2.5-alt8.20040310
5.0: 0.2.5-alt6.20040310
4.1: 0.2.5-alt5.20040310
4.0: 0.2.5-alt6.20040310
3.0:
+backports:0.2.5-alt0.M30.2.20040310

Group :: System/Servers
RPM: spam_check

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# Amount of memory for caching when accessing DB-files.
use constant DB_CACHE_SIZE => 5242880;

# Minimal weight for blocking IP as spammer.
$cfg_block_weight = 3.5;

# Time in seconds for storing information in hash-database about IP not marked
# as spammer.
# Information about spam hosts is stored forever unless cfg_block_weight in this
# config is bigger than same variable in main spam_check config.
# In original spam_check default value of cfg_block_weight targeted to
# prevention of dublicates in blocklist; but we use dublicate prevention in own
# way, so you can freely clean spam hosts from checked_ip.db using
# here bigger value of cfg_block_weight value than in spam_check.conf.
$cfg_nospam_timetolive = 30 * 24*60*60; # 30 дней.

# Path to hash-file.
$cfg_data_path="/var/lib/spam_check";
$cfg_checker_cache_file = "$cfg_data_path/checked_ip.db";

# Debug level: 0 - only errors
# 1 - every deleted IP
# 2 - all IPs in the database

$cfg_verbose_level = 2;

return true;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin