xmail_smtp = { # sessions, hits, bandwidth, pageviews, and visitors. # The name of the log format log.format.format_label = "XMail SMTP 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]+\\.[0-9]+\\.[0-9]+\" \"[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\" " # The format of dates and times in this log log.format.date_format = "yyyy/mm/dd hh:mm:ss" log.format.time_format = "yyyy/mm/dd hh:mm:ss" # Log entries are called "messages" statistics.miscellaneous.entry_name = "messages" # Fields are separated by tabs log.format.field_separator = " " # Log fields log.fields = { server_hostname = { label = "$lang_stats.field_labels.server_hostname" type = "flat" index = 1 subindex = 0 } # server_hostname server_domain = { label = "$lang_stats.field_labels.server_domain" type = "flat" index = 2 subindex = 0 } # server_domain connecting_ip = { label = "$lang_stats.field_labels.connecting_ip" type = "host" index = 3 subindex = 0 hierarchy_dividers = "." left_to_right = false leading_divider = "false" } # connecting_ip date_time = { label = "$lang_stats.field_labels.date_time" type = "date_time" index = 4 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # date_time helo_ehlo_name = { label = "$lang_stats.field_labels.helo_ehlo_name" type = "flat" index = 5 subindex = 0 } # helo_ehlo_name destination_domain = { label = "$lang_stats.field_labels.destination_domain" type = "flat" index = 6 subindex = 0 } # destination_domain sender_address = { label = "$lang_stats.field_labels.sender_address" type = "hierarchical" index = 7 subindex = 0 hierarchy_dividers = "@" left_to_right = false leading_divider = "false" } # sender_address recipient_address = { label = "$lang_stats.field_labels.recipient_address" type = "hierarchical" index = 8 subindex = 0 hierarchy_dividers = "@" left_to_right = false leading_divider = "false" } # recipient_address message_id = { label = "$lang_stats.field_labels.message_id" type = "flat" index = 9 subindex = 0 } # message_id error_status = { label = "$lang_stats.field_labels.error_status" type = "flat" index = 10 subindex = 0 } # error_status authenticator = { label = "$lang_stats.field_labels.authenticator" type = "flat" index = 11 subindex = 0 } # authenticator size = { label = "$lang_stats.field_labels.size" type = "size" index = 12 subindex = 0 hierarchy_dividers = "" left_to_right = false leading_divider = "false" } # size connected_ip_rdns = { label = "$lang_stats.field_labels.connected_ip_rdns" type = "flat" index = 13 subindex = 0 } # connected_ip_rdns } # 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 server_hostname = { label = "$lang_stats.field_labels.server_hostname" log_field = "server_hostname" type = "string" suppress_top = 0 suppress_bottom = 2 } # server_hostname server_domain = { label = "$lang_stats.field_labels.server_domain" log_field = "server_domain" type = "string" suppress_top = 0 suppress_bottom = 2 } # server_domain connecting_ip = { label = "$lang_stats.field_labels.connecting_ip" log_field = "connecting_ip" type = "string" suppress_top = 0 suppress_bottom = 2 } # connecting_ip helo_ehlo_name = { label = "$lang_stats.field_labels.helo_ehlo_name" log_field = "helo_ehlo_name" type = "string" suppress_top = 0 suppress_bottom = 2 } # helo_ehlo_name destination_domain = { label = "$lang_stats.field_labels.destination_domain" log_field = "destination_domain" type = "string" suppress_top = 0 suppress_bottom = 2 } # destination_domain sender_address = { label = "$lang_stats.field_labels.sender_address" log_field = "sender_address" type = "string" suppress_top = 0 suppress_bottom = 2 } # sender_address recipient_address = { label = "$lang_stats.field_labels.recipient_address" log_field = "recipient_address" type = "string" suppress_top = 0 suppress_bottom = 2 } # recipient_address error_status = { label = "$lang_stats.field_labels.error_status" log_field = "error_status" type = "string" suppress_top = 0 suppress_bottom = 2 } # error_status authenticator = { label = "$lang_stats.field_labels.authenticator" log_field = "authenticator" type = "string" suppress_top = 0 suppress_bottom = 2 } # authenticator connected_ip_rdns = { label = "$lang_stats.field_labels.connected_ip_rdns" log_field = "connected_ip_rdns" type = "string" suppress_top = 0 suppress_bottom = 2 } # connected_ip_rdns } # 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 size = { label = "$lang_stats.field_labels.size" default = false requires_log_field = true log_field = "size" type = "float" display_format_type = "bandwidth" } # size } # 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 host_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 server_hostname = true server_domain = true connecting_ip = true helo_ehlo_name = true destination_domain = true sender_address = true recipient_address = true error_status = true authenticator = true connected_ip_rdns = true } # report_groups } # create_profile_wizard_options not_supported = { visitors = true sessions = true pageviews = true individualhosts = true } # not_supported } # xmail_smtp