Referencing Issues
[LBBS-54] mod_mailscript: Add RECIPIENT condition
Feature capabilities
- Check for nonexistent folders during Sieve script validation and warn if the referenced mailbox does not exist.
- Ideally, cache the filtering script in memory and don't reparse each invocation by the SMTP server
- Need to be able to move messages to remote IMAP folders (in
.imapremote
). Challenge here is we can't use the imap_client
subsystem of the BBS (or at least we don't now, maybe we should)
- Client-side IMAP filtering, e.g. this kind of thing: https://github.com/lefcha/imapfilter - but fully transparent, using normal Sieve filtering script syntax, just a separate script for post-delivery processing
.forward
should be honored: https://www.man7.org/linux/man-pages/man5/forward.5.html
Pathway:
- Likely need my own library, since libsieve is not being maintained and won't build (will need to be compiled from source to fix bugs and add features). See https://github.com/sodabrew/libsieve/issues/4
- Improve Sieve support
- MailScript: Since mproc->recipient is NULL for outgoing messages (in both mod_mailscript and mod_sieve), add a RECIPIENTS condition, which can be used for outgoing messages
Links:
https://github.com/simta/simvacation/blob/main/simvacation.c
Comments
You must be logged in to leave a comment.