Hello,

I have this block on my sieve filter:

if not header :matches "X-Spam-Status" "Yes*" {
    redirect "atest@non-existent.tld";
    redirect "info@existent.tld";
}
keep;

when the first redirect fails:

sieve: info: started log at May 12 10:33:21.
error: msgid=<20230512103320.070708@candy>: redirect action: failed to redirect message to <atest@non-existent.tld>: smtp(host.smtp.tld): RCPT TO failed: 550 5.1.1
 <atest@non-existent.tld> recipient rejected (permanent failure).

the second one is not even triggered.

I would like to know if this is an expected behaviour or a misconfiguration on my side.

dovecot-core                    2:2.3.8-4~buster
dovecot-imapd                   2:2.3.8-4~buster
dovecot-lmtpd                   2:2.3.8-4~buster
dovecot-mysql                   2:2.3.8-4~buster
dovecot-pigeonhole-dbg          2:2.3.8-4~buster
dovecot-pop3d                   2:2.3.8-4~buster
dovecot-sieve                   2:2.3.8-4~buster
 
sieve = ~/.dovecot.sieve
sieve_extensions = +editheader
sieve_global_extensions = +vnd.dovecot.pipe
sieve_max_redirects = 15
sieve_pipe_bin_dir = /usr/lib/dovecot/
sieve_plugins = sieve_imapsieve sieve_extprograms
sieve_vacation_default_period = 1h
mail_plugins = notify mail_log quota imap_quota imap_sieve
mail_plugins = notify mail_log quota sieve


Thank you