>From my exim config (acl_check_rcpt, actually I think is standard
debian config):

 deny
    message = sender envelope address $sender_address is locally
blacklisted here. If you think this is wrong, get in touch with
postmaster
    !acl = acl_local_deny_exceptions
    senders = ${if exists{CONFDIR/local_sender_blacklist}\
                   {CONFDIR/local_sender_blacklist}\
                   {}}

On Fri, 16 Aug 2024 at 11:31, Tapio Peltonen <tapio.pelto...@gmail.com> wrote:
>
> 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@lists.exim.org> 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-unsubscr...@lists.exim.org
> > ## 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-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to