ironmail_spam = { # The name of the log format log.format.format_label = "Ironmail Spam Log Format" log.miscellaneous.log_data_type = "SPAM" log.miscellaneous.log_format_type = "mail_server" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = "^SPAMQ:[0-9]* [0-9:]*Starting Spin Run #[0-9]*$" statistics.miscellaneous.entry_name = "messages" # All log field parsing will be done using the parsing filters log.format.parse_only_with_filters = "true" # The format of dates and times in this log log.format.date_format = "mmddyyyy" log.format.time_format = "hh:mm:ss" # Log fields log.fields = { date = { label = "$lang_stats.field_labels.date" type = "date" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # date time = { label = "$lang_stats.field_labels.time" type = "time" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # time spam = { label = "$lang_stats.field_labels.spam" type = "flat" index = 0 subindex = 0 } # spam screen = { label = "$lang_stats.field_labels.screen" type = "flat" index = 0 subindex = 0 } # screen msgend = { label = "$lang_stats.field_labels.msgend" type = "flat" index = 0 subindex = 0 } # msgend } # log.fields # # Log Parsing Filters log.parsing_filters = { # Parse Date Time,Spam" 1 = { label = "1" comment = "" value = "collect_fields_using_regexp('^[0-9]*:[0-9]*:[0-9]*[-:]([0-9]*) ([0-9]*:[0-9]*:[0-9]*):*This message is (spam)\\\\. Detected by <*([^.]*)>*\\\\. Message ID: *<([0-9]*)>', 'date,time,spam,screen,*KEY*')" } # 1 # Parse Date Time, thread ended" 2 = { label = "2" comment = "" value = "collect_fields_using_regexp('^[0-9]*:[0-9]*:[0-9]*[-:]([0-9]*) ([0-9]*:[0-9]*:[0-9]*):*(Channel thread Ended) for message <([0-9]*)>$', 'date,time,msgend,*KEY*')" } # 2 # Accept on collected log entry 3 = { label = "3" comment = "" value = "accept_collected_entry_using_regexp('Channel thread Ended for message <([0-9]*)>', false)" } # 3 } # log.parsing_filters # Database fields database.fields = { date_time = { label = "$lang_stats.field_labels.date_time" log_field = "date_time" type = "string" suppress_top = 0 suppress_bottom = 3 display_format_type = "date_time" } # date_time hour_of_day = { label = "$lang_stats.field_labels.hour_of_day" log_field = "hour_of_day" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "hour_of_day" } # hour_of_day day_of_week = { label = "$lang_stats.field_labels.day_of_week" log_field = "day_of_week" type = "string" suppress_top = 0 suppress_bottom = 2 display_format_type = "day_of_week" } # day_of_week spam = { label = "$lang_stats.field_labels.spam" log_field = "spam" type = "string" suppress_top = 0 suppress_bottom = 2 } # spam screen = { label = "$lang_stats.field_labels.screen" log_field = "screen" type = "string" suppress_top = 0 suppress_bottom = 2 } # screen msgend = { label = "$lang_stats.field_labels.msgend" log_field = "msgend" type = "string" suppress_top = 0 suppress_bottom = 2 } # msgend } # database.fields database.numerical_fields = { messages = { label = "$lang_stats.field_labels.messages" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # messages } # database.numerical_fields log.filters = { mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'messages = 1;' } # mark_entry } # log.filters create_profile_wizard_options = { date_time_tracking = true # How the reports should be grouped in the report menu report_groups = { date_time_group = "" hour_of_day = true day_of_week = true spam = true screen = true msgend = true } # report_groups } # create_profile_wizard_options not_supported = { sessions = true bandwidth = true visitors = true pageviews = true individualhosts = true } # not_supported } # ironmail_spam