Docker emails Exim4 IPv6


#1

Hi,

Ofcorse I’ve registered here because I ran into a problem = )

Sentry Docker deployment from documentation is working fine.

Issue is that with “default” setup emails are not being sent.

I’ve attached to exim4 container and get this debug info.

    284 LOG: host_lookup_failed MAIN
  284   no host name found for IP address 172.17.0.5
  284 LOG: MAIN
  284   <= root@localhost H=(ca873d66d262) [172.17.0.5] P=esmtp S=548 id=20170420210803.17.47800@ca873d66d262
  284 LOG: smtp_connection MAIN
  284   SMTP connection from (ca873d66d262) [172.17.0.5] closed by QUIT
  285 Exim version 4.84_2 uid=104 gid=108 pid=285 D=40001
Berkeley DB: Berkeley DB 5.3.28: (September  9, 2013)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM PRDR OCSP
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
  285 delivering 1d1JJ5-00004a-FX
  285 R: dnslookup for titelskibreg@gmail.com
  287 T: remote_smtp for titelskibreg@gmail.com
  287 Connecting to gmail-smtp-in.l.google.com [2607:f8b0:400d:c06::1b]:25 ... failed: Network is unreachable
  287 LOG: MAIN
  287   gmail-smtp-in.l.google.com [2607:f8b0:400d:c06::1b] Network is unreachable
  283 Connecting to alt1.gmail-smtp-in.l.google.com [64.233.186.27]:25 ... failed: Connection timed out (timeout=5m)
  283 LOG: MAIN
  283   alt1.gmail-smtp-in.l.google.com [64.233.186.27] Connection timed out
  283 Connecting to alt2.gmail-smtp-in.l.google.com [2a00:1450:400b:c03::1a]:25 ... failed: Network is unreachable
  283 LOG: MAIN
  283   alt2.gmail-smtp-in.l.google.com [2a00:1450:400b:c03::1a] Network is unreachable
  283 Connecting to alt3.gmail-smtp-in.l.google.com [2a00:1450:400c:c08::1b]:25 ... failed: Network is unreachable
  283 LOG: MAIN
  283   alt3.gmail-smtp-in.l.google.com [2a00:1450:400c:c08::1b] Network is unreachable
  283 Connecting to alt4.gmail-smtp-in.l.google.com [2a00:1450:4013:c04::1a]:25 ... failed: Network is unreachable
  283 LOG: MAIN
  283   alt4.gmail-smtp-in.l.google.com [2a00:1450:4013:c04::1a] Network is unreachable
  281 LOG: MAIN
  281   == titelskibreg@gmail.com R=dnslookup T=remote_smtp defer (101): Network is unreachable
  287 Connecting to gmail-smtp-in.l.google.com [209.85.144.27]:25 ... failed: Connection timed out (timeout=5m)
  287 LOG: MAIN
  287   gmail-smtp-in.l.google.com [209.85.144.27] Connection timed out
  287 Connecting to alt1.gmail-smtp-in.l.google.com [64.233.190.27]:25 ... failed: Connection timed out (timeout=5m)
  287 LOG: MAIN
  287   alt1.gmail-smtp-in.l.google.com [64.233.190.27] Connection timed out
  287 Connecting to alt2.gmail-smtp-in.l.google.com [2a00:1450:400b:c00::1b]:25 ... failed: Network is unreachable
  287 LOG: MAIN
  287   alt2.gmail-smtp-in.l.google.com [2a00:1450:400b:c00::1b] Network is unreachable

Is there any advice how to cope with this?


#2

Nobody here is really going to be able to help you. exim4 container is just an example that worked for me. Feel free to use any SMTP host and configure for that. It looks like you’re trying to relay to Google, so there’s no need to use the exim4 container. You can just configure the app to talk to Google directly.


#3

It is not relaying at all.

It is attempting to send an email to gmail account.
Yes I know it is not Sentry issue.

Also guessed this is a Forum so a question is fine to ask and maybe someone bumped into the same issue.

Thanks