Use if the existing tests for IPv6 availability produce incorrect results or crashes. If set to 1, DNS or other network tests will prefer IPv4 and not attempt to use IPv6. Similar to config_text, this text is placed after config_text to allow an override of config files. Similar to config_text, this text is placed before config_text to allow an override of config files. As a result, this will override the settings for rules_filename, site_rules_filename, and userprefs_filename. If you prefer not to load the rules from files, read them in yourself and set this instead. Set to 1 to recurse through directories when reading configuration files, instead of just reading a single level. The filename/directory to load site-specific spam-identifying rules from. The filename/directory to load spam-identifying rules from. There are also two special cases: (1) if the special case of "info" is passed as a debug facility, then all informational messages are enabled (2) if the special case of "all" is passed as a debug facility, then all debugging facilities are enabled. If it's a hash reference, then the keys are treated as the list of debug facilities and if it's a array reference, then the elements are treated as the list of debug facilities. If this is a string, it is treated as a comma-delimited list of the debug facilities. It exists to allow sections of debug messages (called "facilities") to be enabled or disabled. This is the debug options used to determine logging level. ![]() You may pass a hash reference to the constructor which may contain the following attribute- value pairs. ![]() METHODS $t = Mail::SpamAssassin->new( )Ĭonstructs a new Mail::SpamAssassin object. If you wish to use a command-line filter tool, try the spamassassin or the spamd/ spamc tools provided. ![]() Once identified as spam, the mail can then be tagged as spam for later filtering using the user's own mail user agent application or at the mail transfer agent. Using its rule base, it uses a wide range of heuristic tests on mail headers and body text to identify "spam", also known as unsolicited bulk email. Mail::SpamAssassin is a module to identify spam using several methods including text analysis, internet-based realtime blocklists, statistical analysis, and internet-based hashing algorithms. Mail::SpamAssassin - Spam detector and markup engine SYNOPSIS my $spamtest = Mail::SpamAssassin->new()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |