From mboxrd@z Thu Jan 1 00:00:00 1970 From: marcus-sup@bar-coded.net (Marcus Williams) Date: Tue, 06 Nov 2007 10:25:04 +0000 Subject: [sup-talk] [PATCH] Fix for before-add-message hook Message-ID: <1194344471-sup-8807@tomsk> Hi - Last one for now. This fixes the hook for filtering messages so that messages you tag with spam/killed/deleted in the hook dont get displayed by the inbox. Just to confirm something: if you want to tag using one of these labels you need to use the ruby symbol in the hook :spam, :killed and :deleted Eg: message.add_label :spam if message.raw_header =~ /X-Spam-Flag: YES/ Marcus -------------- next part -------------- A non-text attachment was scrubbed... Name: before-add-message-hook Type: application/octet-stream Size: 1117 bytes Desc: not available Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071106/07ad0c18/attachment.obj