[LBBS-95] mod_mailscript: Add ADDFLAG action
- Develop ADDFLAG action for MailScript - e.g. mark read when moving to trash, etc.
- Add flag support for Sieve as well: https://github.com/InterLinked1/lbbs/blob/master/modules/mod_sieve.c#L221
The net_smtp tooling around this will also need to be extended to support this. It's not that simple because we need to add flags to the filenames while they are in new, before they are moved to cur. Maybe at the same time this is done, we should add support for independently indicating whether messages are \Recent or not?
Unrelated:
- Also should be able to do equivalent of Sieve "if anyof To/Cc recipients notin <list>" e.g. reject
- Add support for
ORconditions - Add better debugging support, i.e. if a rule fails, has a syntax error, is killed, etc. send an email to the user with the error message (we would need to ensure mail loops are prevented)
Comments
You must be logged in to leave a comment.