mail_sweeper24hour = { # The name of the log format log.format.format_label = "MailSweeper (24 Hour) Log Format" log.miscellaneous.log_data_type = "mail_server" 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 = `^\\[*[0-9:]+ [.0-9/]+\\]* Message '[A-Za-z0-9]+' from '[^']+' to '[^']+' entitled '[^']+' classification '[^']+' size [0-9]+ bytes.$` # This regular expression is used to parse the log fields out of the log entry log.format.parsing_regular_expression = `^\\[*([0-9:]+) ([.0-9/]+)\\]* Message '([^']*)' from '([^']*)' to '([^']*)' entitled '(.*)' classification '([^']*)' size ([0-9]*) bytes.$` # The format of dates and times in this log log.format.date_format = "dd/mm/yyyy" log.format.time_format = "hh:mm:ss" statistics.miscellaneous.entry_name = "messages" # Log fields log.fields = { time = { label = "$lang_stats.field_labels.time" type = "time" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # time date = { label = "$lang_stats.field_labels.date" type = "date" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # date message_id = { label = "$lang_stats.field_labels.message_id" type = "flat" index = 0 subindex = 0 } # message_id from = { label = "$lang_stats.field_labels.from" type = "flat" index = 0 subindex = 0 } # from to = { label = "$lang_stats.field_labels.to" type = "flat" index = 0 subindex = 0 } # to subject = { label = "$lang_stats.field_labels.subject" type = "flat" index = 0 subindex = 0 } # subject classification = { label = "$lang_stats.field_labels.classification" type = "flat" index = 0 subindex = 0 } # classification bytes = { label = "$lang_stats.field_labels.bytes" type = "size" index = 0 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # bytes } # log.fields # 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 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 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 message_id = { label = "$lang_stats.field_labels.message_id" log_field = "message_id" type = "string" suppress_top = 0 suppress_bottom = 2 } # message_id from = { label = "$lang_stats.field_labels.from" log_field = "from" type = "string" suppress_top = 0 suppress_bottom = 2 } # from to = { label = "$lang_stats.field_labels.to" log_field = "to" type = "string" suppress_top = 0 suppress_bottom = 2 } # to subject = { label = "$lang_stats.field_labels.subject" log_field = "subject" type = "string" suppress_top = 0 suppress_bottom = 2 } # subject classification = { label = "$lang_stats.field_labels.classification" log_field = "classification" type = "string" suppress_top = 0 suppress_bottom = 2 } # classification } # 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 bytes = { label = "$lang_stats.field_labels.bytes" default = false requires_log_field = true log_field = "bytes" type = "float" display_format_type = "bandwidth" } # bytes } # 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 = "" day_of_week = true hour_of_day = true message_id = true from = true to = true subject = true classification = true } # report_groups } # create_profile_wizard_options not_supported = { visitors = true sessions = true pageviews = true individualhosts = true } # not_supported } # mail_sweeper24hour