TomEC3

Q: Stop Mail from Syncing GMail 'Spam' Folder

How do I prevent the Mail application from syncing the 'Spam' folder from my GMail account?

 

Don't want these spam messages being downloaded onto my new MacBook Air!

MacBook Air (13-inch Mid 2013), OS X Mountain Lion (10.8.4)

Posted on Jun 17, 2013 1:11 PM

Close

Q: Stop Mail from Syncing GMail 'Spam' Folder

  • All replies
  • Helpful answers

  • by Eric Root,

    Eric Root Eric Root Jun 17, 2013 2:14 PM in response to TomEC3
    Level 9 (72,258 points)
    iTunes
    Jun 17, 2013 2:14 PM in response to TomEC3

    You might check your Gmail account settings using a browser to see if something is set incorrectly there.

     

    You also might want to look at/post on the Gmail support forum.

     

    Gmail Support

  • by Justan Oldfart,Solvedanswer

    Justan Oldfart Justan Oldfart Jun 17, 2013 2:49 PM in response to TomEC3
    Level 2 (333 points)
    Jun 17, 2013 2:49 PM in response to TomEC3

    GMail online web page > Settings > Labels > Spam. Uncheck the "show in IMAP" box. Your GMail spam folder will no longer show up in Mail on your MBA. The folder and spams will still be available online.

  • by wampoma,

    wampoma wampoma Apr 13, 2014 11:57 PM in response to Justan Oldfart
    Level 1 (0 points)
    Apr 13, 2014 11:57 PM in response to Justan Oldfart

    I have the same problem and did the unchecking of the show in IMAP box. Yes the spam folder doesn't show anymore on the computer, but mail is still downloading the spams in the inbox. In fact it seems that Mail is downloading spams from other accounts than the Gmail BEFORE they reach the spam filter of Gmail.

  • by wampoma,

    wampoma wampoma Apr 14, 2014 12:00 AM in response to TomEC3
    Level 1 (0 points)
    Apr 14, 2014 12:00 AM in response to TomEC3

    The Gmail spam filter works very well. But ever since I got my new macbook with Mavericks (which I enjoy beside that spam problem), the sync between Mail and Gmail isn't so smooth anymore. Come guys do something!

  • by Eric Root,

    Eric Root Eric Root Apr 15, 2014 11:55 AM in response to wampoma
    Level 9 (72,258 points)
    iTunes
    Apr 15, 2014 11:55 AM in response to wampoma

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.

     

    Mail/Provide Mail Feedback

     

    You might want to consider starting a new discussion. Since this one is marked solved, less people are likely to look at it. You can link to this one.

  • by MaximilianImaging,

    MaximilianImaging MaximilianImaging Nov 24, 2014 9:12 AM in response to Justan Oldfart
    Level 1 (15 points)
    Nov 24, 2014 9:12 AM in response to Justan Oldfart

    THANK YOU SO MUCH.  This has been driving me nuts for months.

  • by ady702,

    ady702 ady702 Mar 5, 2015 9:14 AM in response to TomEC3
    Level 1 (0 points)
    Mar 5, 2015 9:14 AM in response to TomEC3

    Have they removed the "show in IMAP" box now on GMAIL? I cant find it anywhere!

  • by Eric Root,

    Eric Root Eric Root Mar 6, 2015 7:52 AM in response to ady702
    Level 9 (72,258 points)
    iTunes
    Mar 6, 2015 7:52 AM in response to ady702

    You might want to consider starting a new discussion. Since this one is marked solved, less people are likely to look at it. You can link to this one.


  • by datico,

    datico datico Feb 23, 2016 10:43 AM in response to TomEC3
    Level 1 (4 points)
    Feb 23, 2016 10:43 AM in response to TomEC3

    I followed the instructions but my virus scanner was still finding viruses in the SPAM folder. So I took the following additional steps:

    • Mail > Preferences > Accounts > uncheck Enable This Account
    • Finder > Hard Drive > Users > [my user name] > Library > Mail > V2 > [each IMAP.gmail account folder] > [Gmail].inbox > spam.mbox folder: deleted it. Emptied trash.
    • Quit and re-launched mail.
    • Enabled the account in Mail again.
    • (I also pondered actually deleting the account from Mail altogether, and then re-adding it; that also would probably do it).

    When Mail syncs, now I don't see any SPAM folder syncing activity, and the SPAM.mbox folder has not reappeared in Finder. So I think this finally did the trick.

  • by datico,

    datico datico Feb 23, 2016 11:06 AM in response to datico
    Level 1 (4 points)
    Feb 23, 2016 11:06 AM in response to datico

    Correction! I had been watching the folder on my backup drive so when I realized it and tried it on my regular hard drive, the SPAM folder was recreated.

     

    So I tried again with the delete-account idea:

    • Quit Mail.
    • System Preferences > Internet Accounts
    • Select my gmail account, and click the minus button. I answered to remove it not from all computers but just this one.
    • Finder > Hard Drive > Users > [my user name] > Library > Mail > V2 > IMAP-[username]@imap.gmail.com folder: deleted it and emptied the trash.
    • Enabled the account again in Sys Prefs > Internet Accounts (select it, then check the box for syncing Mail on the right).
    • Re-launched Mail.

     

    When Mail synced this time, it recreated the @imap.gmail.com folder and its subfolders; except for the SPAM folder.  So turning off the account and deleting the @imap.gmail.com folder I presume removed some cached info that was causing it to still remember and sync (and recreate) the SPAM folder on previous attempts.

  • by tdnewton,

    tdnewton tdnewton Apr 18, 2016 10:02 AM in response to datico
    Level 1 (4 points)
    Apr 18, 2016 10:02 AM in response to datico

    You can actually just get away with unchecking "mail" from the sync list. Bit less intrusive.

     

    I also found the path you gave to vary slightly - ~/Library/Mail/V3/random-guid-id/[Gmail].mbox/Spam.mbox - still eminently discoverable, however. This was on El Capitain, and I realise this was on the ML forum...

     

    Another fun gotcha - my Mac was able to sync IMAP despite IMAP being disabled on my gmail account. I had to enable IMAP in order to see the "hide" checkboxes, and uncheck "Spam". I am now contemplating disabling it again, just for fun.

     

    Now for a life with 99% less grinching from Sophos