FortiSandbox
FortiSandbox provides a solution to protect against advanced threats and ransomware for companies who don’t want to implement and maintain a sandbox environment on their own.
ojacinto
Staff
Staff
Article Id 379420
Description This article describes how to display the list of emails pending scanning by FortiSandbox when the MTA is configured.
Scope FortiSandbox v4.4.0 and later.
Solution

When the Mail-Transfer-Agent (MTA) adapter is configured on FortiSandbox according to the below guide: MTA adapter, email servers start to relay emails to FortiSandbox for inspection and the email pending queue can be displayed on the CLI with the following command: 'diagnose-debug adapter_mta_list'.

 

FSA-VM> diagnose-debug adapter_mta_list

Job ID |Sender |Receiver |Received Time

Total pending emails: 0

 

FSA-VM> diagnose-debug adapter_mta_list

Job ID              |Sender                           |Receiver                   |Received Time
7162394051147571286 schedule_update@domaintest.com     marco.louis@oriontest.com  2024-09-28 16:23:24
7162394085507502426 schedule_update@domaintest.com     marco.louis@oriontest.com  2024-09-28 16:23:26
7162597065673907400 alert_team@findtest.com            marobert@oriontest.com     2024-09-28 19:40:21
7163438260789356078 notification@helpdesk.com          teamcontrol@oriontest.com  2024-09-29 09:16:25
7163509540057781300 group_mgmt@domiantest.com          notificationteam@gmail.com 2024-09-29 10:25:34
7165118933032458131 schedule_update@domaintest.com     marco.louis@oriontest.com  2024-09-30 12:26:53
7165130924582859905 schedule_update@domaintest.com     marco.louis@oriontest.com  2024-09-30 12:38:31
7166652768927898620 scheduletest@domaintest.com        servicedesk@oriontest.com  2024-09-31 13:14:54
7166653060977576744 scheduletest@domaintest.com        helpdesk@oriontest.com     2024-09-31 13:15:11
7166653060988820603 scheduletest@domaintest.com        marco.louis@oriontest.com  2024-09-31 13:15:11
7166653078171055808 scheduletest@domaintest.com        operations@oriontest.com   2024-09-31 13:15:12
7166653095345817705 scheduletest@domaintest.com        jsmith@oriontest.com       2024-09-31 13:15:13
7166653112519449851 scheduletest@domaintest.com        marco.louis@oriontest.com  2024-09-31 13:15:14
7166653129703295695 scheduletest@domaintest.com        jsmith@oriontest.com       2024-09-31 13:15:15
7166653181247162288 scheduletest@domaintest.com        stationmgmt@oriontest.com  2024-09-31 13:15:18
7166654486916884598 scheduletest@domaintest.com        support@vulnerability.com  2024-09-31 13:16:34
7166655053845736235 scheduletest@domaintest.com        hellent@vulnerability.com  2024-09-31 13:17:07
7170961823712674171 vulnwatch@helpdesk.com             cargo@oriontest.com        2024-10-03 10:55:14
7170963387085241862 vulnwatch@helpdesk.com             cargo@oriontest.com        2024-10-03 10:56:45
7170965208149246542 vulnwatch@helpdesk.com             cargo@oriontest.com        2024-10-03 10:58:31
7172155188961879931 servicedesk@oriontest.com          operations@oriontest.com   2024-10-04 06:12:57
7172155223321405517 servicedesk@oriontest.com          stationmgmt@oriontest.com  2024-10-04 06:12:59

Total pending emails: 22

 

It is also possible to debug the MTA adapter communication using the commands:

 
diagnose-debug adapter_mta_relay
diagnose-debug adapter_mta_mail