Bind outgoing sendmail to a certain interface

Bind outgoing sendmail to a certain interface

am 18.11.2007 12:54:52 von Frank-Christian Kruegel

Hi!

Is there a setting that allows me to tell sendmail to use a certain
interface or sender ip address for outgoing connections?


Mit freundlichen Grüßen

Frank-Christian Krügel

Re: Bind outgoing sendmail to a certain interface

am 18.11.2007 22:58:00 von spam

"Frank-Christian Kruegel" wrote in message
news:rn90k3pbr6e65fjah1g7rki1ibf8l7b3uv@4ax.com...
> Hi!
>
> Is there a setting that allows me to tell sendmail to use a certain
> interface or sender ip address for outgoing connections?

Yes.


DAEMON_OPTIONS( Modifier=b )

However, watch out if you're running an IPv6 enabled node and the destination is
IPv4 only.

Re: Bind outgoing sendmail to a certain interface

am 19.11.2007 00:15:42 von Andrzej Filip

"D. Stussy" writes:

> "Frank-Christian Kruegel" wrote in message
> news:rn90k3pbr6e65fjah1g7rki1ibf8l7b3uv@4ax.com...
>> Hi!
>>
>> Is there a setting that allows me to tell sendmail to use a certain
>> interface or sender ip address for outgoing connections?
>
> Yes.
>
> DAEMON_OPTIONS( Modifier=b )
>
> However, watch out if you're running an IPv6 enabled node and the
> destination is IPv4 only.

The above makes sendmail send mail via the same interface it has been received.
[ It may be what Frank *really* wanted ]

The answer for the original question is given below:
CLIENT_OPTIONS(`Addr=aaa.bbb.ccc.ddd')

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/