Am 19.11.2014 um 15:45 schrieb Sascha Hüdepohl:
virtual_transport = lmtp:imaphost:24

I get an error like:

Nov 19 15:30:24 kite postfix/lmtp[612]: 1C11B49: to=<o...@hier.de>,
relay=none, delay=0.01, delays=0.01/0/0/0, dsn=5.4.4, status=bounced
(Host or domain name not found. Name service error for name=imaphost
type=A: Host not found)

When i use lmtp:192.168.0.1:24 everything is ok.

I'm using the same host in:
smtpd_sasl_path = inet:imaphost:28
without problems.

Background:
I'm still testing my docker setup. I have one container with dovecot and
one with postfix. The postfix container gets linked to the imap
container with --link imap:imaphost
During the container start i copy /etc/hosts to
$queue_directory/etc/hosts

in case of transports postfix don't care about your /etc/hosts and makes DNS requests, discussed multiple times each year

lmtp_host_lookup (default: dns)
The LMTP-specific version of the smtp_host_lookup configuration parameter. See there for details.

http://www.postfix.org/postconf.5.html#smtp_host_lookup


Reply via email to