> On Nov 14, 2016, at 2:58 PM, James D. Parra <jam...@musicreports.com> wrote: > > When attempting to send an email to a particular domain,lowlypalace.io, > postfix only gets the ipv6 address and does not fall back to the ipv4 > address. For example; > > status=deferred (connect to aspmx2.googlemail.com[2607:f8b0:4001:c08::1a]:25: > Network is unreachable) > > There is no second attempt for the ipv4 address, although it is resolvable > from the mail server;
You're showing only a snippet of the last log entry for a delivery attempt. This demonstrates nothing. Do show all related logging. Use the "collate" script: https://raw.githubusercontent.com/vdukhovni/postfix/master/postfix/auxiliary/collate/collate.pl After making any necessary adjustments to the "date" portion of the date regular expression to match your log records: my $instre = qr{(?x) \A # Absolute line start (?:\S+ \s+){3} # Timestamp, adjust for other time formats \S+ \s+ # Hostname (postfix(?:-\S+)?)/ # postfix instance }; The above matches traditional syslog output that looks like: "Nov 14 2016 ...". For example, delete the "{3}" in: (?:\S+ \s+){3} if your log records have a monolithic ISO-date... -- Viktor.