Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Stop Mail.app from caching too many IMAP folders' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Stop Mail.app from caching too many IMAP folders
Authored by: carlivar on Jan 10, '06 09:45:49PM

I've modified this script to do nothing but change IMAP LIST commands sent by Mail.app to LSUB instead. LIST lists all folders; LSUB only lists subscribed folders. So, run Thunderbird or another email app to set your folder subscriptions, then use Mail.app normally with this script.

I've sent my changes to Lars and hopefully this will be a command-line option in his excellent script soon.



[ Reply to This | # ]
Stop Mail.app from caching too many IMAP folders
Authored by: carlivar on Feb 06, '06 12:17:41PM
Stop Mail.app from caching too many IMAP folders
Authored by: tcbeatie on Apr 14, '06 10:54:06AM

first of all, thanks to you and Lars for trying to fix this. I've been becoming more and more frustrated with Apple.

second, I tried to do this, and have not been successful. I've got my mail sitting on a UNIX server running IMAP. I have local filtering on the server using procmail rules. my mailbox is under /var, and I have sorted mailboxes under ~/Mail.

Mail.app pulls up not only the /var mailbox, but everything in my home directory and below, including dotfiles, caches, etc. I want to filter out everything except the ~/Mail directory.

I installed your script, I left the local port as 1143, putting in my server as appropriate. I then used Thunderbird per your suggestion, connecting to localhost:1143, and selected my subscriptions.

I then opened Mail.app, reconfigured it to use localhost:1143, and then at first it didn't appear any different, all of the homedir files were there. I tried quitting and restarting, and now it crashes every time after it asks for my IMAP password.. I've got a crash report if that helps, but don't want to post it since it's long.. help?



[ Reply to This | # ]
Stop Mail.app from caching too many IMAP folders
Authored by: brunchboy on Apr 24, '06 12:52:15PM

You don't need to do any external filtering or subscription to handle this. Mail can already cope. You just need to tell it to use an IMAP mailbox prefix of "Mail".

Edit the account, go to the Advanced tab and type Mail into the IMAP Path Prefix: text box.



[ Reply to This | # ]