Run getmail6 on latest Alpine in Docker
services:
getmail6:
image: dachack/getmail6
container_name: "getmail" # choose any name you like
restart: unless-stopped # always restart in case of issues or system reboot
environment:
- GETMAIL_OPTIONS=--verbose #--idle=INBOX
- POLLING_INTERVAL=300
volumes:
- '/opt/appdata/getmail6/getmail6.conf:/getmail/getmailrc'
- '/opt/appdata/mailu/mail/[EMAIL_ADRESS]:/getmail/[EMAIL_ADRESS]' #path to maildir directory of your imap server (e.g. dovecot)
Image can be used in a stack with mailu or mailcow