?? phpop3clean.config.php
字號:
<?php//////////////////////////////////////////////////////////////////// phPOP3clean() by James Heinrich <info@silisoftware.com> //// available at http://phpop3clean.sourceforge.net ///////////////////////////////////////////////////////////////////// You MUST modify these configuration values:define('PHPOP3CLEAN_ADMINEMAIL', ''); // Your email address (warnings and notices will be sent here)define('PHPOP3CLEAN_ADMINPASS', ''); // Admin-level login password for administration section (username="admin"). Please make this hard to guess.define('PHPOP3CLEAN_DBHOST', 'localhost'); // MySQL hostname (default = 'localhost' which is usually fine)define('PHPOP3CLEAN_DBUSER', ''); // MySQL usernamedefine('PHPOP3CLEAN_DBPASS', ''); // MySQL passworddefine('PHPOP3CLEAN_DBNAME', ''); // MySQL database// end MUST-modify// You MAY modify these values if you choosedefine('PHPOP3CLEAN_MAX_MESSAGE_SIZE', 1 * 1048576); // emails larger than this (in bytes) will be skipped (default = 1MB). Set to 0 for no limit.define('PHPOP3CLEAN_USE_SPAMASSASSIN', true); // if true, look for X-Spam-Status header and delete message if SpamAssassin calls it spamdefine('PHPOP3CLEAN_SPAMASSASSIN_VALUE', 0.0); // SpamAssassin hits must exceed required value by this amount (default 0.0) to be deleteddefine('PHPOP3CLEAN_PREG_DELIMIT', '/'); // delimiter for preg_match expressionsdefine('PHPOP3CLEAN_TABLE_PREFIX', 'phpop3clean_'); // prefix for MySQL tablesdefine('PHPOP3CLEAN_HIDE_PASSWORDS', true); // if true, obfuscate passwords in scan outputdefine('PHPOP3CLEAN_INTERSCAN_WAIT_PERIOD', 60); // phPOP3clean will not rescan accounts any more frequently than this (default = 60 seconds)define('PHPOP3CLEAN_TIMEOUT', 60); // PHP timeout for scripts (default = 60 seconds)define('PHPOP3CLEAN_KEEP_RECENT', 2 * 86400); // how long to keep recent messages in database for review (default = 2 days)define('PHPOP3CLEAN_KEEP_RECENT_DOM', 1 * 86400); // how long to keep recent domains in database for review (default = 1 day)define('PHPOP3CLEAN_KEEP_DOMAIN_HITS', 30 * 86400); // how long to recently seen in database for review (default = 30 days)define('PHPOP3CLEAN_KEEP_MESSAGES_SCANNED', 30 * 86400); // how long to scanned messages in database to prevent rescanning (default = 30 days)define('PHPOP3CLEAN_KEEP_MESSAGES', 30 * 86400); // how long to keep recent messages in database for review (default = 30 days)define('PHPOP3CLEAN_KEEP_IMAGE', 30 * 86400); // how long to keep attached images blacklist. These take up a lot of space, so purge if no longer catchign anything (default = 30 days)define('PHPOP3CLEAN_KEEP_IPS', 60 * 86400); // how long to keep recent IPs in blacklist. It's good to expire IP blacklists after a while to prevent false positives. (default = 90 days)define('PHPOP3CLEAN_KEEP_WORDS_CLEAN', 90 * 86400); // how long to keep "clean" word blacklists. It's good to expire word blacklists after a while for performance reasons. Entries that haven't been matched in this long will be purged (default = 90 days)define('PHPOP3CLEAN_KEEP_WORDS_OBFUSCATED', 90 * 86400); // how long to keep "obfuscated" word blacklists. It's good to expire word blacklists after a while for performance reasons. Entries that haven't been matched in this long will be purged (default = 90 days)define('PHPOP3CLEAN_KEEP_WORDS_CODE', 90 * 86400); // how long to keep "code" word blacklists. It's good to expire word blacklists after a while for performance reasons. Entries that haven't been matched in this long will be purged (default = 90 days)if (!defined('PHPOP3CLEAN_DIRECTORY')) { define('PHPOP3CLEAN_DIRECTORY', '/phPOP3clean/'); // webroot-relative, requires trailing slash. May already be defined in phPOP3clean.admin.php, and this value should be set to the same as that value}define('PHPOP3CLEAN_ADMINPAGE', '/phPOP3clean.admin.php'); // webroot-relative pathdefine('PHPOP3CLEAN_QUARANTINE', $_SERVER['DOCUMENT_ROOT'].'/phPOP3clean/quarantine/'); // absolute path, must have trailing slashdefine('PHPOP3CLEAN_MD5_IMAGE_CACHE', $_SERVER['DOCUMENT_ROOT'].'/phPOP3clean/md5imagecache/'); // absolute path, must have trailing slashdefine('PHPOP3CLEAN_COL_BLIST', 'FF0000'); // admin section, color of blacklisted IPsdefine('PHPOP3CLEAN_COL_WLIST', '00FFFF'); // admin section, color of whitelisted IPsdefine('PHPOP3CLEAN_COL_OK', '00FF00'); // admin section, color of undefined/neutral IPsdefine('PHPOP3CLEAN_RECENT_HIST_SCALING_X', 10); // horizontal scaling factor for recent messages histogram (default = 10)define('PHPOP3CLEAN_RECENT_HIST_SCALING_Y', 500); // vertical scaling factor for recent messages histogram (default = 500)// end MAY-modify// you SHOULD NOT modify these values:define('PHPOP3CLEAN_CONFIG_VERSION', '200612040823');// end SHOULD NOT?>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -