Re: [exim] google bounce messages

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Randy Bush
Date:  
À: Slavko
CC: exim-users
Sujet: Re: [exim] google bounce messages
> dnslookup:
>       driver = dnslookup
>       ...
>       ipv4_only = true
>       # or
>       #ipv4_prefer = true


i have the rdns, the TXT RRs, ... but,

as goog seems to have more stringent, and more frequently changing,
'rules' for ipv6 smtp receipt, i have this kludge which i would love to
get clue on how to simplify

    hostlist google_ipv6 = <; 2001:4860::/32 ; 2401:fa00::/32 ; 2404:6800::/32 \
    ; 2600:1900::/28 ; 2605:ef80::/32 ; 2607:f8b0::/32 ; 2620:0:1000::/40 \
    ; 2620:120:e000::/40 ; 2620:15c::/36 ; 2800:3f0::/32 ; 2a00:1450::/32 \
    ; ...


    dnslookup_relay_to_domains:
      debug_print = "R: dnslookup_relay_to_domains for $local_part@$domain"
      driver = dnslookup
      domains = ! +local_domains : +relay_to_domains
      transport = remote_smtp
      same_domain_copy_routing = yes
      ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : +google_ipv6
      no_more


    dnslookup:
      debug_print = "R: dnslookup for $local_part@$domain"
      driver = dnslookup
      domains = ! +local_domains
      transport = remote_smtp
      same_domain_copy_routing = yes
      # ignore private rfc1918 and APIPA addresses
      ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :\
                172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 :\
                255.255.255.255  : +google_ipv6
      no_more


this is grotessque. and the hostlist requires manual maintenance every
time i get a bounce from a new chunk of goog ipv6 space.

anyone have anything a bit cleaner?

randy