Jose kojima wrote:
> hi there,
>
> i have a problem here, i there multiply ips in my postfix server:
>
> eth0 192.168.1.1
> eth0:1: 192.168.1.2
> eth0:2: 192.168.1.3
>
> i like to send the domain test.com via 192.168.1.2 source ip, and
> test1.com via 192.168.1.3. I did read about
> sender_dependent_relayhost_maps:
>
> sender_dependent_relayhost_maps = dbm:/etc/postfix/sender
>
> and in sender:
>
> @test.com 192.168.1.2
> @test1.com 192.168.1.3
>   
This is the incorrect usage of this parameter.
This is to direct senders to different upstream HOSTS not bound IPs
Your tcp stack decides how things should be routed.

To have Postfix only work on one IP, you must have multiple instances
(made easier with Postfix 2.6+) to service many IPs.

Brian

Reply via email to