Hallo, Am Sat, 21 Jul 2012, Peter Mc Donough schrieb:
Am 21.07.2012 14:28, schrieb David Haller:
Am Sat, 21 Jul 2012, Peter Mc Donough schrieb: Gut. Wie gesagt: Zusammenspiel von hosts, nsswitch.conf + evtl. lokaler DNS (wenn dns vor files in nsswitch.conf ...), und eben der Postfix Konfig. Kontrolliere diese auch nochmal mit
postconf -n | egrep 'domain|host'
aber sofort, als root
lux:~ # postconf -n | egrep 'domain|host' inet_interfaces = localhost
ok.
masquerade_domains =
Ich maskiere hier auf meine "echten" Domains (die ich aber ja auch intern verwende). Da müßte Sandy antworten ;)
mydestination = $myhostname, localhost.$mydomain
Hier hab ich noch ein ", localhost".
relayhost =
Falls du nen Smarthost hier definieren willst wäre das die Variable, ansonsten wird das AFAIK per /etc/postfix/transport (mit postmap zu aktualisieren) gesteuert. Daraus: ==== /etc/postfix/transport ==== # relay_transport (default: relay:) # This is the default for remote delivery to domains # listed with relay_domains. In order of decreasing # precedence, the nexthop destination is taken from # relay_transport, sender_dependent_relayhost_maps, # relayhost, or from the recipient domain. =====
virtual_alias_domains = hash:/etc/postfix/virtual
Default ;)
Soll das so aussehen?
AFAIK also: ja. Im Zweifelsfall, da wohl die Übnahme von
hostname/domain per gethostbyname (Äh, BTW: hast du rebooted oder
zumindest nscd etc. neu gestartet und per hostname/hostname -f geprüft
ob das das richtige bei rauskommt?) nicht klappt kannst du immer noch
myhostname und mydomain in der main.cf setzen.
HTH,
-dnh, der seine postfix-config eher einfach nur so hingestoppelt hat
bis fast alles lief wie gewollt ;) Daß ich weiß wie SMTP und DNS
tun half dabei ;)
--
Linux renders ships, NT is rendering ships useless.
-- apparently Robert Riggs