Re: [exim] conditional break if dnsdb reveals a NXDOMAIN ?

Góra strony
Delete this message
Reply to this message
Autor: Heiko Schlittermann
Data:  
Dla: exim-users
Temat: Re: [exim] conditional break if dnsdb reveals a NXDOMAIN ?
Cyborg <cyborg2@???> (Mi 02 Aug 2017 12:30:24 CEST):
> Hi,
>
> how must a ACL look like, if we wanne drop the message, when the domain
> in question does not exists ?
>
> in other words, i wanne check if a domain is registered at all, and
> dnsdb looks like the correct approach.
>
> Any Ideas ?


    condition = ${lookup dnsdb{$sender_address_domain}{yes}{no}}


But isn't for sender verification

    require verify = sender


the better approach? (Of course, if you do not talk about sender
verification, then …)

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -