Mail-i

Download 71
Last updated Aug 12, 2023

maili-sessions

Fetch session logs from Mail-i elastic server.

maili-sessions [profile=PROFILE] [offset=NUM] [limit=NUM] [duration=NUM{mon|w|d|h|m|s}] [from=yyyyMMddHHmmss] [to=yyyyMMddHHmmss] [timeout=NUM{m|s}]
profile=PROFILE
Name of the Mail-i connect profile
offset=NUM
Skip count
limit=NUM
Max output count
duration=NUM{mon|w|d|h|m|s}
Fetch only recent data. You should use s(second), m(minute), h(hour), d(day), mon(month) time unit. For example, 10s means data from 10 seconds earlier.
from=yyyyMMddHHmmss
Start time of range. yyyyMMddHHmmss format. If you omit time part, it will be padded by zero.
to=yyyyMMddHHmmss
End time of range. yyyyMMddHHmmss format. If you omit time part, it will be padded by zero.
timeout=NUM{m|s}
Timeout in seconds. 30 by default.

Output Fields

FieldTypeNameDescription
_timeDateTime
appStringApplicatione.g. SMTP
mail_tagStringTag
mail_fromStringMail fromAuthor of the message
mail_toStringRecipient addressesRecipients of the message delimited by new line.
mail_to_nameStringRecipient namesDelimited by new line.
mail_ccStringCarbon copy addressesDelimited by new line.
mail_cc_nameStringCarbon copy namesDelimited by new line.
mail_rcpt_toStringActual recipient addressesInclude BCC addresses delimited by new line
mail_rcpt_to_nameStringActual recipient namesInclude BCC names delimited by new line
mail_subjectStringSubject
mail_file_numIntegerAttachment count
file_namesStringFile namesDelimited by new line.
mail_contentStringMail content
mail_guidStringMail GUID
src_ipIP addressSource IP
src_portIntegerSource port
dst_ipIP addressDestination IP
dst_portIntegerDestination porte.g. 25
protocolStringProtocol
policyStringPolicy
actionStringAction
mail_headerStringMail headersDelimited by new line
mail_server_contentStringServer content