I started using spamsieve about 2 weeks ago. At first, it wasn’t any different from the apple mail without spamsieve. The primary issue was that I have two sets of email accounts, one set that are at&t and one that are charter. The att email accounts each had a folder called “Bulk” where att pre-filtered suspected spam that can’t be deleted or renamed. Their filter is good, catching spam, but it leaved it in the various bulk mailboxes vice the central junk folder. Spamsieve did not look at these messages so I would have to select them and manually run spamsieve to both train and move them so they could be deleted rather than trashed. The bulk of these were in the ATT mailboxes so I modified the remote training script to look for folders named “bulk” vice “TrainSpam” and that worked; spamsieve filtered them appropriately and sent them to the Junk folder. However, Charter.net email accounts have a similar mailbox but it is called “Junk Mail”. Again, spamsieve does not review messages in these folders.
Hence, I am looking to adapt the remote training script to look at folders called bulk and folders called Junk Mail and consider either a TrainSpam surrogate.
I am not good at apple script but it seems to me I should be able to copy the
" set _messages to my messagesFromMailbox(“Bulk”, _account)
repeat with _message in _messages in the trainMessagesInAccount(_account) routine and paste it under the first routine with a mailbox name of “Junk Mail” vice Bulk and have it check both mailbox names. However, when I did that, it started creating “Junk Mail” mailboxes in all the at&t accounts. I stopped it before I could see what it was add to the charter accounts.
So is there a way to keep it from creating a mailbox if it doesn’t find a “bulk” or “junk mail” mailbox in an account? or is there a more elegant way to do this? or should I just let it create the mailboxes so it can check them each time?