You need to sign in or sign up before continuing.
Remove old E-Mails from unprocessed folder for imap bounce processing
What does this MR do?
Currently, unprocessed bounce mails (i.E. written Mails to no-reply@foodsharing.network) are stored in the Mailbox forever. They should be cleaned up.
- Adds a variable to configure IMAP unprocessed folder
- Adds a function to cleanup old mails
- Delete old Mails from bounce processing
- Delete old failed incomming mails
Unrelated Change
Fix Typo: Maintaince -> Maintenance
How confident are you it won't break things if deployed?
If the folder is set correctly, no wrong E-Mails should be deleted. If they are not deleted, nothing changes/breaks the current state
How to test
Don't know, I could run the code in production.
Checklist
-
no unrelated changes -
asked someone for a code review -
set a "for:" label to indicate who will be affected by this change -
added to the next milestone (see https://gitlab.com/foodsharing-dev/foodsharing/-/milestones, unless it has a "for:Dev" label) -
added an entry to CHANGELOG.md
Edited by Stefan C