I see .. thanks for clarification! --Harald
> -----Urspr=FCngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag von S=F6nke Ruempler > Gesendet: Dienstag, 19. April 2005 22:59 > An: xmail@xmailserver.org > Betreff: [xmail] Re: AW: Bind sending IP ? >=20 >=20 > Hi Harald, >=20 > On Tuesday, April 19, 2005 7:17 PM [GMT+1=3DCET], > Harald Schneider <[EMAIL PROTECTED]> wrote: >=20 > > I wonder if binding to an outgoing IP can be forced on application = =3D > > level. > > There is an option for sendmail which seems to do exactly this: > > > > --------- > > ClientPortOptions > > > > This option is similar to the DaemonPortOptions but is=20 > meant only for > > __outgoing__ connections. > > > > The steps to set this option are same as those for the > > DaemonPortOptions except that the option name ClientPortOptions > > should be specified =3D instead of > > DaemonPortOptions. > ^^^^ >=20 > It's the outgoing Ports, _NOT_ the IP! >=20 > I know that on linux the systems handles this with it's=20 > routing table. An=20 > application cannot bind to an outgoing IP! >=20 > Don't believe route command - just do a: >=20 > # ip route >=20 > and additionally a: >=20 > # ip addr >=20 > and you can see exactly what is going on - here example of my=20 > local nets: >=20 > # ip route > 192.168.1.0/24 dev eth2 proto kernel scope link src 192.168.1.1 > 192.168.0.0/24 dev eth1 proto kernel scope link src 192.168.0.1 > ^^^^^^^^^^^^^^^ >=20 > From manpage: >=20 >=20 > src ADDRESS > the source address to prefer when sending to=20 > the destinations=20 > covered by the route prefix. >=20 >=20 > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to [EMAIL PROTECTED] > For general help: send the line "help" in the body of a message to > [EMAIL PROTECTED] >=20 - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]