ix-ai / smtp

This is a SMTP docker container for sending emails. You can also relay emails to gmail and amazon SES.
MIT License
97 stars 15 forks source link

DNS lookup fails #12

Closed OtherwiseJunk closed 2 years ago

OtherwiseJunk commented 2 years ago

I pulled the image for use as an SMTP server for a Mastodon instance.

it looks like the request hits the SMTP server just fine, but then the SMTP server fails its DNS lookup:

  276   <= colonelpanic@******.******.com H=******_sidekiq_1.******_internal_network (******.******.com) [192.168.48.5] P=esmtps X=TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256 CV=no S=24989 id=636749a339838_71d0b088025@******.******.com
  276 LOG: smtp_connection MAIN
  276   SMTP connection from ******_sidekiq_1.******_internal_network (******.******.com) [192.168.48.5] closed by QUIT
  277 Exim version 4.94.2 uid=101 gid=101 pid=277 D=80001
Berkeley DB: Berkeley DB 5.3.28: (September  9, 2013)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DANE DKIM DNSSEC Event I18N OCSP PIPE_CONNECT PRDR SOCKS TCP_Fast_Open
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
Configure owner: 0:0
Size of off_t: 8
  277 delivering 1orYRv-00004S-Ny
  277 R: dnslookup for ************@gmail.com
  277 LOG: MAIN
  277   == ************@gmail.com R=dnslookup defer (-1): host lookup did not complete

I'm using the image here in my docker-compose with no environment variables provided, basically just running a vanilla image.

I assume I just have something mis-configured and it's failing to get the dns info because of it?

OtherwiseJunk commented 2 years ago

Ha ignore me, I had this setup for internal only communications 😢 sorry for the waste of an issue