[prev in list] [next in list] [prev in thread] [next in thread]
List: dovecot
Subject: Sieve with several redirects stops if one redirect fails
From: Matteo_Staglianò <matteo.stagliano () register ! it>
Date: 2023-05-12 13:47:35
Message-ID: 550777ca-e2b6-1ce8-04c7-4fb08c96e335 () register ! it
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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
[Attachment #5 (text/html)]
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hello,<br>
<br>
I have this block on my sieve filter:<br>
<br>
<code>if not header :matches "X-Spam-Status" "Yes*" \
{</code><code><br> </code><code> redirect <a \
class="moz-txt-link-rfc2396E" \
href="mailto:atest@non-existent.tld">"atest@non-existent.tld"</a>;</code><code><br>
</code><code> redirect <a class="moz-txt-link-rfc2396E" \
href="mailto:info@existent.tld">"info@existent.tld"</a>;</code><code><br> \
</code><code>}</code><code><br> </code><code>keep;</code><br>
<br>
when the first redirect fails:<br>
<br>
<code>sieve: info: started log at May 12 10:33:21.</code><code><br>
</code><code>error: msgid=<20230512103320.070708@candy>:
redirect action: failed to redirect message to
<a class="moz-txt-link-rfc2396E" \
href="mailto:atest@non-existent.tld"><atest@non-existent.tld></a>: \
smtp(host.smtp.tld): RCPT TO failed: 550 5.1.1</code><code><br>
</code><code> <a class="moz-txt-link-rfc2396E" \
href="mailto:atest@non-existent.tld"><atest@non-existent.tld></a> recipient \
rejected (permanent failure).</code><br>
<br>
the second one is not even triggered.<br>
<br>
I would like to know if this is an expected behaviour or a
misconfiguration on my side.<br>
<br>
<code>dovecot-core \
2:2.3.8-4~buster</code><code><br> \
</code><code>dovecot-imapd \
2:2.3.8-4~buster</code><code><br> \
</code><code>dovecot-lmtpd \
2:2.3.8-4~buster</code><code><br> \
</code><code>dovecot-mysql \
2:2.3.8-4~buster</code><code><br>
</code><code>dovecot-pigeonhole-dbg \
2:2.3.8-4~buster</code><code><br> \
</code><code>dovecot-pop3d \
2:2.3.8-4~buster</code><code><br> \
</code><code>dovecot-sieve \
2:2.3.8-4~buster</code><code><br> </code><code> </code><code><br>
</code><code>sieve = ~/.dovecot.sieve</code><code><br>
</code><code>sieve_extensions = +editheader</code><code><br>
</code><code>sieve_global_extensions = +vnd.dovecot.pipe</code><code><br>
</code><code>sieve_max_redirects = 15</code><code><br>
</code><code>sieve_pipe_bin_dir = /usr/lib/dovecot/</code><code><br>
</code><code>sieve_plugins = sieve_imapsieve sieve_extprograms</code><code><br>
</code><code>sieve_vacation_default_period = 1h</code><code><br>
</code><code>mail_plugins = notify mail_log quota imap_quota
imap_sieve</code><code><br>
</code><code>mail_plugins = notify mail_log quota sieve</code><code><br>
</code><code><br>
</code><br>
Thank you<br>
<br>
</p>
</body>
</html>
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-leave@dovecot.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic