Deleting large number of emails from busy mailbox

Kira Oakley kira at eight45.net
Mon Mar 13 16:52:54 UTC 2023


On 03/13  08:47, Vegard Svanberg wrote:
> Hi,
> 
> Latest mutt on local IMAP (Dovecot).
> 
> My mailbox is rather busy (and contains around half a million emails).
> 
> Say I want to delete 2000 emails.
> 
> I tag them, ;d and press X to expunge. Mutt starts fetching every email
> (not sure why that is - does it have to?), then would normally remove
> them after that.
> 
> Problem is: if a new email arrives during this process (which could take
> a few minutes), Mutt never gets around to actually removing the
> messages. It just seems to abort in the middle of the operation and I
> have to do expunge again until I eventually succeed after a few
> attempts.
> 
> Anything I could do my end to solve this?

Hacky, but: could you take down your SMTP server for several minutes,
while you do the deletions?

~ Kira

> 
> Thanks!
> 
> -- 
> Vegard Svanberg <vegard at svanberg.no> [*Takapa at IRC (EFnet)]
> 


More information about the Mutt-users mailing list