[exim] Re: How to restrict client login through IP whitelist

Top Page
Delete this message
Reply to this message
Author: Lena--- via Exim-users
Date:  
To: exim-users
Subject: [exim] Re: How to restrict client login through IP whitelist
> Is there a way to solve a scenario here? The IP whitelist restricts
> forwarding after logging in with user name and password, but does not
> restrict the acceptance of emails sent by third parties.
> and the `acl_smtp_auth` can resolve it ?


No, you add a condition into the paragraph with "accept authenticated"
in rcpt ACL. Like this:

  accept authenticated = *
        condition = ${lookup{$sender_host_address}iplsearch\
                    {/usr/local/etc/exim/auth_whitelist}{1}{0}}
        control = submission/domain=


See also https://github.com/Exim/exim/wiki/BlockCracking

--
## 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/