From owner-freebsd-questions@FreeBSD.ORG Fri Dec 28 20:41:04 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76BD816A41A for ; Fri, 28 Dec 2007 20:41:04 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id 4816213C43E for ; Fri, 28 Dec 2007 20:41:04 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so6032887waf.3 for ; Fri, 28 Dec 2007 12:41:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=4eWNAKA39kNwXWpIMq0n6FqB+GSMkvurxsBgSAgjTH4=; b=Oyd+63P65Cpb3NHOhFPK1RW+yF32eFfKJrm46v5X06FCOzu5KWqUL9GXALy0535OREZT1BPqMlaoYkZ0ze7/v/a9e5R91jKTk1UIsIA6TrWlHQzy/x5t4v5mg2MF28KQijrPz+YEgNUIo4te7dYMP5GvwNexZ0G8dvbJCoSW4xw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=THX6etTFyKbFE5gKGSjUEXPg3SOjS1YdQxgOzqB07i/29roi3ZgAUkcpOCGNIKh7fObzxk6s3+QaM/BLpX1cRtUOJZyyzpSygkHhoNzRFp0HtzYPvbz2Nwa+CptY+4fWYFpE7TFwsGdXOiM8CmePWKQd+A5YE5UeUHU6fDi8PFM= Received: by 10.114.73.1 with SMTP id v1mr8335335waa.16.1198874463856; Fri, 28 Dec 2007 12:41:03 -0800 (PST) Received: from sniper ( [71.221.173.206]) by mx.google.com with ESMTPS id n9sm16144130wag.39.2007.12.28.12.41.03 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Dec 2007 12:41:03 -0800 (PST) From: Andrew Falanga To: Derek Ragona Date: Fri, 28 Dec 2007 13:40:57 -0700 User-Agent: KMail/1.9.6 References: <200712281033.40654.af300wsm@gmail.com> <6.0.0.22.2.20071228122316.02469808@mail.computinginnovations.com> In-Reply-To: <6.0.0.22.2.20071228122316.02469808@mail.computinginnovations.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712281340.57843.af300wsm@gmail.com> Cc: FreeBSD Questions Subject: Re: How to make sendmail listen on an address other than the loopback X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2007 20:41:04 -0000 On Friday 28 December 2007 11:24:50 Derek Ragona wrote: > At 11:33 AM 12/28/2007, Andrew Falanga wrote: > >Hi, > > > >I'm trying to get an e-mail system working for my church > >(whitneybaptist.org). > >I've added a file called local-host-names in /etc/mail as described in the > >Handbook, then did "/etc/rc.d/sendmail restart" and then did "sockstat | > > grep sendmail" and got the following results: > > > >root sendmail 32889 3 tcp4 127.0.0.1:25 *:* > >root sendmail 32889 4 dgram -> /var/run/logpriv > >smmsp sendmail 696 3 dgram -> /var/run/log > > > > > >Now, with the exception of the additional file, nothing has been done to > > this stock sendmail configuration (system is 6.2-RELEASE-p7). How would > > I make sendmail listen on the ip of 192.168.2.23? I do have some > > experience with sendmail, however, it was several years ago and I've > > forgotten quite a bit. Why isn't it listening on that address now? > > > >Andy > > Take a look at your settings for sendmail in /etc/rc.conf vs > /etc/default/rc.conf > > You need two instances of sendmail running, one for local delivery, another > for external mail send receive. > > -Derek Derek, Thank you. Interesting that the Handbook didn't mention it. At least, this section didn't mention it and this is what I was looking to: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sendmail.html Thanks again. I set "sendmail_enable='YES'" in /etc/rc.conf (per instructions to leave alone /etc/defaults/rc.conf) and then did /etc/rc.d/sendmail restart and it worked. Andy