Malcolm,

The how you do it will depend on your version of sendmail which will
be different on differnt versions of Solaris but the following should
point you in the right direction:

 /etc/default/sendmail. Add or edit the following line:

OPTIONS=-ODaemonPortOptions=Addr=localhost

there may even be and SMF property setting for that not sure, Boyd
would no if there was one :-)

Also check out 
http://prefetch.net/blog/index.php/2005/01/06/binding-sendmail-to-the-loopback-interface/

You could edit the sendmail.cf file directly or create one from and m4
macro up to you.

Also check out stuff by Glenn Brunette Solaris security Guru I was
under the impression the Solaris secure by default had everything
binding to the loopback device. Although I must say it doesn't seem to
be as good on Solaris as OpenSolaris.

cheers

alan


2008/12/22 Malcolm Herbert <opensolaris.org at mjch.net>:
> We have a number of Solaris hosts which have the default sendmail
> install.  We require sendmail running in order to have these hosts send
> email to our Ops people, however we'd like to limit the interfaces on
> which sendmail is listening.
>
> Although the default config doesn't appear to allow relaying, I'd prefer
> not to have it listening on any other interface but localhost, however
> I'm not sure of the best way to do this in the sendmail config ...
>
> Has anyone got any pointers for me?
>
> --
> Malcolm Herbert                                This brain intentionally
> mjch at mjch.net                                                left blank
>
> _______________________________________________
> ug-msosug mailing list
> ug-msosug at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ug-msosug
>



-- 
Regards

alan

Reply via email to