The mail-proxy single-mail-cache max-size command sets the maximum cache size of a single mail for mail proxy.
The undo mail-proxy single-mail-cache max-size command cancels the settings.
mail-proxy single-mail-cache max-size size [ protocol { smtp | pop3 | imap } ]
undo mail-proxy single-mail-cache max-size [ protocol { smtp | pop3 | imap } ]
| Parameter | Description | Value |
|---|---|---|
| size | Specifies the maximum cache size of a single mail. | The value is an integer ranging from 1 to 50, in MB. The default value is 50 MB. |
| { smtp | pop3 | imap } | Indicates the mail protocol type for which the maximum cache size is set. If no mail protocol is designated, the maximum cache size applies to all protocol types of mails. | - |
# Set the maximum cache size of a single mail to 10 MB for SMTP, 20 MB for POP3, and 25 MB for IMAP.
<sysname> system-view [sysname] mail-proxy single-mail-cache max-size 10 protocol smtp [sysname] mail-proxy single-mail-cache max-size 20 protocol pop3 [sysname] mail-proxy single-mail-cache max-size 25 protocol imap