Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
optionreference [2009/06/13 22:50] – Reposition the ** (added in v1.1.1)** text xueshengoptionreference [2010/03/21 19:14] (current) – external edit 127.0.0.1
Line 38: Line 38:
 ?bayes_sqlite_journal_mode ?bayes_sqlite_journal_mode
 ! (**delete**, truncate, persist, memory, off) \\ the journal mode of SQLite database engine. This option is effective when you are using SQLite backend and using DBD::SQLite v1.20 or later. Changing this parameter to 'memory' will make POPFile faster to update its database (adding messages to history, or reclassifying messages to buckets), but if POPFile crashes when it is updating database the database may be corrupted unexpectedly. ** (added in v1.1.1)**\\ For more information about the journal mode, please see [[http://www.sqlite.org/pragma.html#pragma_journal_mode|Pragma statements supported by SQLite]]. ! (**delete**, truncate, persist, memory, off) \\ the journal mode of SQLite database engine. This option is effective when you are using SQLite backend and using DBD::SQLite v1.20 or later. Changing this parameter to 'memory' will make POPFile faster to update its database (adding messages to history, or reclassifying messages to buckets), but if POPFile crashes when it is updating database the database may be corrupted unexpectedly. ** (added in v1.1.1)**\\ For more information about the journal mode, please see [[http://www.sqlite.org/pragma.html#pragma_journal_mode|Pragma statements supported by SQLite]].
 +
 +?bayes_sqlite_tweaks
 +! (**4294967295**, some number) \\ the parameter for tweak SQLite database. ** (changed in v1.1.1)**\\ This is a bit mask used to control options when you are using the default SQLite database. By default all the options are on (4294967295 is 0xFFFFFFFF in hexadecimal number). \\ **1 (bit 0) = Synchronous flag**\\ Set the synchronous flag to ''normal''. This value was default of SQLite 2.x. For more information about the synchronous flag, please see [[http://www.sqlite.org/pragma.html#pragma_synchronous|Pragma statements supported by SQLite]].\\ **2 (bit 1) = Backup database**\\ Backup database every hour. The back up file will be stored in the same folder of the original database and its name will be 'popfile.db.backup'.
  
 ?bayes_subject_mod_left ?bayes_subject_mod_left
Line 60: Line 63:
  
 ?config_piddir ?config_piddir
-! (**./**, some dir) \\ the relative path to a directory where POPFile will place its "popfile.pid" file when it starts up.+! (**./**, some dir) \\ the relative path to a directory where POPFile will place its "popfile.pid" file when it starts up. The default setting (./) means the file will be stored in the same directory as the configuration file (popfile.cfg).
  
 ===== Global Options ===== ===== Global Options =====
  
 ?GLOBAL_debug ?GLOBAL_debug
-! (0, **1**, 2, 3) \\ This number determines whether and how POPFile will log debug output. 0: no output, 1: to file, 2: to screen, 3: file and screen.+! (0, **1**, 2, 3) \\ This number determines whether and how POPFile will log debug output. 0: no output, 1: to file, 2: to screen, 3: file and screen. See the [[#logger_options| Logger Options]] section for the settings which control the log format and content.
  
 ?GLOBAL_last_update_check ?GLOBAL_last_update_check
Line 108: Line 111:
  
 ?html_date_format ?html_date_format
-! (**empty string**, some format string)  \\ The format used to display the date for messages on the history page. If the default (en empty string) is used, the format string will be read from the currently set language file. See WorldDomination and DateFormat for more detailed information.+! (**empty string**, some format string)  \\ The format used to display the date for messages on the history page. If the default (an empty string) is used, the format string will be read from the currently set language file. See WorldDomination and DateFormat for more detailed information.
  
 ?html_language ?html_language
Line 154: Line 157:
  
 ===== Logger Options ===== ===== Logger Options =====
 +
 +The log file is enabled or disabled using the [[/docs/optionreference#GLOBAL_debug| GLOBAL_debug]] setting.
  
 ?logger_format ?logger_format
-! (**default**) \\ +! (**default**, tabbed, csv) \\ Defines the output format for the log files. default uses a space to separate the fields, tabbed uses a tab character and csv uses a comma.
  
 ?logger_loglevel ?logger_loglevel
Line 162: Line 167:
  
 ?logger_logdir ?logger_logdir
-! (**./**) \\ Name of the directory where the log file is stored. This directory must exist (POPFile will not create it).+! (**./**) \\ Name of the directory where the log file is stored. This directory must exist (POPFile will not create it). The default setting (./) means the log file will be stored in the same directory as the configuration file (popfile.cfg).
  
 ===== NNTP Proxy Options ===== ===== NNTP Proxy Options =====
Line 172: Line 177:
 ! (0, 1) \\ Fork a child process when the proxy is used (1) or don't (0). ! (0, 1) \\ Fork a child process when the proxy is used (1) or don't (0).
  
-?nntp_headtoo (added in v1.1.0) +?nntp_headtoo 
-! (**0**, 1) \\ **nntp_headtoo = 0** \\ Any HEAD command sent by the news client is simply proxied to the news server. No classification attempt is made, no X-Text-Classification header is inserted and no subject modification is attempted. \\  \\ **nntp_headtoo = 1** \\ In this mode, POPFile internally captures the HEAD command from the news client and replaces it with an ARTICLE command issued to the news server. That causes the entire message to get retrieved. POPFile classifies that message and then DOES insert the XTC and DOES perform Subject modification (if appropriate) before it returns the header of the message to the news client. \\  \\ **Note:** setting headtoo to true (1) will mean that every message appears twice in your Popfile History. This will have only a nominal impact though, because the history gets cleared automatically after a few days and overall accuracy should be the same. Either message can be used to reclassify the message within POPFile.+! (**0**, 1) \\ **(added in v1.1.0)**\\ **nntp_headtoo = 0** \\ Any HEAD command sent by the news client is simply proxied to the news server. No classification attempt is made, no X-Text-Classification header is inserted and no subject modification is attempted. \\  \\ **nntp_headtoo = 1** \\ In this mode, POPFile internally captures the HEAD command from the news client and replaces it with an ARTICLE command issued to the news server. That causes the entire message to get retrieved. POPFile classifies that message and then DOES insert the XTC and DOES perform Subject modification (if appropriate) before it returns the header of the message to the news client. \\  \\ **Note:** setting headtoo to true (1) will mean that every message appears twice in your Popfile History. This will have only a nominal impact though, because the history gets cleared automatically after a few days and overall accuracy should be the same. Either message can be used to reclassify the message within POPFile.
  
 ?nntp_local ?nntp_local
Line 185: Line 190:
  
 ?nntp_welcome_string ?nntp_welcome_string
-! (**NNTP POPFile (v1.1.0) server ready**) \\ The string with which connecting news clients are greeted.+! (**NNTP POPFile (v1.1.1) server ready**) \\ The string with which connecting news clients are greeted.
  
 ===== POP3 Proxy Options ===== ===== POP3 Proxy Options =====
Line 220: Line 225:
  
 ?pop3_welcome_string ?pop3_welcome_string
-! (**POP3 POPFile (v1.1.0) server ready**) \\ The string with which connecting mail clients are greeted.+! (**POP3 POPFile (v1.1.1) server ready**) \\ The string with which connecting mail clients are greeted.
  
 ===== SMTP Proxy Options ===== ===== SMTP Proxy Options =====
Line 243: Line 248:
  
 ?smtp_welcome_string ?smtp_welcome_string
-! (**SMTP POPFile (v1.1.0) welcome**) \\ The string with which connecting clients are greeted.+! (**SMTP POPFile (v1.1.1) welcome**) \\ The string with which connecting clients are greeted.
  
 ===== Microsoft Windows Options ===== ===== Microsoft Windows Options =====
 
optionreference.1244933447.txt.gz · Last modified: 2009/06/14 00:50 (external edit)
Old revisions

Should you find anything in the documentation that is incomplete, unclear, outdated or just plain wrong, please let us know and leave a note in the Documentation Forum.

Recent changes RSS feed Donate Driven by DokuWiki
The content of this wiki is protected by the GNU Fee Documentation License