I am using getmail (https://github.com/christianbur/docker_projects) to sync some hotmail accounts. Messages received at hotmail are delivered to mailcow using imap push and delivered via LMTP in almost real time. This all works great.
The issue is hotmail’s spam filtering is extremely poor. It appears messages received in mailcow using LMTP are not filtered at all through any spam (rspamd) filtering. Rather they are directly delivered to the respective mailbox.
What do I need to configure on mailcow to change this behavior - specifically to scan these messages?
Or, is there a better way of receiving external mail using imap push? I originally did test the mailcow sync, but that uses polling rather than imap push.