mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 12:05:58 +03:00
[GH-ISSUE #281] IMPORT_MAIL_DELETE not working #228
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#228
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TapuGithub on GitHub (Jan 9, 2021).
Original GitHub issue: https://github.com/ciur/papermerge/issues/281
Originally assigned to: @ciur on GitHub.
Description
IMPORT_MAIL_DELETE = True, Gmail, emails collected well.
Expected
Processed emails deleted.
Actual
Processed emails not deleted.
Info:
@ciur commented on GitHub (Jan 10, 2021):
@TapuGithub, thanks for opening this issue.
The problem is that
IMPORT_MAIL_DELETEis part version 2.0 (which is still in development). By mistake it was added to documentation. I will update documentation with this note (that isIMPORT_MAIL_DELETEavailable only for version 2.0).@TapuGithub commented on GitHub (Jan 11, 2021):
Thanks for the fast repose. I will be waiting for 2.0 to use it.
@l4rm4nd commented on GitHub (Mar 9, 2021):
My pull request for papermerge-core might fix this issue. For this pull request, mails are not permanently deleted, but marked as read/seen and moved to the trash folder.
This simulates an email deletion and should work more reliably across various mail providers.
@l4rm4nd commented on GitHub (Mar 9, 2021):
Mail deletion using python's IMAPClient needs to use
delete_messages()and a final call toexpunge()to take effect, which is currently missing in papermerge-core'simap.py.Fix in pull request: https://github.com/papermerge/papermerge-core/pull/6#issuecomment-794096923
@ciur commented on GitHub (Mar 12, 2021):
I think release 2.0.0.rc48 should fix this issue.