{"action":"opened","issue":{"url":"https://api.github.com/repos/jens-maus/yam/issues/419","repository_url":"https://api.github.com/repos/jens-maus/yam","labels_url":"https://api.github.com/repos/jens-maus/yam/issues/419/labels{/name}","comments_url":"https://api.github.com/repos/jens-maus/yam/issues/419/comments","events_url":"https://api.github.com/repos/jens-maus/yam/issues/419/events","html_url":"https://github.com/jens-maus/yam/issues/419","id":149338475,"number":419,"title":"The trash folder shouldn't be spam checked, IMHO.","user":{"login":"jens-maus","id":5887769,"avatar_url":"https://avatars.githubusercontent.com/u/5887769?v=3","gravatar_id":"","url":"https://api.github.com/users/jens-maus","html_url":"https://github.com/jens-maus","followers_url":"https://api.github.com/users/jens-maus/followers","following_url":"https://api.github.com/users/jens-maus/following{/other_user}","gists_url":"https://api.github.com/users/jens-maus/gists{/gist_id}","starred_url":"https://api.github.com/users/jens-maus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jens-maus/subscriptions","organizations_url":"https://api.github.com/users/jens-maus/orgs","repos_url":"https://api.github.com/users/jens-maus/repos","events_url":"https://api.github.com/users/jens-maus/events{/privacy}","received_events_url":"https://api.github.com/users/jens-maus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-19T03:30:18Z","updated_at":"2016-04-19T03:30:19Z","closed_at":null,"body":"**Originally by _AmigaPhil@scarlet.be_ on 2013-09-09 17:52:15 +0200**\n\n___\n## Problem\nNew mails in the trash folder are scanned like other folders (internal spam checker), and mails are moved to the spam folder when there is a match. This does not help when mails are already decided to be deleted. (By default, messages in the trash folder are deleted on Yam exit.)\n\n## Analysis\nI made a test with an external spam checker (SpamFryer.yam) configured as a \"After download\" event. Three mails were spam and immediately moved to the trash folder, as expected.  But just after that process, Yam moved one of these mail from the trash folder to the spam folder.\n\n## Enhancement recommendation\nYam should ignore the trash folder when checking for spam on new messages.\n"}}