Issue
How to view your quarantined emails from command-line (SSH)
Environment
- Imunify360
- Imunify Email
Imunify Email has been checked for compatibility with following tools and mail gateways:
- Config Server Services
- MailChannels from IE 0.6 version
- SpamAssassin (incoming and outgoing configuration)
- Smtp2go
Solution
Root user, if needed, can see any message held in a quarantine. To do this email ID is needed. It can be taken from the list command above.
Note
Don’t forget to specify a user account. For root user use -a root
.
Command
ie-cli emails show --id <EMAIL_ID> [-a <ACCOUNT_NAME>] [--json]
List emails in quarantine
To see all emails stored use the following command. By default 'root' account is used, so the command shows the whole content of the quarantine.
Command
ie-cli emails list -a <ACCOUNT_NAME> [--json]
If you would like to view all emails, please execute:
ie-cli emails list Max Count
Comments
0 comments
Please sign in to leave a comment.