From owner-freebsd-questions@FreeBSD.ORG Tue Jan 22 21:28:39 2008 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 151D416A421 for ; Tue, 22 Jan 2008 21:28:39 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mx1.freebsd.org (Postfix) with ESMTP id E935513C447 for ; Tue, 22 Jan 2008 21:28:38 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so4612416waf.3 for ; Tue, 22 Jan 2008 13:28:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=30/OASklIAQPSYQUetNug4r1fzO1NAz+NMfqv794C4s=; b=cNGJwYrvJueeFJ5y3nSV3IKchdSVEqNQVWVUUsSitJEzDf0IWYVBZExpxrWasfNExsprobihpGJmPAO9v80wi5PIAfpXwq4GD2gI01+sWMicGgoNrAkO3uExxO5zvNMuNzIfqRwiyLt75tNIgS87S9MBj/QcoJ0CW4WipE3Muk0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Owt1DksjyXk8CIkXzH3noKKAPnwzPVC2/TTTYJhu6l0wQEG3qK6XeNOC/2gDsko4y0dapCr286EvVMY9/RgXsXUOAVXIxZu+Q+7+MTmxVRF8bSBQSsLvvd6oXIXV1hHh8ZwkQ3rhC9t4l3cKubhfIc3b6gFJ3uiN1kAIlqcjFL8= Received: by 10.114.209.1 with SMTP id h1mr10105029wag.115.1201037318107; Tue, 22 Jan 2008 13:28:38 -0800 (PST) Received: by 10.114.52.14 with HTTP; Tue, 22 Jan 2008 13:28:38 -0800 (PST) Message-ID: <8d23ec860801221328s601bade5qab86280cd0441ffb@mail.gmail.com> Date: Tue, 22 Jan 2008 16:28:38 -0500 From: Schiz0 To: Agus In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-questions Subject: Re: Sendmail local only..... 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: Tue, 22 Jan 2008 21:28:39 -0000 On Jan 22, 2008 4:25 PM, Agus wrote: > Hi guys, > > Just trying to make sendmail work locally only.....And by that i mean, i > dont want sendmail to be able to relay or send mail to any other machine > except for localhost.... > > How can i do this? I mean is there a way on rc.conf or i need to touch the > cf?? > > Thanks in advance and cheers, > Agustin Search the file /etc/defaults/rc.conf for "sendmail" It has a bunch of options and explains what they do. NOTE: do not edit /etc/defaults/rc.conf - that's just the "Default settings" file. Make any changes in the /etc/rc.conf file instead. Basically, you want sendmail_enable="NO" And the rest of the sendmail options enabled.