From owner-freebsd-questions@FreeBSD.ORG Wed Jan 23 16:44:51 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 6731A16A417 for ; Wed, 23 Jan 2008 16:44:51 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.freebsd.org (Postfix) with ESMTP id 0D96C13C458 for ; Wed, 23 Jan 2008 16:44:50 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so4273409pyb.10 for ; Wed, 23 Jan 2008 08:44:49 -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:references; bh=aWszDyO6N48Bh8ef6N0THPmMT2X8WaFbK4Qvs3ghylU=; b=UQzBlAELWCPRhshQj06IAhBQU5TQ8RCHm8jq0d09c4bwZl9SAnzOBLZCVOUJNMe0Ipo8vmN/4enHqyk+hCKq1lW043fuOSynmBkrouoin5iBznrmaZtV+4rNGreSD5EgD2VhB3U8q2TjQfw7v0eTCHwru6xYeQaNrjmOvfm45b8= 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:references; b=hsIkqxVv6TMlZ6lAhBPhV1U0Gt+QA0QUhfdrRF+XmQsWhpr3o3xP/dGQUwrhQCvwu6EgJwSar7X5eF3TvnbsyCMCFIZMrf3dYxEw1aZtoNEjeIS65lgNJ3+vb6m3vWDyeEiKORE9nYfmbqSk1MlJCxOhadgdqN3EDW7hWFGxLW4= Received: by 10.35.83.20 with SMTP id k20mr11153972pyl.7.1201106689602; Wed, 23 Jan 2008 08:44:49 -0800 (PST) Received: by 10.35.109.18 with HTTP; Wed, 23 Jan 2008 08:44:49 -0800 (PST) Message-ID: Date: Wed, 23 Jan 2008 13:44:49 -0300 From: Agus To: "Lowell Gilbert" In-Reply-To: MIME-Version: 1.0 References: <44ir1l4iqq.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Wed, 23 Jan 2008 16:44:51 -0000 2008/1/23, Agus : > > 2008/1/22, Lowell Gilbert : > > > > Agus writes: > > > > > 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?? > > > > This is a very standard thing to do. See "man 8 sendmail.conf" > > (as recommended by the rc.conf(8) manual). > > > > > There is no man for sendmail.conf, nor sendmail.cf..... > The rc.conf only mentions the rc.sendmail... > > Giorgos, question...is it needed to put the > sendmail_submit_enable="YES" > sendmail_msp_queue_enable="YES" > Although they are the default ones? > > Cheers, > Agustin Maybe i wasnt clear...but with the options you gave me Giorgos i still can send email from localhost to external servers like hotmail for instance, through telnet.....I want to disable this, so it can only send mails to local accounts.... This is because this will be an open server with ssh access, so anyone with access will be able to send mails to everywhere, so i dont want this to happen.... Cheers and thanks for everyone that can help me... Agustin