How does one force sendmail to use only a single interface

Jerry Feldman gaf-mNDKBlG2WHs at public.gmane.org
Sun May 2 13:23:27 EDT 2010


On 05/02/2010 12:54 PM, Jerry Feldman wrote:
> On 05/02/2010 12:30 PM, Kurt Keville wrote:
>  =20
>> Can you do it by aliasing the interface?
>>
>> http://www.faqs.org/docs/Linux-mini/IP-Alias.html#SETTINGUPMAIL
>>
>>  =20
>>    =20
> I looked at things like that especially DAEMON_OPTIONS. I'd prefer that=

> sendmail listen on all interfaces (lo, eth0, and eth1), but only send o=
n
> lo and eth0.
>
>  =20
I found what may be our problem. I looked at the routing table, and
apparently when JABR added eth1, it because the default route. Sendmail
will use this interface by default every time.

--=20
Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846







More information about the Discuss mailing list