I found this information over at Mac OSX hints. I started un=sing it over the week end and am loving it. There are some concerns on how it will impact Gmail’s Archiving but since I don’t use that feature it really does not impact me. Let me know if you use this and like it.
From Mac OSX hints
“Within Gmail.com’s web interface, make the following labels (Mail.app treats labels as folders):
Then, within Mail.app’s Accounts Preferences, on the Mailbox Behaviors tab, check/set these things:
- Uncheck “Store draft messages on the server.” (I noticed that Gmail.com erroneously keeps several incremental copies of each message and later deletes them, so I just disabled this option to avoid the problem altogether.)
- Check “Store sent messages on the server” and select your deletion interval — mine is set to one week.
- Uncheck “Store junk messages on the server.”
- Check “Move deleted messages to the Trash mailbox.”
- Check “Store deleted messages on the server” and select your deletion interval — mine is one week.
Then, on the Advanced tab, set IMAP Path Prefix: IMAP — this relates to the labels you made earlier. Finally, in the sidebar (gacked from this post
- Highlight IMAP/Sent in the sidebar and select Mailbox » Use This Mailbox For » Sent.
- Highlight IMAP/Trash in the sidebar and select Mailbox » Use This Mailbox For » Trash.
This workaround does make temporary duplicates of every message you sent and/or deleted, but they only remain duplicates for as long as you set your deletion interval above. I have not noticed any problems using this method so far, especially with correct mail counts and the possibility of deleting one message from Mail.app that deletes the whole thread in Gmail.com.”
In the comments thread there is some advise on using this method on the Spam folder.
“You can also support spam by doing this:
- Add a new label:IMAP/Junck
Add a new filter:
- Has the words: “is:spam” (w/o quotes)
- Next Step >>
- Apply the Labal “IMAP/Junck”
Within Mail.app’s Accounts Preferences, on the Mailbox Behaviors tab, check/set these things:
- Check “Store junk messages on the server.”
- Highlight IMAP/Junck in the sidebar and select Mailbox » Use This Mailbox For » Spam.”