[Dovecot] sieve script tracing

Stephan Bosch stephan at rename-it.nl
Mon Jun 6 01:56:00 EEST 2011


On 6/5/2011 10:48 PM, Maciej Uhlig wrote:
> W dniu 2011-06-05 11:37, Stephan Bosch pisze:
>> What is your application?
>
> Actually it's something like this:
>
> >>>
>
> if anyof (
> # example #1
>     allof (
> ...
>         anyof (
> ...
>         )
>     ),
> # example #2
>     allof (
> ...
>         anyof (
> ...
>         )
>     ),
> # example #3
>     allof (
> ...
>         anyof (
> ...
>         )
>     ),
> # example #4
>     allof (
> ...
>     ),
> # example #4a
>     allof (
> ...
>     ),
>
> # example #5
>     allof (
> ...
>     ),
> # example #6
>     allof (
> ...
>     ),
> # example #7
>     allof (
> ...
>     )
> )
> {
> discard;
> }
>
> >>>
>
> I'd like to know which condition was the actual reason of e-mail 
> discarding. I thought about log message.

If you have a sample message, you can use the sieve-test tool for that. 
You can check the individual steps the interpreter takes while 
processing the message. Refer to the man page for more info.

Regards,

Stephan.





More information about the dovecot mailing list