![]() ![]() force_ipv4 If set to 1, DNS or other network tests will prefer IPv4 and not attempt ![]() Placed after config_text to allow an override of config files. post_config_text Similar to "config_text", this text is Placed before config_text to allow an override of config files. pre_config_text Similar to "config_text", this text is If you prefer not to load the rulesįrom files, read them in yourself and set this instead. (optional, default 0) config_text The text of all rules and preferences. Reading configuration files, instead of just reading a single level. (optional) config_tree_recurse Set to 1 to recurse through directories when (optional) userstate_dir The directory user state is stored in. (optional) userprefs_filename The filename to load preferences from. (optional) site_rules_filename The filename/directory to load site-specific spam-identifying rules from. rules_filename The filename/directory to load spam-identifying rules from. Passed as a debug facility, then all debugging facilities areĮnabled. Messages are enabled (2) if the special case of "all" is "info" is passed as a debug facility, then all informational There are also two special cases: (1) if the special case of Then the keys are treated as the list of debug facilities and if it's aĪrray reference, then the elements are treated as the list of debug If this is a string, it is treated as aĬomma-delimited list of the debug facilities. It exists toĪllow sections of debug messages (called "facilities") to beĮnabled or disabled. You may pass a hash reference to the constructor which may containĭebug This is the debug options used to determine logging level. METHODS $t = Mail::SpamAssassin->new( ) Constructs a new "Mail::SpamAssassin" If you wish to use a command-line filter tool, try the Once identified as spam, the mail can then be taggedĪs spam for later filtering using the user's own mail user agent application Mail headers and body text to identify "spam", also known as Using its rule base, it uses a wide range of heuristic tests on Statistical analysis, and internet-based hashing algorithms. Methods including text analysis, internet-based realtime blocklists, Mail::SpamAssassin is a module to identify spam using several Mail::SpamAssassin - Spam detector and markup engine SYNOPSIS my $spamtest = Mail::SpamAssassin->new() ![]()
0 Comments
Leave a Reply. |