From owner-freebsd-questions Tue Mar 6 19:47: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtpf.casema.net (smtpf.casema.net [195.96.96.173]) by hub.freebsd.org (Postfix) with SMTP id 6C8F637B718 for ; Tue, 6 Mar 2001 19:46:59 -0800 (PST) (envelope-from walter@binity.com) Received: (qmail 20964 invoked by uid 0); 7 Mar 2001 03:46:57 -0000 Received: from unknown (HELO slash.b118.binity.net) (212.64.76.99) by smtpf.casema.net with SMTP; 7 Mar 2001 03:46:57 -0000 Received: from tsunami.b118.binity.net (tsunami.b118.binity.net [172.18.3.10]) by slash.b118.binity.net (Postfix) with ESMTP id 98DC910E; Wed, 7 Mar 2001 04:46:18 +0100 (CET) Date: Wed, 7 Mar 2001 04:48:21 +0100 From: Walter Hop X-Mailer: The Bat! (v1.51) Educational X-Priority: 3 (Normal) Message-ID: <98308743079.20010307044821@binity.com> To: Alexandre Florio Cc: freebsd-questions@freebsd.org Subject: Re: Sendmail port binding In-Reply-To: <20010306154002.7a6be104.alexandre@cipher.com.br> References: <20010306154002.7a6be104.alexandre@cipher.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [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