Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2001 04:48:21 +0100
From:      Walter Hop <walter@binity.com>
To:        Alexandre Florio <alexandre@cipher.com.br>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Sendmail port binding
Message-ID:  <98308743079.20010307044821@binity.com>
In-Reply-To: <20010306154002.7a6be104.alexandre@cipher.com.br>
References:  <20010306154002.7a6be104.alexandre@cipher.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
[in reply to alexandre@cipher.com.br, 06-03-2001]

> Does anybody know how can I set up Sendmail to use a specfic interface
> (eg., lo) instead of all availables? I will only use Sendmail for
> internal programs.

Look for a line containing "DaemonPortOptions" in your sendmail.cf file
or add the following:

O DaemonPortOptions=Addr=172.16.1.2

It can be appended to existing options like this:

O DaemonPortOptions=Addr=172.16.1.2, Name=MTA
O DaemonPortOptions=Addr=172.16.1.2, Port=587, Name=MSA, M=E

On restarting Sendmail, it will only bind to the address mentioned,
172.16.1.2 in this example.

walter

--
I DON'T CARE WHERE, JUST FAR



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98308743079.20010307044821>