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:
>
> Unfortunately, on both fetchmail and getmail, IMAP IDLE only works for one
> mailbox.
> 
> Is there another way around this IMAP IDLE limitation? I do not really want
> to spawn one fetchmail or getmail process per mailbox. Our mail provider has
> also a limit on how often you can poll for new e-mails.

Well, if you want low-latency mail deliveries, the proper solution is to have
your mail pushed to you via SMTP (either through a public MX record, or via
private arrangement with your mailhost) rather than polling via POP or IMAP
(and IMAP IDLE is really only halfway a "push" solution).  Perhaps your
provider offers this service?

Otherwise, the only way to get multiple recipients' mail with a single IMAP
connection would be to have a domain mailbox, where mail for all recipients in
a domain goes into a single IMAP mailbox, and then you separate it out after
retrieval and before final delivery.  getmail has support for this, though
there are some technical requirements on the provider's implementation of
domain mailbox.

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.