Sieve fileinto copies messages instead of moving them

Michael Goth mg at webflow.de
Thu Mar 7 09:52:28 EET 2019


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"
{
	fileinto "SPAM";
}
# rule:[SPAMSPAM]
if header :contains "subject" "SPAM"
{
	fileinto "MaybeSPAM";
}


But when I receive a message with subject "SPAMSPAM", the message turns 
up in "SPAM" and "MaybeSPAM". Is this expected behaviour?


Thanks!

   Michael



-- 
Michael Goth

.webflow GmbH

Geschäftsführer: Andreas Schrei
Wasserburger Straße 4
D - 83352 Altenmarkt a. d. Alz

Amtsgericht Traunstein HRB 18537

E-Mail:   mg at webflow.de
Tel:      +49 (0) 8621 - 99989 - 26
Fax:      +49 (0) 8621 - 99989 - 28
Web:      www.webflow.de


More information about the dovecot mailing list