[postfix-users] Frage zu smtp_bind_address (Postfix 2.3.8)

Frost, Christian christian at frost.tk
Di Mär 31 12:00:07 CEST 2009


Hallo Liste,

ich habe folgende Anforderung: ein Server mit mehreren IPs. Domain A Soll über IP 1.2.3.4 empfangen und versenden, Domain B soll über IP 2.3.4.5 empfangen und Versenden. Hierzu habe ich folgenden Auszug in der Postfix Doku gefunden.


> smtp_bind_address (default: empty)
>
> An optional numerical network address that the Postfix SMTP client should bind to when making an IPv4 connection.
>
> This can be specified in the main.cf file for all SMTP clients, or it can be specified in the master.cf file for a
> specific client, for example:
>

Hier steht ja das je Client gesondert eine Konfiguration in der master.cf gemacht werden kann.
Ist hier mit Client Domain gemeint?

Wird hiermit auch festgelegt über welche IP jeweils versendet wird?

> /etc/postfix/master.cf:
> smtp ... smtp -o smtp_bind_address=11.22.33.44
>

Könnt Ihre mir noch eine Beispiel Config geben damit ich dies besser nachvollziehen kann?

> Note 1: when inet_interfaces specifies no more than one IPv4 address, and that address is a non-loopback address, it is > automatically used as the smtp_bind_address. This supports virtual IP hosting, but can be a problem on multi-homed
> firewalls. See the inet_interfaces documentation for more detail.
>
> Note 2: address information may be enclosed inside [], but this form is not required here.

Vielen Dank.

Mit freundlichen Grüßen,

Christian Frost
--


More information about the postfix-users mailing list