From: Matthias A. <mat...@gm...> - 2023-07-26 19:41:28
|
Am 26.07.23 um 16:30 schrieb ns...@gm...: > 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. |