Issue Dovecot global rules

Geraldo V Vieira

New Pleskian
Server operating system version
Ubuntu 24.04.3 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.73 Update 2
Before the latest update I had global rules set up and it worked perfectly but now it will not work and dobecot will not even start, I have to delete the global rules for it to start.

So I had the following set up:
Code:
/etc/dovecot/conf.d/99-hostoncilla-sieve.conf

With:
Code:
plugin {
    sieve_before = /var/qmail/popuser/hivemail-global.sieve
}

And:
Code:
/var/qmail/popuser/hivemail-global.sieve

With:

Code:
require ["fileinto"];
# rule:[Spam]
if anyof (header :contains "X-Spam-Flag" "YES", header :contains "Received-SPF" "softfail", header :contains "Received-SPF" "fail")
{
    fileinto "Spam";
    stop;
}

But now I'll I'm getting is an error saying the it doesn't recognise "plugin" name. I've tried a few other different ways and no matter what I try is to will not work.
 
Back
Top