Ok. I tried another Thunderbird-specific Flag:
require ["imap4flags", "vnd.dovecot.pipe", "copy", "imapsieve", "environment",
"variables"];
if environment :matches "imap.email" "*" {
set "email" "${1}";
}
addflag "Junk";
addflag "\\seen";
addflag "$label3";
pipe :copy "learn-spam.sh";
pipe :
Hi Ralph!
This is, what calls the correct sive-filter rules. I have that already
in use.
But the file
file:/etc/dovecot/sievepipe/report-spam
contains my sieve-script from my first posting.
So, the difference from setflag to addflag is, setflag sets the flags,
and only the given flags (removing
* Jakobus Schürz:
> addflag "Junk";
> setflag "\\seen";
That's probably not what you want, because the 'setflag' command
replaces all existing flags. In any case, I recommend you use this
method instead:
plugin {
sieve_pipe_bin_dir = /etc/dovecot/sievepipe
# Message moved into Spam fo