Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Add regular expression junk filtering to Mail.app' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Add regular expression junk filtering to Mail.app
Authored by: fortepianissimo on Nov 29, '03 09:46:35PM

Ok I think I might have found what's going wrong - for people having trouble with POP accounts (re-downloading the junk mails): please open your ~/Library/Scripts/junkMatcher/junkMatcher.scpt file (double-click on it), and remove the line "delete theMsg" from the script. Let it run for a while and tell me if there are any duplicated/strayed junk messages.

The reason why "delete theMsg" is there even when there is a statement "move theMsg ..." above it, is at some point in time I found that when Mail.app moves some messages to the junk mailbox, it still leaves a copy behind in the Inbox! Since this only happens to SOME messages, there would be some messages that are really moved away and there's no message left in the Inbox to be deleted, which might trigger an error in the script. And Mail.app may refuse to engage the subsequent actions (like removing a message from your POP server) if any error happens during the rule execution...

This is my theory (and I have some limited evidence this is the case). So let's do this check folks...



[ Reply to This | # ]
Add regular expression junk filtering to Mail.app
Authored by: fortepianissimo on Nov 29, '03 11:10:38PM

ok it seems working, but the correct solution should be:

try
delete theMsg
end try

instead of just removing the "delete theMsg" line.

I just put up a new version (0.52). This has many other under-the-hood enhancements, and should fix this re-download-mails-from-POP problem now. Let me know if you still find problems.



[ Reply to This | # ]
Add regular expression junk filtering to Mail.app
Authored by: c-o2 on Nov 30, '03 03:17:15PM

Just download .52 and still the same problem after a quick check. Will do a more thorough check later on, but seems the same problem.



[ Reply to This | # ]