postfix relayhost

#1
Hallo,

in der Postfix-Konfiguration (main.cf) gibt es die Angabe "relayhost". Bei mir ist der Wert hierfür leider leer, sodass nur "relayhost =" dort steht.
Was für einen Wert muss ich dort eintragen, damit die Konfiguration korrekt ist?

Danke!
 
#2
default isses so genau richtig, wenn Du genau diese Funktion brauchst->

Postfix Configuration Parameters

[snip]
relayhost (default: empty)
The next-hop destination of non-local mail; overrides non-local domains in recipient addresses. This information is overruled with relay_transport, sender_dependent_default_transport_maps, default_transport, sender_dependent_relayhost_maps and with the transport(5) table.

On an intranet, specify the organizational domain name. If your internal DNS uses no MX records, specify the name of the intranet gateway host instead.

In the case of SMTP, specify a domain name, hostname, hostname:port, [hostname]:port, [hostaddress] or [hostaddress]:port. The form [hostname] turns off MX lookups.

If you're connected via UUCP, see the UUCP_README file for useful information.

Examples:

relayhost = $mydomain
relayhost = [gateway.example.com]
relayhost = uucphost
relayhost = [an.ip.add.ress]
[/snip]

Gruß Sven
 

Werbung