[imapfilter-devel]New action ... ?

Lefteris Chatzibarbas lefcha at hellug.gr
Mon Jun 17 21:47:02 EEST 2002


On Mon, Jun 17, 2002 at 12:25:43PM -0400, Matej Cepl wrote:
> as a followup to the preceding question, I have one more. I would
> actually prefer for dealing with spam to leave a message where it
> is and just a new header marking it as a spam. Is there an
> action, which could accomplish it? Something like:
> 
>    filter spam or
>      mask header X-AntiAbuse .
>    action add-header X-Label "*** Possible spam!!! ***"

No, an action like this that you are referring does not exist.

There is no way to tell the IMAP mail server to do something like this
(ie. add a header to an existing message). The only way to accomplish
such a thing is to fetch the message, modify it, and append it back to the
mail server's mailbox, something really inneficient in my opinion.

Lefteris



More information about the Imapfilter-devel mailing list