Changeset 63
- Timestamp:
- 27.11.2006 22:40:25 (2 years ago)
- Files:
-
- trunk/devel/FuzzyOcr.cf (modified) (2 diffs)
- trunk/devel/FuzzyOcr/Config.pm (modified) (3 diffs)
- trunk/devel/FuzzyOcr/Logging.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/devel/FuzzyOcr.cf
r60 r63 20 20 #focr_log_stderr 1 21 21 # 22 # Logfile (make sure it is writable by the plugin) (Default value: /etc/mail/spamassassin/FuzzyOcr.log)22 # Logfile (make sure it is writable by the plugin) (Default value: undefined (means no logfile if you don't set one!) 23 23 #focr_logfile /etc/mail/spamassassin/FuzzyOcr.log 24 24 ########################## … … 63 63 #focr_preprocessor_file /etc/mail/spamassassin/FuzzyOcr.preps 64 64 #focr_scanset_file /etc/mail/spamassassin/FuzzyOcr.scansets 65 # 66 ## Setting this to 1 will cause FuzzyOcr to skip all other scansets, if a scanset has 67 ## reached the amount of hits specified in focr_counts_required. (i.e. if the image is detected as spam). 68 ## This saves resources, but lowers the scores because not the best, but the first best scanset is taken as result. 69 #focr_minimal_scanset 0.0 65 70 # 66 71 ######### trunk/devel/FuzzyOcr/Config.pm
r61 r63 303 303 push (@cmds, { 304 304 setting => 'focr_base_score', 305 default => 3,305 default => 5, 306 306 type => $Mail::SpamAssassin::Conf::CONF_TYPE_NUMERIC 307 307 }); … … 309 309 push (@cmds, { 310 310 setting => 'focr_add_score', 311 default => 0.5,311 default => 1, 312 312 type => $Mail::SpamAssassin::Conf::CONF_TYPE_NUMERIC 313 313 }); … … 378 378 type => $Mail::SpamAssassin::Conf::CONF_TYPE_STRING 379 379 }); 380 380 push (@cmds, { 381 setting => 'focr_minimal_scanset', 382 default => 0, 383 type => $Mail::SpamAssassin::Conf::CONF_TYPE_BOOL 384 }); 381 385 push (@cmds, { 382 386 setting => 'focr_mysql_host', trunk/devel/FuzzyOcr/Logging.pm
r61 r63 6 6 use FuzzyOcr::Config; 7 7 use Mail::SpamAssassin::Logger; 8 9 use FileHandle; 10 use Fcntl ':flock'; 8 11 9 12 sub logfile {
