[SOLVED] OfflineIMAP installation issues

  • Good evening,


    In this thread I was recommended to use the plugin "OfflineIMAP". Thankfully ryecoaaron wrote it to install it via the repos.
    I installed it via the plugin manager. That worked good. After having installed the plugin, I created a new share within my AUFS-Pools, let's call it

    Code
    /media/Freigaben/Sicherung/Mailsicherung


    This shared folder was used to configure the OfflineIMAP plugin. The configuration itself worked like a charm.
    Unfotunately there seems to be something mixed up with the folders the plugin creates. When trying to access the folders via a Windows-PC throughout SMB/CIFS with the usual user, I realised, that the folderstructure created was

    Code
    /media/Freigaben/Sicherung/Mailsicherungmail/nameofthejob

    Below that folder, I can see the folders of my mailbox. So far, so good.
    But when trying to access one of the folder (e.g. INBOX), I get an error, stating that I am not allowed to access that folder.
    What I would like to know is:


    - How can I get offlineIMAP use the shared folder I want it to use?
    - How can I get the offlineIMAP-folders to be accessible?
    - Is there any guide on how to configure it (how to use it in a cron job, how to delete news on the email account...)?


    Thanks for sharing your thoughts,
    bg,


    Gilhin

    • Offizieller Beitrag

    Did you create a folder or a shared folder?


    Mine share is: /media/uuid/aaron-email/ or just aaron-email in the web interface
    The email is stored: /media/uuid/aaron-email/mail/aaron/


    There is a permission issue as root is the owner and no one else has privileges to even read. I will have to think about how to fix that.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    It is using the shared folder you selected. It just creates more subfolders within that shared folder. That is part of offlineimap.


    To access it until I figure out a solution, just: chmod -R 770 /media/Freigaben/Sicherung/Mailsicherungmail/nameofthejob


    To use for cronjob - read


    You can't delete news. You can't pick which folder it syncs. I just wanted it to be a complete imap email backup.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Zitat von "ryecoaaron"

    It is using the shared folder you selected. It just creates more subfolders within that shared folder.


    And that's what it doesn't do. The shared folder created is named /media/Freigaben/Sicherung/Mailsicherung. When istalling and configuring the plugin, another folder /media/Freigaben/Sicherung/Mailsicherungmail.


    Thanks for your other Feedbacks, I'll care about them.
    Bg,


    Gilhin

    • Offizieller Beitrag

    Can you post a screen shot of your shared folder setup? Like the pic below:

    • Offizieller Beitrag

    Can you PM me the output of:


    cat /root/.offlineimaprc


    Make sure to remove your passwords.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Here it is:


    • Offizieller Beitrag

    Did you change the shared folder at any time?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Strange. Try:


    rm /root/.offlineimaprc
    omv-mkconf offlineimap


    and then post /root/.offlineimaprc again.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Did it, but can't find a difference:

    • Offizieller Beitrag

    Finally figured it out... You don't have a slash at the end of your shared folder path. You should but I will change the program to add one anyway. Working on an update that should be out soon.


    ** edit - 1.0.1 is in repo now. Delete the current account and recreate it.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Thanks for feedback to help make the plugin better :)

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!