Skip to content

Folder structure for accounts #42

@vitis586

Description

@vitis586

Hello,

I am running this in a docker container. I want to save multiple folders from single account. As imapbox does not support multiple remote folders with one account, I just duplicated the account and use different remote folder for each. Everything works, but..

The config is as follows

[imapbox]
local_folder=/var/imapbox
days=365
wkhtmltopdf=/opt/bin/wkhtmltopdf

[account1]
host=imap.example.com
username=[email protected]
password=password
remote_folder=INBOX

[account2]
host=imap.example.com
username=[email protected]
password=password
remote_folder=archive

[account3]
host=imap.example.com
username=[email protected]
password=password
remote_folder=sent

Imapbox runs and downloads all the mail, but the folder structure is following

  • home
    • INBOX
      • 2023
      • 2022
      • archive
        • 2023
        • sent
          • 2023

Imapbox runs and writes the email, but then does not go back to home and runs further in the account1 folder and that just continues. I would expect to have the remote folders as subfolders in home. I bet that it is something simple, but I am not on that level yet. :)

I am not sure how to name this issue, so you might come up with something better than I did.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions