jsuto / piler

Email archiving application
https://www.mailpiler.org/
Other
72 stars 9 forks source link

[FEATURE] How to delete more than 20 mails at once? #126

Closed vmario89 closed 3 months ago

vmario89 commented 3 months ago

Hi,

when deleting unneeded mails (like system log mails) i can only select a max. of 20 mails. then i can press delete and search again to select the next 20 entries. this is cumbersome. is there any chance to select more entries at once or some thing to do the same on command line?

vmario89 commented 3 months ago

btw. after deletion the search-query should re-trigger automatically in the GUI but it does not. After deletion still the old total mail count and view is shown (view is not updated).

jsuto commented 3 months ago

You can update the page length to a greater number, eg. 50. Or you may increase it if you add $paging array (see config.php) with greater values to config-site.php.

You may achieve something similar by fixing the metadata table retained column to the past (eg. yesterday), then run the purge utility. The total mail count supposed change depends on the RT value. Do you use real time or plain index?

vmario89 commented 3 months ago

thank for that hint!

i adjusted $config['PAGE_LEN'] = 50; in GUI. The sql solution is good!