On 2025/04/25 7:38 PM, Andy Firman via Exim-users wrote:
I love the block_hosts feature
This would be a feature of your Exim configuration file(s), not a built-in part of Exim.
This is in my block_hosts file: 194.87.0.0/16
We don't know how your config uses this file.
Is the *194.87.207.175* too deep into the headers for Exim to block?
No, though searching headers can get complicated.
Received: from mail-lf1-f47.google.com ([209.85.167.47]:37932) Received: by mail-lf1-f47.google.com with SMTP id X-Google-DKIM-Signature: X-Gm-Message-State: X-Gm-Gg: X-Google-Smtp-Source: Received: from mhlw.go.jp *([194.87.207.175])*
Docs are at https://exim.org/docs.html Since you're running such an old Exim version, pick the specific docs set. Read up on ACLs and on string-expansions, specifically the forany, match and match_ip operators and $header_received: -- Cheers, Jeremy -- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/ ## unsubscribe (doesn't require an account): ## exim-users-unsubscr...@lists.exim.org ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/