Re: IMAP IDLE for several mail accounts

Charles Cazabon <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
R. Diez <[email protected]> wrote:
> > IMAP doesn't really have a well-defined concept of a poll. Probably the
> > provider has a limit on the login rate, in which case you might
> > actually be better-off with  multiple IDLE connections.
> 
> Given that the small business has not many users, multiple IDLE connections
> are indeed an option. The trouble is the administrative overhead. I would
> need to write additional scripts to keep several instances of
> getmail/fetchmail running.

It would be a fairly simple set of scripts.  Basically just for each config
file you want to use, run one copy of getmail under a supervisory program
which will restart it if it exits.

> But maybe getmail's author is willing to help? Unfortunately, my scripting
> skills do not extend much further beyond Bash and Perl.

Bash or perl are *more* than sufficient.  If it was me, I would set each
config up as a daemontools service, so that supervise was running to restart
them when they exited, but there are other similar tools with which you could
do something like:

  #!/bin/sh
  for config in ~/.getmail/rc-* ; do
    restart-on-exit getmail [options] --rcfile "${config}" &
  done

> It is true that Yahoo has issues. But changing e-mail addresses is not so
> easy, after so many years.

No, but it gets more difficult the longer you leave it.  Buy yourself a
personal domain, arrange cheap mailhosting, and start switching over to using
it.  Keep the Yahoo address, eventually just forwarding it to your new domain
at some point.

> By the way, the link to the GMANE archive here is broken:

GMANE itself is broken, and has been for a long time.  The archive still
exists, but it only works for some messages etc.  

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.