Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetchmail fails on folders with German umlauts #2996

Open
NicolasGoeddel opened this issue Oct 22, 2023 · 2 comments
Open

Fetchmail fails on folders with German umlauts #2996

NicolasGoeddel opened this issue Oct 22, 2023 · 2 comments
Labels
priority/p2 Minor bug / Could have python Pull requests that update Python code type/bug Bug. Not working as intended

Comments

@NicolasGoeddel
Copy link

Environment & Version

  • Docker Compose version v2.20.0
  • MailU version 2.0

Description

When trying to fetch the folder Entwürfe from it results in an error. When you encode the name manually to Entw&APw-rfe according to the IMAP UTF-7 encoding scheme (see here) it works.

Replication Steps

  • Add a fetchmail configuration, e.g. a web.de account
  • Add the folder Entwürfe to be fetched
  • Wait for the cronjob to execute

Observed behaviour

  • fetchmail runs into an ERROR

Expected behaviour

  • fetchmail should work just fine by encoding the folders to be fetched beforehand

Logs

mailu-fetchmail-1  | 2023-10-22T13:26:12.475249522Z fetchmail: mailbox selection failed
mailu-fetchmail-1  | 2023-10-22T13:26:12.481254947Z fetchmail: client/server synchronization error while fetching from <private>@web.de@imap.web.de
mailu-fetchmail-1  | 2023-10-22T13:26:12.491866138Z Sleeping for 600 seconds
mailu-fetchmail-1  | 2023-10-22T13:26:12.491939658Z fetchmail: Query status=7 (ERROR)
@ghostwheel42
Copy link
Contributor

ghostwheel42 commented Oct 23, 2023

Thanks for pointing this out. Can you create a PR to fix this in fetchmail.py?

@ghostwheel42 ghostwheel42 added priority/p2 Minor bug / Could have type/bug Bug. Not working as intended python Pull requests that update Python code labels Oct 23, 2023
@ghostwheel42
Copy link
Contributor

As pointed out in #2997 the folders input also needs to be updated to support spaces in folder names.
Maybe this can be done by using the select2 library already used in other locations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/p2 Minor bug / Could have python Pull requests that update Python code type/bug Bug. Not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants