[Dovecot] Allowing clients to test their Sieve scripts

Sean Kamath kamath at moltingpenguin.com
Fri Jun 21 09:18:39 EEST 2013


On Jun 19, 2013, at 1:00 AM, Steffen Kaiser <skdovecot at smail.inf.fh-brs.de> wrote:
> On Fri, 14 Jun 2013, Frerich Raabe wrote:
>> I then usually just run the sieve-test binary (part of the Pigeonhole distribution) and send them the output. However, I was wondering - is there maybe a way for them to try it themselves? Like, maybe a tiny web server which just prints a form asking for a mail file and a sieve script, and then it runs sieve-script and prints the output of that? I wonder how other people do that.
> 
> you are not referring to syntax errors, do you?
> 
> Otherwise, this seems to be a nice idea to let users actually _test_ their scripts. However, I wonder how educated they are, in order to paste in a correct "mail file" incl. header and the like.

Better would be to let them submit a message from a folder, or all messages in a folder.  I.e., "run Sieve on folder 'TestSieve'", then users can just drag messages there and test it (or, if I had that functionality, copy them).

Just a thought.

Sean



More information about the dovecot mailing list