Using getmail with IMAP IDLE in Docker
Kia Niskavaara <[email protected]> Sun, 18 Dec 2022 08:53:31 +0100
| Newsgroups | gmane.mail.getmail.user |
|---|---|
| Message-ID | <CALed1ew-q1ju98FsaqHySzSS7nwE6T8baftebULmHqVDBFhmyg@mail.gmail.com> |
--00000000000063a30005f01580a3 Content-Type: text/plain; charset="UTF-8" I'm currently running getmail with IMAP IDLE as a systemd service. I want to move my project to a Docker container. But it seems systemd is not recommended with Docker. What I need is getmail to restart if it stops waiting. For example if there is a timeout or a problem with the Internet connection. Is there a solution to this, without using systemd? I would prefer not to setup polling using a cronjob. Thanks! --00000000000063a30005f01580a3--