On Thu, 2024-04-25 at 14:36 +1000, Nick Urbanik via dovecot wrote:
> On Tue, 2024-04-23 at 09:42 +1000, Nick Urbanik via dovecot wrote:
> > Dear Folks,
> > 
> > I am in the process of learning Sieve, and want to be able to keep
> > an
> > email in Inbox, while also keeping *one* copy in another folder. 
> > However, the same mail is copied from Inbox multiple times when I
> > run
> > sieve-filter -Wev .dovecot.sieve Inbox
> > 
> > My attempt to prevent this fails:
> > ...
> > } elsif header :comparator "i;octet" :contains "From"
> > "pay...@paypal.com.au" {
> >         if not duplicate {
> >                 fileinto "paypal";
> >         }
> >         keep;
> > }
> > 
> > Please can anyone enlighten me?
> 
> If there is a Dovecot Sieve mailing list, please point me to it.
> 

OK, let me rephrase the problem:

I want to keep a copy of an email in Inbox and put a copy into another
folder, but only once, even if I run sieve-filter as above multiple
times. I know there are many who know how to do this and I would really
appreciate your generous suggestions.
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to