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


Click here to return to the 'Ignore selected IMAP folders using Mail.app' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Ignore selected IMAP folders using Mail.app
Authored by: geofflane on Apr 24, '03 12:44:54PM

In this case the idea is to ignore a single folder on the server and not the whole account.

The is a total hack of course, since IMAP has the notion of 'subscribed' folders which would allow you to choose which ones you want to view and which ones you want to ignore.

I encourage everyone who uses IMAP to request this from Apple (I did).



[ Reply to This | # ]
Ignore selected IMAP folders using Mail.app
Authored by: Greedo on Apr 24, '03 01:19:49PM

I also suggest that you ask Apple to add the ability to check all your IMAP folders when you check for new mail.

AFAICT, Mail.app only checks the Inbox ... although it will check subfolders if you go into them, as the original author suggested.

Oh, and if you need to change your subscribed folders (which you can't do within Mail.app), you can probably look for a hidden file called .mailboxlist in your home directory on the IMAP server, and change it. However, that file is used (I think) by all your IMAP clients ... so it might not be easy to subscribe to one set of folders from your work machine, and another set from your home machine.



[ Reply to This | # ]
You can say that again
Authored by: rootpoot on Apr 24, '03 02:24:13PM

The fact that Mail.app only checks my Inbox has been driving me nuts since day one. I've complained to Apple about it with every new release of Mail.app, but so far they've ignored my pleas.

If Mailsmith ever gets IMAP support, I'm all over it.



[ Reply to This | # ]
Ignore selected IMAP folders using Mail.app
Authored by: mike3k on Apr 24, '03 11:29:39PM

Unfortuately Mail.app ignores the .mailboxlist file and displays
all IMAP folders whether you subscribe to them or not.



[ Reply to This | # ]
Ignore selected IMAP folders using Mail.app
Authored by: jaysoffian on Apr 25, '03 03:11:26AM
Here's a work-around to the fact that Mail.app doesn't check all the folders. Save the following applescript as an application using the script editor:

on checkMail()
	tell application "Mail"
		set everyAccount to every imap account
		repeat with eachAccount in everyAccount
			tell eachAccount
				set include when getting new mail to false
				set include when getting new mail to true
			end tell
		end repeat
	end tell
end checkMail

on run
	checkMail()
end run

on idle
	checkMail()
	return 60
end idle

I run this whenever Mail.app is running. This causes every imap account to scan all the folders once a minute. I'm using it with three imap accounts succesfully.

One thing I've noticed though is that the INBOX's sometimes don't update when using just this script, so you may have to run this script in addition to telling Mail.app to check your mail on a regular basis.

---
j.


[ Reply to This | # ]

Ignore selected IMAP folders using Mail.app
Authored by: rotaiv on Apr 25, '03 02:26:36PM

I compiled this script as an Application and it works just great. I
had to select "Application" under "Format" and click the "Stay
open" checkbox for it to work correctly.

For those who want to use this script on a regular basis, you
could remove the Mail.App icon from your Dock and replace it
with this script. This script will automatically start the Mail.app
application, check all IMAP folders and continue to run in the
background.



[ Reply to This | # ]
Ignore selected IMAP folders using Mail.app
Authored by: mahakali on Apr 24, '03 04:01:29PM

Gotcha! I have actually requested this feature to sync only inbox
or selected folders (like in Entourage) a while back. It's time
consuming to wait it to sync them all (and who the heck cares
about syncing the Trash & Junks folders.)



[ Reply to This | # ]