™.. Mail::SpamAssassin::Conf::Parser - Online Linux Manual PageSection : 3
Updated : 2010-03-16
Source : perl v5.10.1
Note : User Contributed Perl Documentation
NAMEMail::SpamAssassin::Conf::Parser − parse SpamAssassin configuration
SYNOPSIS (see Mail::SpamAssassin)
DESCRIPTIONMail::SpamAssassin is a module to identify spam using text analysis and several internet-based realtime blacklists. This class is used internally by SpamAssassin to parse its configuration files. Please refer to the \*(C`Mail::SpamAssassin\*(C'\fR documentation for public interfaces.
STRUCTURE OF A CONFIG BLOCKThis is the structure of a config-setting block. Each is a hashref which may contain these keys: setting the name of the setting it modifies, e.g. ‟required_score”. this also doubles as the default for 'command' (below). THIS IS REQUIRED. command The command string used in the config file for this setting. Optional; 'setting' will be used for the command if this is omitted. aliases An [aryref] of other aliases for the same command. optional. type The type of this setting: − $CONF_TYPE_NOARGS: must not have any argument, like "clear_headers"
− $CONF_TYPE_STRING: string
− $CONF_TYPE_NUMERIC: numeric value (float or int)
− $CONF_TYPE_BOOL: boolean (0/no or 1/yes)
− $CONF_TYPE_TEMPLATE: template, like "report"
− $CONF_TYPE_ADDRLIST: list of mail addresses, like "whitelist_from"
− $CONF_TYPE_HASH_KEY_VALUE: hash key/value pair, like "describe" or tflags
− $CONF_TYPE_STRINGLIST list of strings, stored as an array
− $CONF_TYPE_IPADDRLIST list of IP addresses, stored as an array of SA::NetSet
If this is set, and a 'code' block does not already exist, a 'code' block is assigned based on the type. In addition, the SpamAssassin test suite will validate that the settings do not 'leak' between users. Note that $CONF_TYPE_HASH_KEY_VALUE−type settings require that the value be non-empty, otherwise they'll produce a warning message. code A subroutine to deal with the setting. Only used if type is not set. ONE OF code OR type IS REQUIRED. The arguments passed to the function are \*(C`($self, $key, $value, $line)\*(C'\fR, where \f(CW$key\fR is the setting (*not* the command), $value is the value string, and $line is the entire line. There are two special return values that the code subroutine may return to signal that there is an error in the configuration: $Mail::SpamAssassin::Conf::MISSING_REQUIRED_VALUE \*(-- this setting requires that a value be set, but one was not provided. $Mail::SpamAssassin::Conf::INVALID_VALUE \*(-- this setting requires a value from a set of 'valid' values, but the user provided an invalid one. Any other values \*(-- including \f(CW\*(C`undef\*(C'\fR \*(-- returned from the subroutine are considered to mean 'success'. It is good practice to set a 'type', if possible, describing how your settings are stored on the Conf object; this allows the SpamAssassin test suite to validate that the settings do not 'leak' between users. default The default value for the setting. may be omitted if the default value is a non-scalar type, which should be set in the Conf ctor. note for path types: using ‟_ _userstate_ _” is recommended for defaults, as it allows Mail::SpamAssassin module users who set that configuration setting, to receive the correct values. is_priv Set to 1 if this setting requires 'allow_user_rules' when run from spamd. is_admin Set to 1 if this setting can only be set in the system-wide config when run from spamd. (All settings can be used by local programs run directly by the user.) is_frequent Set to 1 if this value occurs frequently in the config. this means it's looked up first for speed. 0
Johanes Gumabo
Data Size : 10,764 byte
man-Mail::SpamAssassin::Conf::Parser.3pmBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 175,622
Visitor ID : :
Visitor IP : 18.119.119.119 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|Mail::SpamAssassin::Conf::Parser.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|Mail::SpamAssassin::Conf::Parser.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|Mail::SpamAssassin::Conf::Parser.3pm|41|br══─}─══|'br══─}─══
) (htmlprn|149|Mail::SpamAssassin::Conf::Parser.3pm|41|'br══─}─══ |'br══─}─══
) (rof_nr_x|149|Mail::SpamAssassin::Conf::Parser.3pm|51/52|\nF|.ie \nF ══─{─══. de IX
) (rof_unit_scale_px|41|Mail::SpamAssassin::Conf::Parser.3pm|51/52|F|.ie \nF ══─{─══. de IX
) (rof_if|19|Mail::SpamAssassin::Conf::Parser.3pm|51/52|\nF|.ie \nF ══─{─══. de IX
) (htmlprn|149|Mail::SpamAssassin::Conf::Parser.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX
) (rof_escape_sequence|91|Mail::SpamAssassin::Conf::Parser.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2"
) (parse_manual_page_|249|Mail::SpamAssassin::Conf::Parser.3pm|57|══─}─══|.══─}─══
) (htmlprn|149|Mail::SpamAssassin::Conf::Parser.3pm|57|.══─}─══ |.══─}─══
) (rof_escape_sequence|91|Mail::SpamAssassin::Conf::Parser.3pm|145|\*(C`Mail::SpamAssassin\*(C'\fR documentation for public interfaces. |Please refer to the \f(CW\*(C`Mail::SpamAssassin\*(C'\fR documentation for public interfaces.
) (rof_escape_sequence|91|Mail::SpamAssassin::Conf::Parser.3pm|189|\*(C`($self, $key, $value, $line)\*(C'\fR, where \f(CW$key\fR is the setting (*not* the command), |\&\f(CW\*(C`($self, $key, $value, $line)\*(C'\fR, where \f(CW$key\fR is the setting (*not* the command),
) (rof_escape_sequence|91|Mail::SpamAssassin::Conf::Parser.3pm|195|\*(-- this setting requires |\&\f(CW$Mail::SpamAssassin::Conf::MISSING_REQUIRED_VALUE\fR \*(-- this setting requires
) (rof_escape_sequence|91|Mail::SpamAssassin::Conf::Parser.3pm|198|\*(-- this setting requires a value |\&\f(CW$Mail::SpamAssassin::Conf::INVALID_VALUE\fR \*(-- this setting requires a value
) (rof_escape_sequence|91|Mail::SpamAssassin::Conf::Parser.3pm|201|\*(-- including \f(CW\*(C`undef\*(C'\fR \*(-- returned from the subroutine are |Any other values \*(-- including \f(CW\*(C`undef\*(C'\fR \*(-- returned from the subroutine are
)