--- title: "Viewing the messages in the email queue using the CLI" slug: "viewing-the-messages-in-the-email-queue-using-the-cli" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-08-24T19:52:57Z published: 2026-08-24T19:52:57Z canonical: "docs.trellix.com/viewing-the-messages-in-the-email-queue-using-the-cli" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Viewing the messages in the email queue using the CLI Use the commands in this section to view email messages that are queued for dynamic analysis. **To view the messages in the email queue:** 1. Go to CLI enable mode. ``` hostname > enable ``` 2. Specify the number of email messages that you want displayed in the output for the relevant queue. The range is from 25 to 10,000 emails. The default value is 25 emails. - To change the number of email messages displayed in the incoming queue: ``` hostname # show email-analysis message-queue max-num queue incoming ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed in the hold queue: ``` hostname # show email-analysis message-queue max-num queue hold ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed in the active queue: ``` hostname # show email-analysis message-queue max-num queue active ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed in the deferred queue: ``` hostname # show email-analysis message-queue max-num queue deferred ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed in the bounced queue: ``` hostname # show email-analysis message-queue max-num queue bounced ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed in the maildrop queue: ``` hostname # show email-analysis message-queue max-num queue maildrop ``` where `<number>` is the maximum number of email messages to display in the output. 3. View the email messages in the relevant queue. - To view the email messages in the incoming queue: ``` hostname # show email-analysis message-queue queue incoming ``` - To view the email messages in the hold queue: ``` hostname # show email-analysis message-queue queue hold ``` - To view the email messages in the active queue: ``` hostname # show email-analysis message-queue queue active ``` - To view the email messages in the deferred queue: ``` hostname # show email-analysis message-queue queue deferred ``` - To view the email messages in the bounced queue: ``` hostname # show email-analysis message-queue queue bounced ``` - To view the email messages in the maildrop queue: ``` hostname # show email-analysis message-queue queue maildrop ``` 4. Specify the number of email messages that you want displayed in the output based on the domain of the recipient for the relevant queue. The range is from 25 to 10,000 emails. The default value is 25 emails. - To change the number of email messages displayed based on the domain of the recipient in the incoming queue: ``` hostname # show email-analysis message-queue receiver-domain max-num queue incoming ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed based on the domain of the recipient in the hold queue: ``` hostname # show email-analysis message-queue receiver-domain max-num queue hold ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed based on the domain of the recipient in the active queue: ``` hostname # show email-analysis message-queue receiver-domain max-num queue active ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed based on the domain of the recipient in the deferred queue: ``` hostname # show email-analysis message-queue receiver-domain max-num queue deferred ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed based on the domain of the recipient in the bounced queue: ``` hostname # show email-analysis message-queue receiver-domain max-num queue bounced ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed based on the domain of the recipient in the maildrop queue: ``` hostname # show email-analysis message-queue receiver-domain max-num queue maildrop ``` where `<number>` is the maximum number of email messages to display in the output. 5. Specify the number of email messages that you want displayed in the output based on the email address of the recipient for the relevant queue. The range is from 25 to 10,000 emails. The default value is 25 emails. - To change the number of email messages displayed based on the email address of the recipient in the incoming queue: ``` hostname # show email-analysis message-queue receiver-email max-num queue incoming ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed based on the email address of the recipient in the hold queue: ``` hostname # show email-analysis message-queue receiver-email max-num queue holdhostname # show email-analysis message-queue receiver-email max-num queue hold ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed based on the email address of the recipient in the active queue: ``` hostname # show email-analysis message-queue receiver-email max-num queue active ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed based on the email address of the recipient in the deferred queue: ``` hostname # show email-analysis message-queue receiver-email max-num queue deferred ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed based on the email address of the recipient in the bounced queue: ``` hostname # show email-analysis message-queue receiver-email max-num queue bounced ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed based on the email address of the recipient in the maildrop queue: ``` hostname # show email-analysis message-queue receiver-email max-num queue maildrop ``` where `<number>` is the maximum number of email messages to display in the output. 6. Specify the number of email messages that you want displayed in the output based on the domain of the sender for the relevant queue. The range is from 25 to 10,000 emails. The default value is 25 emails. - To change the number of email messages displayed based on the domain of the sender in the incoming queue: ``` hostname # show email-analysis message-queue sender-domain max-num queue incoming ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed based on the domain of the sender in the hold queue: ``` hostname # show email-analysis message-queue sender-domain max-num queue hold ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed based on the domain of the sender in the active queue: ``` hostname # show email-analysis message-queue sender-domain max-num queue active ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed based on the domain of the sender in the deferred queue: ``` hostname # show email-analysis message-queue sender-domain max-num queue deferred ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed based on the domain of the sender in the bounced queue: ``` hostname # show email-analysis message-queue sender-domain max-num queue bounced ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed based on the domain of the sender in the maildrop queue: ``` hostname # show email-analysis message-queue sender-domain max-num queue maildrop ``` where `<number>` is the maximum number of email messages to display in the output. 7. Specify the number of email messages that you want displayed in the output based on the email address of the sender for the relevant queue. The range is from 25 to 10,000 emails. The default value is 25 emails. - To change the number of email messages displayed based on the email address of the sender in the incoming queue: ``` hostname # show email-analysis message-queue sender-email max-num queue incoming ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed based on the email address of the sender in the hold queue: ``` hostname # show email-analysis message-queue sender-email max-num queue hold ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages displayed based on the email address of the sender in the active queue: ``` hostname # show email-analysis message-queue sender-email max-num queue active ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages based on the email address of the sender in the deferred queue: ``` hostname # show email-analysis message-queue sender-email max-num queue deferred ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages based on the email address of the sender in the bounced queue: ``` hostname # show email-analysis message-queue sender-email max-num queue bounced ``` where `<number>` is the maximum number of email messages to display in the output. - To change the number of email messages based on the email address of the sender in the maildrop queue: ``` hostname # show email-analysis message-queue sender-email max-num queue maildrop ``` where `<number>` is the maximum number of email messages to display in the output.