[GH-ISSUE #391] Email importing is not working, how to debug? #307

Closed
opened 2026-02-25 21:31:39 +03:00 by kerem · 1 comment
Owner

Originally created by @mipmip on GitHub (Jun 16, 2021).
Original GitHub issue: https://github.com/ciur/papermerge/issues/391

Originally assigned to: @ciur on GitHub.

Description
Email importing is not working. Can I debug this at code level? I'd like to know if it's a connection problem of a authentication problem.

papermerge_worker_1  | ?: Failed to login to IMAP server 'xxxxxx.xxxxx.xxx'
papermerge_worker_1  |  HINT:
papermerge_worker_1  |         Please double check that IMPORT_MAIL_HOST,
papermerge_worker_1  |         IMPORT_MAIL_USER, IMPORT_MAIL_PASS settings
papermerge_worker_1  |         are correct.

I double checked configuration by copy and pasting all values in a regular mail client and this works.

Info:

Originally created by @mipmip on GitHub (Jun 16, 2021). Original GitHub issue: https://github.com/ciur/papermerge/issues/391 Originally assigned to: @ciur on GitHub. **Description** Email importing is not working. Can I debug this at code level? I'd like to know if it's a connection problem of a authentication problem. ``` papermerge_worker_1 | ?: Failed to login to IMAP server 'xxxxxx.xxxxx.xxx' papermerge_worker_1 | HINT: papermerge_worker_1 | Please double check that IMPORT_MAIL_HOST, papermerge_worker_1 | IMPORT_MAIL_USER, IMPORT_MAIL_PASS settings papermerge_worker_1 | are correct. ``` I double checked configuration by copy and pasting all values in a regular mail client and this works. **Info:** - OS: Docker-compose from project - Papermerge Version 2.0 (master) - Docker-Mailserver v10(https://github.com/docker-mailserver/docker-mailserver) running dovecot
kerem 2026-02-25 21:31:39 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ciur commented on GitHub (Jun 16, 2021):

Debugging session in three easy steps:

  1. Learn python
  2. Run application in development mode by following this step by step guide.
  3. Insert a breakpoint (starting with python 3.7 there is a built-in breakpoint keyword !)

Happy debugging! 😆 🤣 🥳

You can use this resource to learn how to debug. I don't provide assistance for that.

<!-- gh-comment-id:862563450 --> @ciur commented on GitHub (Jun 16, 2021): Debugging session in three easy steps: 1. Learn python 2. Run application in development mode [by following this step by step guide](https://papermerge.com/docs/Installation/installation.html). 3. Insert a breakpoint (starting with python 3.7 there is a built-in [breakpoint](https://docs.python.org/3.8/library/functions.html#breakpoint) keyword !) Happy debugging! :laughing: :rofl: :partying_face: You can [use this resource](https://realpython.com/python-debugging-pdb/) to learn how to debug. I don't provide assistance for that.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/papermerge#307
No description provided.