[exim] +ignore_unknown and dns defers

Page principale
Supprimer ce message
Répondre à ce message
Auteur: David Saez Padros
Date:  
À: EXIM mailing list
Sujet: [exim] +ignore_unknown and dns defers
Hi !!

I have a problem where a domain has some dns problems and it's
on a host list like this:

hosts = +ignore_unknown : *.$sender_address_domain :\
    $sender_address_domain : ${lookup dnsdb{>:\
    defer_never,mxh=$sender_address_domain}}


looks like some problem trying to resolve the hostname cioce.com
causes the whole acl check to defer with a 451 Temporary local problem
I suposed that the +ignore_unknown option will also make any lookup
defer to ignore the list item and proceed with the following one,
but the only way to avoid temporary reject that message forever is
to put that domain in dns_again_means_nonexist (which i don't like).
Maybe it will be better if +ignore_unknown could handle that situation
nicely.

debug output follows:

>>> check hosts = +ignore_unknown : *.$sender_address_domain

:$sender_address_domain : ${lookup dnsdb{>:
defer_never,mxh=$sender_address_domain}}
>>> cioce.com in dns_again_means_nonexist? no (option unset)
>>> no IP address found for host cioce.com (during SMTP connection from

smtp.telefonica.net (ctsmtpout3.frontal.correo) [213.4.149.66])
>>> host in "+ignore_unknown : *.cioce.com :cioce.com : "? lookup

deferred for cioce.com
>>> accept: condition test deferred
>>> deny: condition test deferred
>>> drop: condition test deferred

451 Temporary local problem - please try later
LOG: H=smtp.telefonica.net (ctsmtpout3.frontal.correo) [213.4.149.66]
F=<ofertas@???> temporarily rejected RCPT <jordi@???>
LOG: SMTP command timeout on connection from smtp.telefonica.net
(ctsmtpout3.frontal.correo) [213.4.149.66]


--
Best regards ...

----------------------------------------------------------------
    David Saez Padros                http://www.ols.es
    On-Line Services 2000 S.L.       e-mail  david@???
    Pintor Vayreda 1                 telf    +34 902 50 29 75
    08184 Palau-Solita i Plegamans   movil   +34 670 35 27 53
----------------------------------------------------------------