Sieve Rule help

Bernd Petrovitsch bernd at petrovitsch.priv.at
Sun Aug 15 14:25:41 EEST 2021


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 at myemail.pt";
> stop;
> }

MfG,
	Bernd
-- 
Bernd Petrovitsch                  Email : bernd at petrovitsch.priv.at
     There is NO CLOUD, just other people's computers. - FSFE
                     LUGA : http://www.luga.at


More information about the dovecot mailing list