By default, sendmail binds to INADDR_ANY (0.0.0.0). It's possible to have it
bind to a specific address with the following line in your /etc/sendmail.cf:
O DaemonPortOptions=Addr=
The may be a numeric address in dot notation or a host name.
The caveat is that, depending on the mail software you use, you may actually
need to listen on 2 addresses, including localhost (127.0.0.1). I know, for
example, that fetchmail will, by default, try to forward mail to localhost.
Fortunately, it can be configured to forward mail to another address.
You can only specify a single address for sendmail to bind to. If absolutely
necessary, I suppose you could create multiple configuration files and run
several instances of sendmail.
But having said all that, I would just create some firewall rules which restrict
SMTP traffic to the one interface.
--Joe
-----Original Message-----
From:        Jonathan Rickman [SMTP:">jonathanrickman@netscape.net]
Sent:        Thursday, March 30, 2000 1:41 PM
To:        '">ale@ale.org'
Subject:        [ale] Sendmail
How do I stop sendmail from listening on all interfaces of a multihomed
machine??? I just want it to listen on 1 of three...
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.