From 17718981c5d1db0775407d45f83dcd026758ab47 Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Mon, 28 Nov 2022 21:15:38 -0600 Subject: imap: use list-status for check-mail Use list-status to perform check-mail commands, if it is available. This provides a significant performance benefit by only requiring one IMAP command vs one command for each mailbox. Signed-off-by: Tim Culverhouse Acked-by: Robin Jarry --- doc/aerc-imap.5.scd | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'doc/aerc-imap.5.scd') diff --git a/doc/aerc-imap.5.scd b/doc/aerc-imap.5.scd index 787730df..c00f784f 100644 --- a/doc/aerc-imap.5.scd +++ b/doc/aerc-imap.5.scd @@ -10,6 +10,7 @@ aerc implements the IMAP protocol as specified by RFC 3501, with the following IMAP extensions: - IDLE (RFC 2177) +- LIST-STATUS (RFC 5819) # CONFIGURATION @@ -104,14 +105,16 @@ are available: *check-mail-include* Specifies the comma separated list of folders to include when checking for new mail with *:check-mail*. Names prefixed with _~_ are interpreted as regular - expressions. + expressions. This setting is ignored if your IMAP server supports the + LIST-STATUS command, in which case all folders will be checked. By default, all folders are included. *check-mail-exclude* Specifies the comma separated list of folders to exclude when checking for new mail with *:check-mail*. Names prefixed with _~_ are interpreted as regular - expressions. + expressions. This setting is ignored if your IMAP server supports the + LIST-STATUS command, in which case all folders will be checked. Note that this overrides anything from *check-mail-include*. By default, no folders are excluded. -- cgit