<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr"><br></div>
<div>
<br>
<div>Hi,
<p>i have a question if someone can help me with this.</p>
My sieve file configuration is this:<br>
<p><br>
</p>
<pre>cat enabled_script.sieve
require ["fileinto"];
if header :contains "subject" "@<a href="http://ggmaail.com" target="_blank" rel="noreferrer">ggmaail.com</a>" {
fileinto "INBOX.Spam";
}
elsif header :contains "subject" "TW" {
discard;
elsif header :contains :comparator "i;octet" "X-Spam-Status" "autolearn=spam" {
discard;
}
</pre>
<p>When the condition is true and a mail is discard i can not
discriminate in the logs what was the reason. <br>
</p>
<p> 1) "subject" "@<a href="http://ggmail.com" target="_blank" rel="noreferrer">ggmail.com</a>" or 2) "subject" "TW"</p>
<p><br>
</p>
<p>I can only see this message over the logs:<br>
</p>
<pre>February 15th 2021, 17:39:33.000
lmtp(<a href="mailto:mail@mail.domain" target="_blank" rel="noreferrer">mail@mail.domain</a>)<27188><kJhTEMWjKmA0agAAaUS+oQ>: sieve: msgid=<a href="mailto:001701d703b9$234a8b80$69dfa280$@correo.es" target="_blank" rel="noreferrer"><001701d703b9$234a8b80$69dfa280$@correo.es></a>: marked message to be discarded if not explicitly delivered (discard action)
(Note: i changed the domain names)
</pre>
<p>My question is: Can i setup or add any option in my sieve
filter for more info about the discard reason ??? Any rules
together with the discard option ? <br>
</p>
<p><br>
</p>
<p>I am out of idea about it. Thanks in advanced!!!<br>
</p>
</div>
</div>
</div></div>