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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC 6154: IMAP LIST Extension for Special-Use Mailboxes (Was: IMAP server is not added to the auto-generated user profile) #817

Open
ivanov17 opened this issue Nov 2, 2023 · 7 comments
Assignees

Comments

@ivanov17
Copy link

ivanov17 commented Nov 2, 2023

馃悰 Bugreport

After logging into the Cypht interface using IMAP authentication, the IMAP server is not added to the automatically generated user profile. Accordingly, the username is not recognized and is not added to the address and reply fields:

Screen Shot 2023-11-02 at 21 24 43

At the same time, the IMAP server is added to the servers and saved correctly:

Screen Shot 2023-11-02 at 21 23 57

On the Compose page I see the message Please create a profile for saving sent messages:

Screen Shot 2023-11-02 at 21 25 55

Authentication is carried out using a full email address.

The same thing happens with both an empty default_email_domain parameter and a specified domain.

After manually updating the E-Mail Address and Reply-to fields and saving the profile, the IMAP server is added correctly.

Despite this, another problem arises: IMAP folders (Trash/Sent/Drafts) are not automatically recognized even though they exist on the server. Accordingly, I see the message Please configure a sent folder for this IMAP account on the Compose page.

Version & Environment

Rev: v1.4.0

OS: CentOS Stream 9 container

$ php --version
PHP 8.2.12 (cli) (built: Oct 24 2023 19:22:16) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.2.12, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.12, Copyright (c), by Zend Technologies

Steps to reproduce

  1. Login to the Cypht interface using IMAP authentication and full email address
  2. Check the Profiles page
  3. Check the Servers page
  4. Check the Compose page
@marclaporte
Copy link
Member

Can you see if you can find a link to "folders"?

@ivanov17
Copy link
Author

ivanov17 commented Nov 3, 2023

I hope I understand the question correctly.

I can select the IMAP server on the Folders page:

Screen Shot 2023-11-03 at 12 56 48

After that I can see a list of options and select all the required IMAP folders:

Screen Shot 2023-11-03 at 12 59 52

I think my IMAP folders should already have all necessary special-use flags, since desktop clients (Claws Mail and Thunderbird) recognize their types correctly. Unfortunately Cypht doesn't do this, but I don't know if it has to do this or not.

@marclaporte
Copy link
Member

Ok, I see https://www.rfc-editor.org/rfc/rfc6154.html

@Yannick243 Please investigate.

Related commit:
ac3b9c2

@marclaporte marclaporte changed the title IMAP server is not added to the auto-generated user profile RFC 6154: IMAP LIST Extension for Special-Use Mailboxes (Was: IMAP server is not added to the auto-generated user profile) Nov 4, 2023
@Yannick243
Copy link
Member

Ok,
I am testing it, and I will provide feedback

@marclaporte
Copy link
Member

@Yannick243 It has been 6 months

@Yannick243
Copy link
Member

Yannick243 commented May 6, 2024

With the refactor of IMAP & SMTP server configuration here #855 , the issue has been fixed.
Credentials (imap server, smtp server, reply-to, etc) are being added to the auto-generated user profile automatically.

@marclaporte
Copy link
Member

Credentials (imap server, smtp server, reply-to, etc) are being added to the auto-generated user profile automatically.

This is great. So part of https://github.com/cypht-org/cypht/releases/tag/v2.0.0

But there is another part to this issue: "RFC 6154: IMAP LIST Extension for Special-Use Mailboxes".

We want Cypht to detect the folder type automatically like Claws and Thunderbird.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants