For some of our domains we are the “backend” server, whereas another operater is in the dns-MX records and is forwarding mails to our mailcow-server.
However, even though the MX is listed as Forwarding Host and even with spam-filter disabled, rspamd is still checking the mails hereunder is does a SPF check, which always fails, as the forwarding host is naturally not in the SPF record.
Only think we made work, was to include the ip/cidr in the rspamd conf/custom/ip_wl.map - but that results in al mails from the forwarding host is given a score of -2050, does disabling spam-filtering.
We only want to disable the SPF checks on mails from the forwarding host.
How can that be done?
Thank you in advance.