SpamSieve 3.0.1 not working with Sonoma 14.1.1

When using macOS Sonoma (or the Mail extension in general), the automatically caught spam messages are moved to the Junk mailbox. These and other changes are discussed here.