There is an example in MailCow when you create a new filter:
require [“envelope”, “imap4flags”];
if envelope “from” “mark@me-read.com”
{
setflag “\seen”;
}
This example has no brackets [ ]
it tried also this - changed only my emailadress
require [“envelope”, “imap4flags”];
if envelope “from” “testmail@mydomain.de”
{
setflag “\seen”;
}
but the filter is not working