Re: [exim] Testing sender and recipient domains in MIME ACL

Inizio della pagina
Delete this message
Reply to this message
Autore: Mike Tubby
Data:  
To: exim-users
Oggetto: Re: [exim] Testing sender and recipient domains in MIME ACL


On 02/06/2020 18:19, Jeremy Harris via Exim-users wrote:
> On 02/06/2020 17:15, Mike Tubby via Exim-users wrote:
>> Right now I' doing this in the RCPT ACL:
> tl;dr. Which bit does not work?
>



I wanted to do this - in the MIME ACL:

        #
        # Check if sender is whitelisted to disable MIME content checks
        #
        accept    sender_domains  = +whitelist_sender_domains
                  logwrite        = RCPT: Sender $sender_address is
whitelisted disabling MIME content checks


rather than having to shuffle macros and variables around between RCPT
ACL and MIME ACL, but MIME ACL does not appear to have access to
$sender_address or $sender_address_domain - when it could?


Mike