I’m having problems understanding why a FreePBX 13 install (from an ISO) won’t successfully send emails.
Here is what I see in /var/log/maillog (i’ve X’d out the actual valid email address / domains). Both from and to email addresses are google hosted, one is gmail, the other a registered domain. As you can see IP6 is disabled, only IP4 is setup and working.
Sep 5 15:40:33 localhost
postfix/pickup[15094]: 40ABF1216B1: uid=499 from=[email protected]
Sep 5 15:40:33
localhost postfix/cleanup[5912]: 40ABF1216B1: message-id=[email protected]
Sep 5 15:40:33
localhost postfix/qmgr[1589]: 40ABF1216B1: from=[email protected], size=981,
nrcpt=1 (queue active)
Sep 5 15:40:33
localhost postfix/smtp[5914]: connect to
gmail-smtp-in.l.google.com[2607:f8b0:400d:c07::1b]:25: Network is unreachable
Sep 5 15:41:03
localhost postfix/smtp[5914]: connect to gmail-smtp-in.l.google.com[173.194.204.27]:25:
Connection timed out
Sep 5 15:41:03
localhost postfix/smtp[5914]: connect to
alt1.gmail-smtp-in.l.google.com[2800:3f0:4003:c00::1a]:25: Network is
unreachable
Sep 5 15:41:03
localhost postfix/smtp[5914]: connect to alt1.gmail-smtp-in.l.google.com[64.233.190.27]:25:
Network is unreachable
Sep 5 15:41:03
localhost postfix/smtp[5914]: connect to
alt2.gmail-smtp-in.l.google.com[2a00:1450:400b:c03::1b]:25: Network is
unreachabletimed out
Sep 5 15:41:03
localhost postfix/smtp[5914]: connect to alt1.gmail-smtp-in.l.google.com[64.233.190.27]:25:
Network is unreachable
Sep 5 15:41:03
localhost postfix/smtp[5914]: connect to
alt2.gmail-smtp-in.l.google.com[2a00:1450:400b:c03::1b]:25: Network is
unreachable
Sep 5 15:41:03
localhost postfix/smtp[5914]: 40ABF1216B1: to=[email protected], relay=none,
delay=31, delays=0.01/0/30/0, dsn=4.4.1, status=deferred (connect to
alt2.gmail-smtp-in.l.google.com[2a00:1450:400b:c03::1b]:25: Network is
unreachable)
I can ping and nslookup all day long with no failures identified.
DNS entries in System Admin are
127.0.0.1, 8.8.8.8, 192.168.1.1 (last is my local gateway DNS)
System Admin - Hostname is the default ‘localhost.localdomain’
System Admin ‘From Address’ is set to the valid email address that I see in the maillog file as the ‘from’ address.
The firewall in FreePBX is currently disabled.
I tried temporarily DMZ’ing my FreePBX box IP address for a test to transmit a message thinking something might be getting blocked on the way in but that had no effect.
I’m not sure what the next step is to troubleshoot the timeouts. Any help would be greatly appreciated.