> 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... -- Thank you Viktor. The logs are as follows; Nov 12 13:49:05 mail postfix/smtp[15313]: connect to alt1.aspmx.l.google.com[2607:f8b0:4001:c0f::1a]:25: Network is unreachable Nov 12 13:49:05 mail postfix/smtp[15313]: connect to alt2.aspmx.l.google.com[2607:f8b0:4002:c03::1a]:25: Network is unreachable Nov 12 13:49:05 mail postfix/smtp[15313]: connect to aspmx.l.google.com[2607:f8b0:400e:c04::1a]:25: Network is unreachable Nov 12 13:49:05 mail postfix/smtp[15313]: connect to aspmx2.googlemail.com[2607:f8b0:4001:c0f::1b]:25: Network is unreachable Nov 12 13:49:05 mail postfix/smtp[15313]: connect to aspmx3.googlemail.com[2607:f8b0:4002:c03::1b]:25: Network is unreachable Nov 12 13:49:05 mail postfix/smtp[15313]: E63C72140CE5: to=<u...@lowlypalace.io>, relay=none, delay=433194, delays=433193/0.09/0.56/0, dsn=4.4.1, status=deferred (connect to aspmx3.googlemail.com[2607:f8b0:4002:c03::1b]:25: Network is unreachable) Nov 12 13:49:05 mail postfix/qmgr[2760]: E63C72140CE5: from=<u...@musicreports.com>, status=expired, returned to sender Nov 12 13:49:05 mail postfix/cleanup[15180]: 768CC21408A1: message-id=<20161112214905.768cc2140...@smtp-relay.musicreports.com> Nov 12 13:49:05 mail postfix/bounce[15310]: E63C72140CE5: sender non-delivery notification: 768CC21408A1 Nov 12 13:49:05 mail postfix/qmgr[2760]: 768CC21408A1: from=<>, size=26053, nrcpt=1 (queue active) Nov 12 13:49:05 mail postfix/qmgr[2760]: E63C72140CE5: removed <snip> Let me know if you need any other details. Thank you, James