Archiving rules for mail headers
Issue #548
resolved
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)
-
repo owner -
repo owner - changed status to resolved
- Log in to comment
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.