On 31 Dec 2020, at 12:36, Matus UHLAR - fantomas <[email protected]> wrote:
> On 31.12.20 13:52, Kris Deugau wrote:
>> I'm curious why; on-delivery message sorting like this is pretty much what
>> sieve is *for*...
>
> either is fine until incompetent users start creating rules they don't
> understand and then complain...
Don't give users access to the top-level rules.
dovecot.conf:
sieve_before = file:/usr/lib/dovecot/sieve/filespam.sieve
# cat /usr/lib/dovecot/sieve/filespam.sieve
require ["fileinto", "imap4flags"];
if header :contains "X-spam-flag" "YES" {
fileinto :flags "\Seen" "Junk";
}
> I remember user who configured mail to be delivered to /dev/null and
> complained about it being lost.
You can't fix stupid and if you can't let your users use sieve, you can still
use sieve.
--
I have seen the truth and it makes no sense.