"Date received" filter shows error "Unknown identifier: compare-date"
I tried setting up a filter that removes old promotional mail from bandcamp automatically. The configuration GUI looks like this:
When running this I receive the following error:
Execution of filter “Remove old Bandcamp Mail” failed: Error executing filter search: Unknown identifier: compare-date: (and
(match-all (header-starts-with "Subject" "New release from"))
(match-all (= (compare-date (get-received-date) (- (get-current-date) 604800)) 0))
)
This is on Evolution 3.30.2. I'm happy to provide any further information. Thanks to anybody working on this!
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information