Howdy,
I have an user with the rule below. Since it's discarding the match first, should it be stop there and don't redirect it to the next rule?
Thanks in advanced,
###
require ["date","relational","vacation"]; # rule:[xxx] if header :contains "from" "icnf.pt" { discard; } # rule:[redir] if true { redirect "jorge@myemail.pt"; stop; }
###
Hi all!
On 15/08/2021 11:46, Jorge Bastos wrote: [...]
I have an user with the rule below. Since it's discarding the match first, should it be stop there and don't redirect it to the next rule?
No, why should it? Put a "stop" after it (like in the second rule).
Thanks in advanced,
###
require ["date","relational","vacation"]; # rule:[xxx] if header :contains "from" "icnf.pt" { discard; } # rule:[redir] if true { redirect "jorge@myemail.pt"; stop; }
MfG, Bernd
Bernd Petrovitsch Email : bernd@petrovitsch.priv.at There is NO CLOUD, just other people's computers. - FSFE LUGA : http://www.luga.at
On 2021-08-15 12:25, Bernd Petrovitsch wrote:
Hi all!
On 15/08/2021 11:46, Jorge Bastos wrote: [...]
I have an user with the rule below. Since it's discarding the match first, should it be stop there and don't redirect it to the next rule?
No, why should it? Put a "stop" after it (like in the second rule).
Bernd,
That makes complete sense, the rules are read from top to bottom, and until they're all processed, i mean, from the start to end, the inbound email still exists, if I put a stop in the 1st the next one's won't be executed.
Thanks for helping me understand it better.
Hi all!
On 15/08/2021 14:25, Jorge Bastos wrote: [...]
Thanks for helping me understand it better.
De nada, you're welcome. My sieve file for mail filtering is 51KB large BTW and looks basically like your stuff up in the thread ...
MfG, Bernd
Bernd Petrovitsch Email : bernd@petrovitsch.priv.at There is NO CLOUD, just other people's computers. - FSFE LUGA : http://www.luga.at
participants (2)
-
Bernd Petrovitsch
-
Jorge Bastos