[exim] Re: Can't get domain blocking working

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tapio Peltonen
Datum:  
To: Christopher Curzio
CC: exim-users
Betreff: [exim] Re: Can't get domain blocking working
From exim documentation:

domains = <domain list>

This condition is relevant only in a RCPT ACL. It checks that the
domain of the recipient address is in the domain list. If percent-hack
processing is enabled, it is done before this test is done. If the
check succeeds with a lookup, the result of the lookup is placed in
$domain_data until the next domains test.

Maybe you want "senders" instead of "domains".

On Fri, 16 Aug 2024 at 11:14, Christopher Curzio via Exim-users
<exim-users@???> wrote:
>
> Hey everyone. I'm having an issue that I can't figure out, and I've tried
> multiple variations of the config to no avail. I have two files in
> /etc/mail: reject_standard and reject_harsh. Both files contain a list of
> domain names. I'm trying to get exim to read these files and reject email
> if the sender's address is from one of the listed domains. None of what I
> have tried has worked.
>
> Here's a copy of my exim.conf:
>
> https://pastebin.com/hVzt15aY
>
> Thanks in advance.
>
> --
> ## subscription configuration (requires account):
> ## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
> ## unsubscribe (doesn't require an account):
> ## exim-users-unsubscribe@???
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/