mnx-mail-contents
Retrieves the list of collected mail (SMTP) contents from the SANDS Lab MNX device.
mnx-mail-contents [profile=VALUE] [duration=VALUE] [from=VALUE] [to=VALUE] order-column=VALUE [order=VALUE] iface-names=VALUE [expression=VALUE] [limit=VALUE] [offset=VALUE]
- profile=VALUE
- Optional. MNX connect profile code
- duration=VALUE
- Optional. Time range (e.g. 10d, 1w, 1mon)
- from=VALUE
- Optional. Start time (yyyyMMddHHmmss)
- to=VALUE
- Optional. End time (yyyyMMddHHmmss)
- order-column=VALUE
- Required. Sort column (timestamp, sender, recipient)
- order=VALUE
- Optional. Sort order (asc, desc). Default: desc
- iface-names=VALUE
- Required. Comma separated network interface names
- expression=VALUE
- Optional. Filter expression (like tcpdump expression)
- limit=VALUE
- Optional. Page size (default: 20)
- offset=VALUE
- Optional. Page number (default: 1)
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| profile | String | Connect profile | MNX connect profile code |
| session_id | String | Session ID | e.g. 260109--8WqvXyDA-NIqZIXqWv0x6EM |
| _time | Date | Time | e.g. 2026-12-04 13:11:23 |
| src_ip | IP | Src IP | e.g. 10.10.0.110 |
| src_port | Integer | Src Port | e.g. 63544 |
| src_country | String | Src Country | e.g. kr |
| dst_ip | IP | Dst IP | e.g. 203.0.113.36 |
| dst_port | Integer | Dst Port | e.g. 25 |
| dst_country | String | Dst Country | e.g. us |
| mail_from | String | Mail From | e.g. user01@example.com |
| mail_to | String | Mail To | e.g. user02@example.com |
| mail_subject | String | Mail Subject | e.g. Account verification required |
| mail_body | String | Mail Body | e.g. Dear Customer, please verify your account. |
| filename | String | Filename | e.g. invoice.docx |
| md5 | String | MD5 | e.g. 37a9cbedc9f99fcdd1f8c386c3fd242b |
| tags | String | Tags | e.g. Net-1,smtp:statuscode:250 |
| iface_name | String | Interface Name | e.g. OFFICE |
| es_id | String | ES ID | e.g. t3L5oJsBkELm5Yvg64S_ |
| user_info | String | User Info | e.g. user01 |
| source | Map | Source | e.g. {"ip": "10.10.0.110", "port": 63544, "bytes": 1801, "packets": 10, "country_code": "kr"} |
| destination | Map | Destination | e.g. {"ip": "203.0.113.36", "port": 25, "bytes": 1242, "packets": 16, "country_code": "us", "geo": {"country_iso_code": "US"}} |
| Map | e.g. {"subject": ["Account verification required"], "subjectCnt": 1, "src": ["user01@example.com"], "srcCnt": 1, "dst": ["user02@example.com"], "dstCnt": 1, "body": ["Dear Customer, please verify your account."], "filename": ["invoice.docx"], "filenameCnt": 1, "md5": ["37a9cbedc9f99fcdd1f8c386c3fd242b"], "md5Cnt": 1} | ||
| total_count | Long | Total Count | e.g. 234 |