I?m trying to get a sieve script to move messages into a folder, and to create that folder if it doesn?t already exist. I?m following the example code at: https://doc.dovecot.org/configuration_manual/sieve/examples/ and doing this:> require ["fileinto", "mailbox?]; > ? > fileinto :create ?myfolder?; > ?That results in this error in the log file: error: unknown tagged argument ':create' for the fileinto command What am I doing wrong? rg
> On 19/01/2021 19:45 Ron Garret <ron at flownet.com> wrote: > > > I?m trying to get a sieve script to move messages into a folder, and to create that folder if it doesn?t already exist. I?m following the example code at: > > https://doc.dovecot.org/configuration_manual/sieve/examples/ > > and doing this: > > > require ["fileinto", "mailbox?]; > > ? > > fileinto :create ?myfolder?; > > ? > > That results in this error in the log file: > > error: unknown tagged argument ':create' for the fileinto command > > What am I doing wrong? > > rgWhich version of dovecot/pigeonhole is this? I tested this with 2.3.13 and it worked just fine. Are those quotes mangled by your mailer or do you really have some fancy quotes in your sieve script? Aki