Closed wiktor-k closed 2 years ago
Hi, is there anything I could do to help with merging this PR?
Hi Wiktor, thanks for the contribution. Could you please explain the motivation behind this change? I assume it may one of these two cases:
If it's the first case, then sadly it will not affect the way ProtonMail handles fileinto
as this library is only used to parse sieve, but not act on the parsing results. We are not planning to work on this feature any time soon.
Have a nice day! Donatas
Hi @donataso! 👋.
Fortunately this is the second case: I'm using this library to validate my sieve scripts that I'm using with Dovecot. I've found out that the library fails to parse one of my scripts and thought I could extend it (since this is open source!). Libsieve is great for linting scripts in CI for me so I hope it won't be a problem to merge this for you (as PM is not supporting this extension).
Have a nice day too!
Looks good then, thanks for the improvement.
Thanks for your time!
This patch adds
:create
argument tofileinto
through themailbox
extension.See: https://www.rfc-editor.org/rfc/rfc5490.html#section-3.2