set imap flags in user sieve scripts
Benny Pedersen
me at junc.eu
Sat Mar 11 18:21:28 UTC 2023
spi skrev den 2023-03-11 13:34:
> if address :domain "From" "whatever.com"{
> fileinto :flags ["\\todo"] "working/whatever";
> }
require ["fileinto","imap4flags"];
# rule:[set todo]
if allof (header :contains "subject" "set imap flags in user sieve
scripts", header :contains "from" "user at example.org", header :contains
"to" "dovecot at dovecot.org")
{
setflag "todo";
fileinto "todofolder";
stop;
}
created in roundcube webmail
More information about the dovecot
mailing list