{"id":20092032,"url":"https://github.com/maxkratz/docker_imapgrab","last_synced_at":"2026-04-19T17:02:38.834Z","repository":{"id":143531540,"uuid":"229962076","full_name":"maxkratz/docker_imapgrab","owner":"maxkratz","description":"Imapgrab dockerfile.","archived":false,"fork":false,"pushed_at":"2024-09-15T09:15:54.000Z","size":20,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T03:12:16.797Z","etag":null,"topics":["backup","docker","docker-image","dockerfile","imap","imap-client"],"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":"2019-12-24T15:13:03.000Z","updated_at":"2024-09-15T09:15:57.000Z","dependencies_parsed_at":"2024-09-15T11:32:52.092Z","dependency_job_id":null,"html_url":"https://github.com/maxkratz/docker_imapgrab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkratz%2Fdocker_imapgrab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkratz%2Fdocker_imapgrab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkratz%2Fdocker_imapgrab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkratz%2Fdocker_imapgrab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxkratz","download_url":"https://codeload.github.com/maxkratz/docker_imapgrab/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241533642,"owners_count":19977826,"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":["backup","docker","docker-image","dockerfile","imap","imap-client"],"created_at":"2024-11-13T16:35:37.886Z","updated_at":"2025-10-16T09:05:07.768Z","avatar_url":"https://github.com/maxkratz.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker_imapgrab\n\n[![Build Docker images](https://github.com/maxkratz/docker_imapgrab/actions/workflows/build.yml/badge.svg)](https://github.com/maxkratz/docker_imapgrab/actions/workflows/build.yml)\n\n*Unofficial* imapgrab 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/imapgrab:latest\n```\n\n## Environment variables\nYou can use the following environment variables for customization of this container:\n\n```sh\nMAILHOST # Hostname of the imap server\nMAILUSER # Login-Name (mailbox)\nMAILPASSWORD # Password (mailbox)\nMAILFOLDER # Subfolder for creating the backup\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** within the container to enable persistent backups of imap servers.\n\n* **/mnt/mail** will be used as backup target.\n* **/mnt/log** will be used as log target (if environment variable is set).\n\n## Full example command\n```sh\ndocker run -it -e \"MAILHOST=mail.example.net\" -e \"MAILUSER=user@example.net\" -e \"MAILPASSWORD=secure123\" -e \"MAILFOLDER=mybackup\" -e \"MAILLOG=TRUE\" -v /home/maxkratz/email-backups/:/mnt maxkratz/imapgrab:latest\n```\n\nCreates a backup of all files and folders of the mailbox **user@example.net** with password **secure123** at host **mail.example.net** inclusive logs into subfolder **mybackup**.\n\n## Dockerfile\nThe Dockerfile can be found at:\n[https://github.com/maxkratz/docker_imapgrab/blob/main/Dockerfile](https://github.com/maxkratz/docker_imapgrab/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 git, curl, getmail etc.\n* [IMAPbackup by ralbear](https://github.com/ralbear/IMAPbackup) (thats the whole point ...)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxkratz%2Fdocker_imapgrab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxkratz%2Fdocker_imapgrab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxkratz%2Fdocker_imapgrab/lists"}