Mike Pogue:
> You're right, the ip set on smtp_bind_address was wrong. Updated this
> and restarted postfix.
> 
> Got an error related to clamsmptpd, that tries to connect to x.x.x.x10
> instead of localhost (127.0.0.1)
> ~~~
> www clamsmtpd: 102C71: SERVER: couldn't connect to: x.x.x.10:10026:
> Transport endpoint is not connected
> ~~~
> 
> But the main question remains: how to configure postfix so the
> outgoing IP is x.x.x.10 and not a random one (x.x.x.13 or x.x.x.14)?

I repeat, Postfix is not a network address translator. 

If with smtp_bind_address == X, the machine sends out with
source-address != X, then you need to look in your network
configuration.

        Wietse

Reply via email to