Barney-15E wrote:
I'm not sure I understand it completely, but I think it keeps the connections open. If you don't use IDLE, I'm assuming that it will open the connections, do what it needs, and close the connections. I guess it doesn't help if you check all at the same time.
No, IDLE is simply a protocol to allow Mail clients to be notified of new mail without having to click refresh or otherwise manually check for it.
You can read more than you probably want to know about it in
RFC 2177.
Clients using IDLE can be terminated by the server after their IDLE timeout; from the RFC:
The server MAY consider a client inactive if it has an IDLE command running, and if such a server has an inactivity timeout it MAY log the client off implicitly at the end of its timeout period. Because of that, clients using IDLE are advised to terminate the IDLE and re-issue it at least every 29 minutes to avoid being logged off.
This still allows a client to receive immediate mailbox updates even though it need only "poll" at half hour intervals.
Leaving IMAP connections open is a
standard behavior that many newer IMAP clients do - I mentioned the reasons why in my earlier reply.
In short, this is
not a Mail.app-specific behavior, and if it's causing issues with your server you'll need to change your email access type to POP, which does just what you want - connects, downloads mail, and disconnects.
The University of Pennsylvania has a nice FAQ page from 2004 that explains some of the differences between the protocols:
POP vs. IMAP (2004)