Micheal, just for your information: "stop;" stops the whole script at
this very line, which means no other rule will be applied on this
message anymore. Most of the time this is desired. Otherwise "elsif"
(and "else" as a catch-all) is your friend.
require ["fileinto"];
# rule:[check if either
On 2019-03-07 02:52, Michael Goth via dovecot wrote:
> require ["fileinto"];
> # rule:[SPAM]
> if header :contains "subject" "SPAMSPAM"
> {
> fileinto "SPAM";
> }
> # rule:[SPAMSPAM]
> if header :contains "subject" "SPAM"
> {
> fileinto "MaybeSPAM";
> }
>
>
> But when I receive a message
Hi,
we're running Doveocot 2.3.4.1 with Pigeonhole, from repo.webflow.org.
As far as I understand the RFC for 'fileinto', the following Sieve
script should move a message either into the folder "SPAM" or "MaybeSPAM":
require ["fileinto"];
# rule:[SPAM]
if header :contains "subject" "SPAMSPAM