[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[msmtp-users] Change local interface address



Hello!

I have 2 networks address with real IP in my server.
eth1: 200.200.200.200
eth2: 200.200.100.100

When I send a mail with msmtp, it uses the first network card eth1 whith IP 200.200.200.200.
But, I need to use the other IP 200.200.100.100.
In ping, for exemple, I can change the interface: ping -I eth1 host or ping -I eth2 host.
Is it possible?

Thank's

Wendell