It shows there is both a typo in the description of the 
autocreate_sieve_script_compile option and itsdocumentation hasn't been updated 
either.

The typo is "autocreate_sieve_compiledscript" where it means 
"autocreate_sieve_compiled_script".

And: the "autocreate_sieve_compiled_script" option has been deprecated in favor 
of "autocreate_sieve_script_compiled".
https://github.com/cyrusimap/cyrus-imapd/blob/master/lib/imapoptions#L385

Using the autocreate_sieve_script_compiled option should work.

On Thu, Apr 4, 2024, at 12:11 PM, Rainer Ruprechtsberger wrote:
> autocreate_sieve_script_compiled and autocreate_sieve_compiledscript are 
> not the same parameter..
> 
> autocreate_sieve_script_compile: 0
>    If  set  to yes and no compiled sieve script file exists, the sieve
>    script which is compiled on the fly will be saved in the file name
>    that autocreate_sieve_compiledscript option  points to. In order a
>    compiled script to be generated, autocreate_sieve_script and
>    autocreate_sieve_compiledscript must have valid values
> 
> I did try with
> 
> autocreate_sieve_script: /etc/cyrus/spam.sieve
> 
> and no other option and it did not work, so I added parameter to compile 
> it - thinking that maybe it's necessary.
> 
> However no difference..
> 
> 
> On 4/4/24 11:35, Marco Moock wrote:
> > Am 04.04.2024 schrieb Rainer Ruprechtsberger
> > <[email protected]>:
> > 
> >> autocreate_sieve_script: /etc/cyrus/spam.sieve
> >> autocreate_sieve_script_compile: yes
> >> autocreate_sieve_compiledscript: spam
> > 
> > https://www.cyrusimap.org/imap/concepts/features/automatic-creation-of-mailboxes.html
> > 
> > autocreate_sieve_script_compiled: <none>
> > 
> > The full path of a file that contains a compiled in bytecode
> > sieve script. This script automatically becomes a user's
> > initial default sieve filter script. If this option is not
> > specified, or the filename doesn't exist then the script
> > defined by autocreate_sieve_script is compiled on the fly and
> > installed as the user's default sieve script
> > 
> > Are you sure "spam" is the right full path?
> > Do you want both options?
> 
> 
> *Attachments:*
>  • smime.p7s

------------------------------------------
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/T433432d9dd58c6b3-Mf4c903adfb6c43aaaf237f69
Delivery options: https://cyrus.topicbox.com/groups/info/subscription

Reply via email to