From owner-freebsd-questions@FreeBSD.ORG Mon Aug 11 15:42:11 2003 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 7D4E637B404 for ; Mon, 11 Aug 2003 15:42:11 -0700 (PDT) Received: from mail.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7546943FA3 for ; Mon, 11 Aug 2003 15:42:10 -0700 (PDT) (envelope-from freebsdQ0@richardshea.fastmail.fm) Received: from smtp.us2.messagingengine.com (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id CDB4797FA5; Mon, 11 Aug 2003 18:42:08 -0400 (EDT) Received: from 10.202.2.133 ([10.202.2.133] helo=smtp.us2.messagingengine.com) by messagingengine.com with SMTP; Mon, 11 Aug 2003 18:42:08 -0400 Received: by smtp.us2.messagingengine.com (Postfix, from userid 99) id 5AEE876790; Mon, 11 Aug 2003 18:42:06 -0400 (EDT) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.2 (F2.71; T1.001; A1.51; B2.12; Q2.03) From: "Richard Shea" To: "Roger 'Rocky' Vetterberg" , "Konrad Heuer" Date: Tue, 12 Aug 2003 10:42:06 +1200 X-Epoch: 1060641728 X-Sasl-enc: J94QGQWLPbXx9pzRHnib+w References: <20030811093337.M742-100000@gwdu60.gwdg.de> <3F377B26.6060004@401.cx> In-Reply-To: <3F377B26.6060004@401.cx> Message-Id: <20030811224206.5AEE876790@smtp.us2.messagingengine.com> cc: FreeBSD Questions Subject: Re: sendmail_enable="NO" /"YES"/"MAYBE" ? 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: Mon, 11 Aug 2003 22:42:11 -0000 Thanks to both of you for your replies however this has raised another question ! ... (see below) On Mon, 11 Aug 2003 13:16:54 +0200, "Roger 'Rocky' Vetterberg" said: > Konrad Heuer wrote: > > >On Mon, 11 Aug 2003, Richard Shea wrote: [Original Question snipped] > > > >Yes, sendmail_enable="YES" will do the job. > > > >FreeBSD sendmail respects the TCP wrapper config file /etc/hosts.allow; > >you can limit access to sendmail there (look at "man 5 hosts_options"). > > > Checkout /etc/mail/access, it allows you to control who is permitted to > relay trough your server. > Well I discovered I think that if I don't use /etc/mail/access in fact I cannot send mail through the FBSD box. (I get "550 5.7.1 ... Relaying denied"). So I went an looked at /etc/mail and there is a access.sample but not a plain access file so I copied and edited access.sample to include a line ... 192.168.10.4 OK ... and rebooted but still I get the same error. On the system console I get a more verbose form of the same message but also "lost input channel from SS11232 [192.168.10.4] to MTA after rcpt" which doesn't sound too good to me. Am I using the access file correctly here ? Am I right in thinking that I MUST use the access file or could I just ignore it ? Should I have renamed access.sample to access ? Thanks again for your help so far and any other help would be welcome. regards richard.