Re: IMAP Idle in Daemon mode as non-root user
[email protected] Thu, 27 Jul 2023 08:10:24 +0200
| Newsgroups | gmane.mail.fetchmail.user |
|---|---|
| Message-ID | <trinity-086cc7ac-8457-4ce6-ac55-f329836f5833-1690438224110@msvc-mesg-gmx024> |
The plan ist to put Fetchmail between my mailserver (mailcow) and the Internet to collect mails from mailboxes without delay. Fetchmail shall run on a Debian system. > Gesendet: Mittwoch, den 26.07.2023 um 21:41 Uhr > Von: "Matthias Andree" <[email protected]> > An: [email protected] > Betreff: Re: [Fetchmail-users] IMAP Idle in Daemon mode as non-root user > > Am 26.07.23 um 16:30 schrieb [email protected]: > > I would like to have multiple Fetchmail instances running on machine. All instances shall be started directly on system start-up and running all the time until the system is shutdown. > > Each of the instances shall hold one IMAP Idle connection. > > > > Is using the daemon mode the correct way or would it only be required to start/call each Fetchmail instance once in start-up and it will continue to run? > > Daemon mode is not a supervisor, it's a simple way to have fetchmail > delay and re-poll at the end of a loop. > > > What about errors (e.g. interruptions of the IMAP connection), will fetchmal simply continue its processes or will they abort and have to be restarted? > > How to ensure that Fetchmal runs forever and does never close a process? > > ... that you cannot reach with fetchmail alone, you will need use an > external supervisor process which itself is privileged to not be killed > by the system. fetchmail does not have supervisor code. > > The --daemon would apply should fetchmail fall out of the --idle in a > more or less normal manner, but if you want robustness, an external > supervising process is advised. You haven't mentioned about your OS, so > we don't know what's already there and possibly suitable. > > > > _______________________________________________ > Fetchmail-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fetchmail-users