pdfbrazerzkidai.blogg.se

Spamsieve junk folder
Spamsieve junk folder





spamsieve junk folder
  1. #SPAMSIEVE JUNK FOLDER UPDATE#
  2. #SPAMSIEVE JUNK FOLDER MANUAL#

Set theMessage to item i of messages_list Repeat with i from 1 to number of items in messages_list display dialog "Number of items" & NumItems Set NumItems to number of items in messages_list

spamsieve junk folder

Set messages_list to every message of mailbox mailboxName in thisAccount

spamsieve junk folder

Set mailboxName to the name of mailbox "Spam" in thisAccountĭisplay dialog "Processing folder " & mailboxName & " in account " & accountName Set accountName to the name of thisAccount Set thisAccount to account "Your IMAP or POP Account Name" Set ShowMailboxesProgress to false - determines if you want the "Processing" box displayed for each mailbox Set StaleTime to 30 - days old the message must be before moved or deleted If you want to just delete them, leave it blank.

#SPAMSIEVE JUNK FOLDER UPDATE#

(And for the record, I know very little about AppleScript, so I’ll update this code as soon as the wizards out there point out the problems/improvements that surely exist.) set DestinFolderName to "" - mailbox to move messages to. In case you’re interested, here’s the AppleScript. I setup a Keyboard Maestro task to run this script each morning at 6:00 am, and it’s working great! It sends a message to Growl, alerting me to the number of messages that were deleted.It cleans only one folder, my Spam folder, rather than a list of folders.I hacked and simplified the script as follows: What I really wanted was an AppleScript that I could schedule to run periodically from Keyboard Maestro, that would automatically delete messages in my Spam folder older than 30 days.ĭoing some Googling, I found this article at Macworld, that referenced an AppleScript for generally moving messages between folders.

#SPAMSIEVE JUNK FOLDER MANUAL#

The SpamSieve manual describes one option for doing this, but it involves renaming your Spam folder, re-enabling Mail’s junk mail feature, and setting some advanced options. The only feature I found missing in this setup, with respect to Apple’s own junk mail filter, was the ability to automatically delete old spam messages after a certain number of days. I’m super-happy with the setup, as it’s keeping my inbox spam-free on my MacBook Air, iPhone and iPad. Recently, I blogged about setting up my own “server-side” spam filtering system based on a home-based iMac running Mail with SpamSieve.







Spamsieve junk folder