From owner-freebsd-questions@FreeBSD.ORG Sat Mar 13 14:02:36 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2ADC716A4CE for ; Sat, 13 Mar 2004 14:02:36 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id D816843D2F for ; Sat, 13 Mar 2004 14:02:34 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i2DM2UVw004329 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 13 Mar 2004 22:02:30 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i2DM2U7B004328; Sat, 13 Mar 2004 22:02:30 GMT (envelope-from matthew) Date: Sat, 13 Mar 2004 22:02:30 +0000 From: Matthew Seaman To: "Marc G. Fournier" Message-ID: <20040313220230.GB4118@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "Marc G. Fournier" , freebsd-questions@freebsd.org References: <20040313172432.B64550@ganymede.hub.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i0/AhcQY5QxfSsSZ" Content-Disposition: inline In-Reply-To: <20040313172432.B64550@ganymede.hub.org> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040304, clamav-milter version 0.67j cc: freebsd-questions@freebsd.org Subject: Re: Sendmail not listening to IP ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2004 22:02:36 -0000 --i0/AhcQY5QxfSsSZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 13, 2004 at 05:28:02PM -0400, Marc G. Fournier wrote: >=20 > 'k, have to be missing something obvious here ... I have > DontProbeInterfaces set to True, since I don't want it to pick up the > other IPs on the box, but do want to bind it to one of the IPs ... >=20 > I can telnet to localhost 25, but not to 200.46.204.2 25 ... so I'm > figurinmg I disabled everything, and need to add the above IP for binding > ... somewhere? To make sendmail bind to selected interfaces use the following syntax in /etc/mail/`hostname`.mc: FEATURE(no_default_msa)dnl ## overridden with DAEMON_OPTIONS below dnl DAEMON_OPTIONS(`Name=3DIPv4, Addr=3D81.2.69.218, Family=3Dinet')dnl DAEMON_OPTIONS(`Name=3DIPv4, Addr=3D127.0.0.1, Family=3Dinet')dnl DAEMON_OPTIONS(`Name=3DMSA, Addr=3D81.2.69.218, Port=3D587, M=3DE')dnl DAEMON_OPTIONS(`Name=3DMSA, Addr=3D127.0.0.1, Port=3D587, M=3DE')dnl DAEMON_OPTIONS(`Name=3DIPv6, Addr=3D::1, Family=3Dinet6')dnl DAEMON_OPTIONS(`Name=3DIPv6, Addr=3D2001:8b0:cf:1::1, Family=3Dinet6')d= nl dnl This is taken directly from my own sendmail config, where I have a jailed environment on 81.2.69.219 and I don't want the sendmail in the host environment to listen on that IP number. See the /usr/share/sendmail/cf/README file for more details The 'DontProbeInterfaces' stuff is more commonly used when you have either interfaces that only appear trasniently on the machine (such as ppp connections) or you have interfaces with hostnames/IP numbers not registered in the public DNS. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --i0/AhcQY5QxfSsSZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAU4T2dtESqEQa7a0RAjChAJ9Ls3lIh4UDnSaIidD+2ba15eH07QCfZcG+ NpZt0FNLAtJQJY8h2V9vmwM= =Twcc -----END PGP SIGNATURE----- --i0/AhcQY5QxfSsSZ--