Fortinet white logo
Fortinet white logo

CLI Reference

system mailbox

system mailbox

Use these commands to show statistics about the most active mailboxes.

This command is available only if an advanced management feature license is installed on the FortiMail unit, and if mailbox-accounting-status {enable | disable} is enable.

Syntax

diagnose system mailbox stat

diagnose system mailbox recent {daily <days_int> | monthly <months_int>} [<protected-domain_name>]

diagnose system mailbox report <profile_name>

Variable

Description

Default

stat

Enter the

{daily <days_int> | monthly <months_int>}

Enter the number of days or months to include in the report.

<protected-domain_name>

Enter the name of a protected domain.

If you omit the name of the domain, then all protected domains are included in the report.

report <profile_name>

Enter the name of a profile.

Example

FortiMail # diagnose system mailbox stat

System Time:  2025-06-02 12:04:52 EDT (Uptime: 2d 19h 3m)
Total system-wide active mailboxes: 0
Top 0 domains with most mailboxes

FortiMail # diagnose system mailbox recent daily 3 example.com

System Time:  2025-06-02 12:05:41 EDT (Uptime: 2d 19h 4m)
Recent 3 days mailbox statistics of domain example.com:
total (immediate, sub domains, associated domains)
2025/06/01:        1 (       1,        0,        0)
2025/05/31:        1 (       1,        0,        0)
2025/05/30:        1 (       1,        0,        0)
2025/05/29:        1 (       1,        0,        0)
FortiMail # diagnose system mailbox report mbox_stats_report_settings1
System Time:  2025-06-02 13:07:26 EDT (Uptime: 2d 20h 6m)
Generated mailbox report.

Related topics

system status

report mailbox

system advanced-management

system mailbox

system mailbox

Use these commands to show statistics about the most active mailboxes.

This command is available only if an advanced management feature license is installed on the FortiMail unit, and if mailbox-accounting-status {enable | disable} is enable.

Syntax

diagnose system mailbox stat

diagnose system mailbox recent {daily <days_int> | monthly <months_int>} [<protected-domain_name>]

diagnose system mailbox report <profile_name>

Variable

Description

Default

stat

Enter the

{daily <days_int> | monthly <months_int>}

Enter the number of days or months to include in the report.

<protected-domain_name>

Enter the name of a protected domain.

If you omit the name of the domain, then all protected domains are included in the report.

report <profile_name>

Enter the name of a profile.

Example

FortiMail # diagnose system mailbox stat

System Time:  2025-06-02 12:04:52 EDT (Uptime: 2d 19h 3m)
Total system-wide active mailboxes: 0
Top 0 domains with most mailboxes

FortiMail # diagnose system mailbox recent daily 3 example.com

System Time:  2025-06-02 12:05:41 EDT (Uptime: 2d 19h 4m)
Recent 3 days mailbox statistics of domain example.com:
total (immediate, sub domains, associated domains)
2025/06/01:        1 (       1,        0,        0)
2025/05/31:        1 (       1,        0,        0)
2025/05/30:        1 (       1,        0,        0)
2025/05/29:        1 (       1,        0,        0)
FortiMail # diagnose system mailbox report mbox_stats_report_settings1
System Time:  2025-06-02 13:07:26 EDT (Uptime: 2d 20h 6m)
Generated mailbox report.

Related topics

system status

report mailbox

system advanced-management