Hi,

i'm having trouble with:

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

When i run a shell inside the postfix container i can ping imaphost.


On the internet i found some with the same problem regarding hostnames
in virtual_transport. Their solution was to use the ip. But i would
realy like to know why its not working with the hostname. Especially
because VIRTUAL_README.html says "lmtp:hostname:port" is ok.


regards
Sascha Hüdepohl

Reply via email to