2013-09-02 16:46 keltezéssel, Anna Christina Naß írta:
Hallo,

I've set up a SOGo installation for (mostly) personal use (I've migrated from Horde).

My question is:

I need a certain function for one Sieve rule that I had in my previous setup. I like to copy(!) each incoming mail into a special "All Mails" folder in my IMAP mailbox and mark this copy as "Seen".

In my last setup using Horde's filter tool, the Sieve file that has been created looks like this:

----snip----
[... other rules for mailing lists...]

if exists "From"  {
    addflag "\\Seen";
    fileinto "Alle Mails";
    removeflag "\\Seen";
}

if exists "From"  {
    fileinto "INBOX";
}
----snip----

Now I want to rebuild my filter settings in SOGo.

But I did not find a way to say
... fileinto :copy "Alle Mails" (like RFC 3894 tells)
... removeflag "\\Seen"

Does anyone have an idea on how to implement this using SOGo?

Or should I file a feature request for ":copy" or "removeflag"?

Hi Anna Christina,

This is your needed sieve script:

# --------------------
require ["fileinto","imap4flags"];
fileinto "INBOX";
addflag "\\Seen";
fileinto "Alle Mails";
stop;
# --------------------

Cheers,
Péter
--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to