I want to whitelist certain domains in spamassassin only if the recipient is also in a specific domain. As far as I can tell from the documentation, there seems to be no way to configure this requirement:
- Sender@Domain.one sends mail to Recipient@Domain.two -> Spamassassin should whitelist this mail
- Sender@Domain.one sends mail to other recipients (also on the same server, but different domain) -> Spamassassin should check the mail before forwarding it to the recipient
I've already added whitelist_from *@domain.one
in my spamassassin config but this is a little to widely for my perception. The recipients domain should be whitelistet (everyone in Domain.two).