> On 09/12/2024 16:15 EET Poldi via dovecot <dovecot@dovecot.org> wrote: > > > I'm trying to follow the instructions on > "Replacing antispam plugin with IMAPSieve" > > https://doc.dovecot.org/2.3/configuration_manual/howto/antispam_with_sieve/ > > and have encountered the following error > > Dec 09 08:50:27 Error: lmtp(i...@xxx.com)<3161746><wLRLNlOvVmeSPjAAqrKISg>: > sieve: > msgid=<CACxh+MLsBhS7PY48A0KEm6Zpq0NB2a17TfE4=sid-ktsgbc...@mail.gmail.com>: > fileinto action: failed to store into mailbox 'Spam': Mailbox doesn't exist: > Spam > > imapsieve_mailbox1_causes = COPY > imapsieve_mailbox1_name = Junk > imapsieve_mailbox2_before = file:/home/vmail/sieve/global/learn-ham.sieve > imapsieve_mailbox2_causes = COPY > imapsieve_mailbox2_from = Junk > imapsieve_mailbox2_name = *
For one, i think you should use \Junk here, or Spam. Also your Spam mailbox isn't set to auto=create or auto=subscribe, so it won't be autocreated. You can use fileinto :create in your Sieve script to ensure the folder is created. Aki _______________________________________________ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org