4 lines
83 B

require "fileinto";
if header :contains "X-Spam-Flag" "YES" {
fileinto "Junk";
}