{"id":20092040,"url":"https://github.com/maxkratz/docker_offlineimap","last_synced_at":"2025-10-22T21:49:28.166Z","repository":{"id":44817987,"uuid":"236182620","full_name":"maxkratz/docker_offlineimap","owner":"maxkratz","description":"Offlineimap dockerfile.","archived":false,"fork":false,"pushed_at":"2024-10-09T06:04:41.000Z","size":22,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T08:05:58.129Z","etag":null,"topics":["docker","docker-image","dockerfile","imap","imap-client","offlineimap"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxkratz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-25T14:43:56.000Z","updated_at":"2025-01-17T09:59:38.000Z","dependencies_parsed_at":"2024-06-15T07:42:29.536Z","dependency_job_id":"2f031969-0eb5-4d9b-9a78-c9c382b5b394","html_url":"https://github.com/maxkratz/docker_offlineimap","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkratz%2Fdocker_offlineimap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkratz%2Fdocker_offlineimap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkratz%2Fdocker_offlineimap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkratz%2Fdocker_offlineimap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxkratz","download_url":"https://codeload.github.com/maxkratz/docker_offlineimap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252621996,"owners_count":21777903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-image","dockerfile","imap","imap-client","offlineimap"],"created_at":"2024-11-13T16:35:39.453Z","updated_at":"2025-10-22T21:49:23.117Z","avatar_url":"https://github.com/maxkratz.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker_offlineimap\n\n[![Build Docker images (tag)](https://github.com/maxkratz/docker_offlineimap/actions/workflows/build-tag.yml/badge.svg)](https://github.com/maxkratz/docker_offlineimap/actions/workflows/build-tag.yml)\n[![Build Docker images (main)](https://github.com/maxkratz/docker_offlineimap/actions/workflows/build-dev.yml/badge.svg)](https://github.com/maxkratz/docker_offlineimap/actions/workflows/build-dev.yml)\n\n*Unofficial* OfflineIMAP Dockerfile for backing up all folders of an imap server.\n\n## Quickstart\nAfter installing docker, just run the following command:\n\n```sh\ndocker pull maxkratz/offlineimap:latest\n```\n\n## Environment variables\nYou can use the following environment variables for customization of this container:\n\n```sh\nMAILLOG # If set to true, container will create a log instead of using console output\n```\n\n## Mount volumes or bind folders\nOne may mount a folder of the host to **/mnt/mail** within the container to enable persistent backups of imap servers.\n\n* **/mnt/mail** may be used as backup target.\n* **/mnt/config** will be used as config. Be sure to place a file named **offlineimap.conf** with a valid configuration in here.\n* **/mnt/secret** may be used as folder to get secrets from. You can e.g. place password files in this folder and use them in your config file.\n* **/mnt/log** will be used as log target (if environment variable is set).\n\n## Full example command\n```sh\ndocker run -it -v ~/email-backups/offlineimap-config:/mnt/config -v ~/email-backups/offlineimap-secret:/mnt/secret -v ~/email-backups/offlineimap-mail:/mnt/mail -v ~/email-backups/offlineimap-log:/mnt/log -e MAILLOG=TRUE maxkratz/offlineimap:latest\n```\n\n**offlineimap.conf**\n```sh\n[general]\naccounts = personal-mail\n\n[Account personal-mail]\nlocalrepository = local-personal-mail\nremoterepository = remote-personal-mail\n\n[Repository local-personal-mail]\ntype = Maildir\nlocalfolders = /mnt/mail\n\n[Repository remote-personal-mail]\ntype = IMAP\nremotehost = imap.example.com\nremoteuser = user123\nremotepassfile = /mnt/secret/password.conf\nsslcacertfile = /etc/ssl/certs/ca-certificates.crt\n```\n\n**password.conf**\n```sh\nMyPassword123\n```\n\nPlease notice that this container provides validated CAs in folder shown above.\n\n## Dockerfile\nThe Dockerfile can be found at:\n[https://github.com/maxkratz/docker_offlineimap/blob/main/Dockerfile](https://github.com/maxkratz/docker_offlineimap/blob/main/Dockerfile)\n\n## What gets installed in this container?\nThe following packages are installed within this docker container:\n\n* Some utility packages like locales, bash-completion, ca-certificates etc.\n* [OfflineIMAP](http://www.offlineimap.org/about/) (thats the whole point ...)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxkratz%2Fdocker_offlineimap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxkratz%2Fdocker_offlineimap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxkratz%2Fdocker_offlineimap/lists"}