Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

How does one force sendmail to use only a single interface



On 05/03/2010 06:54 PM, Derek Martin wrote:
> On Sun, May 02, 2010 at 12:54:33PM -0400, Jerry Feldman wrote:
>  =20
>> 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
>> I looked at things like that especially DAEMON_OPTIONS. I'd prefer tha=
t
>> sendmail listen on all interfaces (lo, eth0, and eth1), but only send =
on
>> lo and eth0.
>>    =20
> FWIW, I don't think this is possible without doing odd things to your
> routing, and it probably wouldn't make much sense anyway.  Otherwise,
> I believe sendmail would receive connections on eth1, and then reply
> out of... which interface?  The process which initiated the connection
> would likely receive responses from a different IP than it was
> connected to (if at all, depending on the routing), and quite possibly
> ignore them.  I suspect this is the problem you're already having,
> only in reverse.
>
>  =20
I think the issue was that John set the default route to the new
Interface.  and sendmail started to use the default route (duh).

--=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








BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org