Hey all,

So I've successfully made my Docker based, internal only, Postfix/Dovecot container accept email from Thunderbird when I try to send it. But those messages get stuck in the queue. As far as I can tell Dovecot never sees them.

Here's the output of `postconf -p`: https://gist.github.com/jerrac/d957f37b0ce24e82aa7244a0e57f41c3#file-postqueue-p-txt

The status/error appears to be "address resolver failure". That made me think it was something with dns. But as far as I can tell, the container can see all the dns settings it should need. I also thought it might be because the container had a random string as a hostname, but telling Docker to set the hostname to smtp.raygun.zat did not help.

Here's the output of some nslookup commands from within the container to make sure dns is correct: https://gist.github.com/jerrac/d957f37b0ce24e82aa7244a0e57f41c3#file-nslookup-txt

Here's my postconf -n: https://gist.github.com/jerrac/d957f37b0ce24e82aa7244a0e57f41c3#file-postconf-cf

My verbose/debug maillog: https://gist.github.com/jerrac/d957f37b0ce24e82aa7244a0e57f41c3#file-maillog-log (which is why I'm linking directly to the gist items...) That log is from just before I send the email via Thunderbird, to just after Thunderbird closes the mail compose window.

The container is based on Ubuntu 20.04.

Google did not turn out to be any help. Most of the results referenced configurations very different than mine, or were in a language I don't know. I even tried looking at the Postfix source code, but my C skills are effectively 0, so I didn't get any farther than finding where the message likely came from.

Any ideas on what I'm doing wrong?

Any info I should add to my gist?

Thanks in advance for any help.

- David Reagan

Reply via email to