On 25. Jan 2025, at 0.20, Bjoern Franke via dovecot <dovecot@dovecot.org> wrote:
> 
>> Is there an extra = here or just copy&paste mistake?
> 
> The mistake was also within the config, after fixing it it works now. Maybe 
> an error should be thrown when a mistake like "= =" appears?

Maybe the value intentionally begins with "= ", in which case that would need 
to have some way of being written. Doesn't seem like a common enough of a 
problem to add extra complexity.

> And I stumbled upon another thing: What would be the correct version of
> 
> imapsieve_mailbox1_name = Junk
> imapsieve_mailbox1_causes = COPY
> imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve
> 
> for 2.4?
> 
> https://doc.dovecot.org/2.4.0/core/summaries/settings.html#sieve_script_cause 
> mentions a script cause, but I didn't find any setting for the mailbox_name.

mailbox Junk {
  sieve_script before {
    type = before
    cause = COPY
    path = /usr/lib/dovecot/sieve/report-spam.sieve
  }
}

_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to