On my server (Debian12+HestiaCP+Exim4+Dovecot+Spamassassin) there is a mailbox with configured forwarding of copies of incoming messages to another external server. Also, spamassassin is configured so that messages with a spam score higher than 8.0 go to the .spam folder. Everything works fine, but there is one problem: messages that go to the .spam folder are forwarded to an external server. How can I disable this? I need messages that go to the .spam folder not to be forwarded further.
PS: until recently I used cPanel for many years and it had this feature.