• Question about adding keyword flags to mails in Maildir folders.

    From nospam@nospam@example.net to comp.mail.pine on Tue Jul 23 00:03:45 2024
    From Newsgroup: comp.mail.pine

    Dear alpiners,

    When I try to create my own keyword flag and add it to a mail in Maildir folders or in Imap folders alpine tells me "Cannot add keywords for this folder".

    Do you have any ideas where I can start to look to fix this problem?

    The built in flags serve me well, but it would be very convenient to be
    able to add my own custom flags as well.

    Best regards,
    Daniel

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From nospam@nospam@example.net to comp.mail.pine on Tue Jul 23 12:01:05 2024
    From Newsgroup: comp.mail.pine



    On Tue, 23 Jul 2024, D wrote:

    Dear alpiners,

    When I try to create my own keyword flag and add it to a mail in Maildir folders or in Imap folders alpine tells me "Cannot add keywords for this folder".

    Do you have any ideas where I can start to look to fix this problem?

    The built in flags serve me well, but it would be very convenient to be able to add my own custom flags as well.

    Best regards,
    Daniel



    Dear all,

    In case it helps, here's an excerpt from the log file:

    Folder "x Inbox" opened with 2,323 messages
    - process_cmd(cmd=728) -
    - flag message -
    Want_to read: ^T (0x14)
    Already at end of screen
    Already at end of screen
    === mm_exists(2323,/home/db/Mail/x/Inbox) called ===
    Cannot add keywords for this folder
    - process_cmd(cmd=507) -
    MAIL_CMD: going to folder/collection menu
    === folder_screen called ====
    ---- FOLDER LISTER ----
    === mm_exists(2323,/home/db/Mail/x/Inbox) called ===
    No flags changed.

    Best regards,
    Daniel

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Eduardo Chappa@chappa@washington.edu to comp.mail.pine on Sat Jul 27 15:10:48 2024
    From Newsgroup: comp.mail.pine

    On Tue, 23 Jul 2024, D wrote:

    Dear alpiners,

    When I try to create my own keyword flag and add it to a mail in Maildir folders or in Imap folders alpine tells me "Cannot add keywords for this folder".

    Local access to a maildir folder does not accept keywords because these
    were not part of the original specification of the Maildir format.

    There are extensions of the Maildir format, such as those implemented in
    the Dovecot server, that accept keywords for messages in a maildir format. That might be a way to get keywords into your messages in that folder.
    --
    Eduardo
    https://alpineapp.email (web)
    http://repo.or.cz/alpine.git (Git)
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From nospam@nospam@example.net to comp.mail.pine on Sun Jul 28 11:20:07 2024
    From Newsgroup: comp.mail.pine



    On Sat, 27 Jul 2024, Eduardo Chappa wrote:

    On Tue, 23 Jul 2024, D wrote:

    Dear alpiners,

    When I try to create my own keyword flag and add it to a mail in Maildir
    folders or in Imap folders alpine tells me "Cannot add keywords for this
    folder".

    Local access to a maildir folder does not accept keywords because these were not part of the original specification of the Maildir format.

    There are extensions of the Maildir format, such as those implemented in the Dovecot server, that accept keywords for messages in a maildir format. That might be a way to get keywords into your messages in that folder.


    Thank you very much Eduardo!

    So instead of just using the Maildir patch, I'd instead just install a
    local dovecot and point Alpine towards that?

    Not as elegant perhaps, but at least a solution to the problem if I
    understood you correctly.

    Thank you very much! =)
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Eduardo Chappa@chappa@washington.edu to comp.mail.pine on Sun Jul 28 09:38:16 2024
    From Newsgroup: comp.mail.pine

    On Sun, 28 Jul 2024, D wrote:

    So instead of just using the Maildir patch, I'd instead just install a
    local dovecot and point Alpine towards that?

    Yes, that is the way to do that.
    --
    Eduardo
    https://alpineapp.email (web)
    http://repo.or.cz/alpine.git (Git)
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From nospam@nospam@example.net to comp.mail.pine on Sun Jul 28 18:47:50 2024
    From Newsgroup: comp.mail.pine



    On Sun, 28 Jul 2024, Eduardo Chappa wrote:

    On Sun, 28 Jul 2024, D wrote:

    So instead of just using the Maildir patch, I'd instead just install a
    local dovecot and point Alpine towards that?

    Yes, that is the way to do that.



    Great, thank you Eduardo and let me wish you a pleasant sunday evening! =)
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Eduardo Chappa@chappa@washington.edu to comp.mail.pine on Sun Jul 28 11:45:27 2024
    From Newsgroup: comp.mail.pine

    On Sun, 28 Jul 2024, D wrote:

    Great, thank you Eduardo and let me wish you a pleasant sunday evening!
    =)

    Thank you! Have a great day you too as well.
    --
    Eduardo
    https://alpineapp.email (web)
    http://repo.or.cz/alpine.git (Git)
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rebel@rebel@atrey.karlin.mff.cuni.cz (rebel) to comp.mail.pine on Fri Jan 31 10:42:06 2025
    From Newsgroup: comp.mail.pine

    On Sat, 27 Jul 2024 21:10:48 +0000, Eduardo Chappa wrote:

    On Tue, 23 Jul 2024, D wrote:

    Dear alpiners,

    When I try to create my own keyword flag and add it to a mail in Maildir
    folders or in Imap folders alpine tells me "Cannot add keywords for this
    folder".

    Local access to a maildir folder does not accept keywords because these
    were not part of the original specification of the Maildir format.

    There are extensions of the Maildir format, such as those implemented in
    the Dovecot server, that accept keywords for messages in a maildir
    format.
    That might be a way to get keywords into your messages in that folder.

    Hello, does the same limitation apply to the mbox format?
    Because I'm getting the same message as mentioned above.

    Thanks
    Michal

    --
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Eduardo Chappa@chappa@washington.edu to comp.mail.pine on Fri Jan 31 18:12:32 2025
    From Newsgroup: comp.mail.pine

    On Fri, 31 Jan 2025, rebel wrote:

    Local access to a maildir folder does not accept keywords because these
    were not part of the original specification of the Maildir format.

    There are extensions of the Maildir format, such as those implemented
    in the Dovecot server, that accept keywords for messages in a maildir
    format. That might be a way to get keywords into your messages in that
    folder.

    Hello, does the same limitation apply to the mbox format? Because I'm getting the same message as mentioned above.

    mbox is a little bit different. alpine supports keywords in these folders,
    but it accepts only up to 32. i do not know if all email programs save
    them in the same way, since there is no standard on how to save keywords
    in a folder.
    --
    Eduardo
    https://alpineapp.email (web)
    http://repo.or.cz/alpine.git (Git)
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From nospam@nospam@example.net to comp.mail.pine on Sat Feb 1 11:47:42 2025
    From Newsgroup: comp.mail.pine



    On Fri, 31 Jan 2025, Eduardo Chappa wrote:

    On Fri, 31 Jan 2025, rebel wrote:

    Local access to a maildir folder does not accept keywords because these >>> were not part of the original specification of the Maildir format.

    There are extensions of the Maildir format, such as those implemented in >>> the Dovecot server, that accept keywords for messages in a maildir format. >>> That might be a way to get keywords into your messages in that folder.

    Hello, does the same limitation apply to the mbox format? Because I'm
    getting the same message as mentioned above.

    mbox is a little bit different. alpine supports keywords in these folders, but it accepts only up to 32. i do not know if all email programs save them in the same way, since there is no standard on how to save keywords in a folder.

    Hello Eduardo,

    Since my keywords would only be used on my local system, do you think it
    would be feasible to modify alpine so that it stores keywords associated
    with emails, as extended attributes of the file in the Maildir folder?

    Do you think this could work, or would I risk creating some kind of mess
    or unforeseen consequences as a result?

    Best regards,
    Daniel

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rebel@rebel@atrey.karlin.mff.cuni.cz (rebel) to comp.mail.pine on Mon Feb 3 14:55:33 2025
    From Newsgroup: comp.mail.pine

    On Sat, 1 Feb 2025 1:12:32 +0000, Eduardo Chappa wrote:

    On Fri, 31 Jan 2025, rebel wrote:

    Local access to a maildir folder does not accept keywords because these
    were not part of the original specification of the Maildir format.

    There are extensions of the Maildir format, such as those implemented
    in the Dovecot server, that accept keywords for messages in a maildir
    format. That might be a way to get keywords into your messages in that
    folder.

    Hello, does the same limitation apply to the mbox format? Because I'm
    getting the same message as mentioned above.

    mbox is a little bit different. alpine supports keywords in these
    folders, but it accepts only up to 32. i do not know if all email
    programs save them in the same way, since there is no standard on
    how to save keywords in a folder.

    Interestingly, I am getting the same error message for an mbox folder:
    "Cannot add keywords for this folder". So for some reason it doesn't
    seem to work (alpine 2.26).

    Any ideas where to look for the culprit (or how to fix it)?

    Thanks
    Michal

    --
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From nospam@nospam@example.net to comp.mail.pine on Mon Feb 3 23:17:10 2025
    From Newsgroup: comp.mail.pine



    On Mon, 3 Feb 2025, rebel wrote:

    On Sat, 1 Feb 2025 1:12:32 +0000, Eduardo Chappa wrote:

    On Fri, 31 Jan 2025, rebel wrote:

    Local access to a maildir folder does not accept keywords because these >>>> were not part of the original specification of the Maildir format.

    There are extensions of the Maildir format, such as those implemented
    in the Dovecot server, that accept keywords for messages in a maildir
    format. That might be a way to get keywords into your messages in that >>>> folder.

    Hello, does the same limitation apply to the mbox format? Because I'm
    getting the same message as mentioned above.

    mbox is a little bit different. alpine supports keywords in these
    folders, but it accepts only up to 32. i do not know if all email
    programs save them in the same way, since there is no standard on
    how to save keywords in a folder.

    Interestingly, I am getting the same error message for an mbox folder: "Cannot add keywords for this folder". So for some reason it doesn't
    seem to work (alpine 2.26).

    Any ideas where to look for the culprit (or how to fix it)?

    Thanks
    Michal

    --


    One place to start could be to have a look in the journal. It is
    accessible by pressing "J" in the main menu. You can also toggle the debug level of messages to get more information.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From rebel@rebel@atrey.karlin.mff.cuni.cz (rebel) to comp.mail.pine on Mon Jun 9 08:52:07 2025
    From Newsgroup: comp.mail.pine

    On Sat, 1 Feb 2025 1:12:32 +0000, Eduardo Chappa wrote:

    On Fri, 31 Jan 2025, rebel wrote:

    Local access to a maildir folder does not accept keywords because these
    were not part of the original specification of the Maildir format.

    There are extensions of the Maildir format, such as those implemented
    in the Dovecot server, that accept keywords for messages in a maildir
    format. That might be a way to get keywords into your messages in that
    folder.

    Hello, does the same limitation apply to the mbox format? Because I'm
    getting the same message as mentioned above.

    mbox is a little bit different. alpine supports keywords in these
    folders, but it accepts only up to 32. i do not know if all email
    programs save them in the same way, since there is no standard on
    how to save keywords in a folder.

    It doesn't seem to work for me even for mbox. Whatever I try I get
    the "Cannot add keywords for this folder" message.

    I've tried to debug this but the log doesn't show anything interesting.
    Is there any way to see what's going on, why it doesn't work?

    Thanks
    Michal

    --
    --- Synchronet 3.21d-Linux NewsLink 1.2