sieve trace directory: error

Stephan Bosch stephan at
Sat Mar 31 11:29:58 EEST 2018

Op 3/31/2018 om 9:27 AM schreef André Rodier:
> Hello,
> I am using a custom directory for sieve logs and trace and it apparently
> generate an error, in some corner case.
> - I have an IMAP global sieve script, that is run when appending emails
> into the "Archives" folder.
> - I have Thunderbird configured to archive emails by year
> When archiving an email, for instance in "Archives/2018", I often have
> an error message like this:
> Mar 31 08:03:02 homebox dovecot[14078]: imap(andre): Error: sieve:
> trace:
> creat(/home/users/andre/mails/sieve/logs//andre.Archives/2018.3.20180331-080302.14235.5.trace)
> failed: No such file or directory
> I have this configuration (amongst) for sieve logs:
>   sieve_user_log = ~/mails/sieve/logs/
>   sieve_trace_dir = ~/mails/sieve/logs/
>   sieve_trace_level = commands
>   sieve_trace_debug = yes
>   sieve_trace_addresses = yes
> Did I a misconfigured something?

This should fix the trace directory problem:
I still need to create some CI tests for this and it needs some internal
review before it will be merged in Pigeonhole core.

Also, I notice that your sieve_user_log setting points to a directory.
That needs to be a file, otherwise it will not work.



More information about the dovecot mailing list