Sign inSign up

nikarh/fileserver-imapsync

By nikarh

Updated 3 days ago

Image
0

6.3K

nikarh/fileserver-imapsync repository overview

nikarh/fileserver-imapsync

GitHub GitHub Repo stars Docker Image Version (latest semver)

An alpine image with imapnotify and mbsync, configured specifically to backup emails from Gmail using OAUTH2.

🏗️ Usage

imap.env

[email protected]
CLIENT_ID="oauth client id"
CLIENT_SECRET="oauth secret"
REFRESH_TOKEN="oauth refresh token"

docker-compose.yaml

version: '3.8'
secrets:
  IMAP_AUTH:
    file: imap.env
services:
  imapsync:
    image: nikarh/fileserver-imapsync
    user: 1000:1000
    environment:
      # Mail will be synced to /home/${USERNAME}/mail
      # Useful if the volume is also used with dovecot and multiple user mailboxes
      USERNAME: test
    volumes:
      - mail-data:/home
    secrets:
      - IMAP_AUTH

⚠️ Automated build

This docker image is rebuilt automatically weekly with latest alpine base image and latest dependencies. This can lead to broken images in case the packages installed are not backward compatible in their configs or behavior.

Tag summary

Content type

Image

Digest

sha256:da48f7324

Size

10.9 MB

Last updated

3 days ago

docker pull nikarh/fileserver-imapsync