How do I stop multiple instances of getmail from running at the same time?
getmail has no problems running multiple instances in parallel, though you shouldn’t attempt to use the same getmail rc file from two different instances at the same time. If you need to prevent two instances of getmail from running simultaneously, use any standard Unix method of providing a mutex for this purpose. One example would be to run getmail under a program like setlock (part of the daemontools package).