Archiving rules for mail headers

Issue #548 resolved
Former user created an issue

It would be nice to have archiving rules which check mail header fields. As example i want to filter out all mail with the header line "X-No-Archive: Yes"

Comments (2)

  1. Janos SUTO repo owner

    Piler already has something similar. It discards emails with headers "Received: by piler" or "X-piler-id:" So if you could rewrite the header line then it were solved. Do you think it's possible?

    update:

    Grab the master branch, recompile it, then add the following to piler.conf:

    piler_header_field=X-No-Archive: Yes

    Then the parser will make the message discarded.

  2. Log in to comment