I have several imap accounts and want to click one button to empty all junk mail at once. How can I do this?

I currently run Apple Mail on Lion with several IMAP acocunts... I know that there is a right-click option to remove "all deleted" messages  but what If I wanted to do the same for all messages marked at junk in all accounts.  It's really a pain to have to click on each account, select all the junk in the junk folder, press delete over and over.. and then right-click and select "Erase Deleted Items"    Why the heck can't they just have "Erase All Spam Items" also... ??   Or how about "Erase all SPAM and DELETED ITEMS from ALL accounts"   ????

I found the solution and here's how to correct things:
Apple Mail
Mail has a feature, accessible from the Mailbox Behaviors (or Special Mailboxes) tab of the Accounts preferences, that can automatically delete old spam messages from the Junk mailbox. You can use this feature if you tell SpamSieve to put spam messages in the Junk mailbox instead of the Spam mailbox.
(Note: If you do this, be careful not to use the Junk and Not Junk buttons that will appear in Mail when the Junk mailbox is active; you should always use the SpamSieve - Train as Good and SpamSieve - Train as Spam commands instead. You can use the Customize Toolbar… command in Mail’s View menu to remove the Junk button from the toolbar. Also, if you select a message that SpamSieve has classified as spam, Mail will show a banner saying that you marked it as junk. Ignore this.)
Make sure that Mail knows which mailbox is your Junk mailbox by selecting it and choosing Mailbox ‣ Use This Mailbox For ‣ Junk.
To tell SpamSieve to use the Junk mailbox, open Mail’s Preferences window and click on Junk Mail. Make sure that Enable junk mail filtering is checked. Select Move it to the Junk mailbox. If Mail asks whether you want to move all the messages to the Junk mailbox, say No. Next, select Perform custom actions. Then click theAdvanced… button and edit the rule such that the conditions don’t match any messages. For example, use these two conditions:
Message is addressed to my Full Name
Message is not addressed to my Full Name
and set it to If all of the following conditions are met. Click OK to close the sheet. Do not make any further changes to the Junk Mail preferences.
Go to the Rules section of Mail’s preferences and change the SpamSieve rule to move the messages to the Junk mailbox instead of the Spam mailbox. Finally, chooseSpamSieve - Change Settings from Mail’s Message menu and, when prompted, say that the name of your spam mailbox is Junk.

Similar Messages

Maybe you are looking for

  • Using iPhoto slideshows with Apple TV

    I am unable to get a slideshow I made in iPhoto 08 to sync to Apple TV. I imported it into iTunes, and it plays fine from there, but the menu pick to allow it to be formatted for Apple TV is grayed out. I would appreciate help in getting this to work

  • Payload variables not working & Profiles stuck on 'Sending'

    Hi all, I've been trying to use Profile Manager to specify user e-mail accounts on Mac devices (eg, MacBooks) but I've been encountering a couple of problems. I've tried searching around and didn't find any answers. First of all I'm running the lates

  • How to design a template without Template Builder in Word 2007?

    How can i design a template in Word 2007 without Template Builder, since i am using Vista that does not support BI Publisher Desktop. Is it possible to desgin a template in Open Office ?

  • Error Message: JBO-26018

    Error Message: JBO-26018: Cannot insert a new row with no attribute set in entity Kssegtobjbasdat I have the following error. Could you help me to solve the problem. When I run that on JDeveloper it works but when I run on the webserver it doesn't: T

  • Dreamweaver cc launches only with a root user

    My dreamweaver cc don`t launch if i logged in with my standard user. When i try to launch it with a root user, it works. All other apps works fine. Things I already do: - Uninstall and reinstall (with both accounts); - Uninstall > run the creative cl