ich möchte in meinem Postfix eine Domain via lmtp auf einen (lokalen) Kopano-Server schieben. Der Postfix läuft auf dem gleichen Host auf dem auch Kopano läuft.
In der /etc/kopano/dagent.cfg binde ich den LMTP-Agent an alle Netzwerkschnittstellen:
Code: Alles auswählen
##############################################################
# DAGENT LMTP SETTINGS
# start dagent with -d to create an lmtp daemon of the kopano-dagent
# binding address for LMTP daemon
# change to the empty string if you require connections on other addresses
#server_bind =
# Limit connections to address of interface (IPv6),
# or route path interface (IPv4). Leave empty for to indicate "all".
#server_bind_intf =
# LMTP port to listen on for LMTP connections
lmtp_port = 2003
Code: Alles auswählen
virtual_transport = lmtp:localhost:2003
Code: Alles auswählen
postfix/lmtp[7228]: A6659A0449: to=<root@meinetestdomain.de>, relay=none, delay=0.03, delays=0.03/0/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=localhost type=AAAA: Host not found)
Code: Alles auswählen
virtual_transport = lmtp:127.0.0.1:2003
Mein Testsystem hat noch eine Besonderheit: Ich habe in der Datei /etc/domainame den Domainnamen stehen und setze den in der /etc/rc.local mit
Code: Alles auswählen
domainname -F /etc/domainname
Code: Alles auswählen
root@ko:/var/log# hostname
ko
root@ko:/var/log# domainname
meinetestdomain.de
root@ko:/var/log# hostname -f
ko.meinetestdomain.de
root@ko:/var/log# cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 ko.meinetestdomain.de ko
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
root@ko:/var/log#

Gruß,
Jörg