From owner-freebsd-questions@FreeBSD.ORG Wed Jan 23 19:02:42 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 9269816A46E for ; Wed, 23 Jan 2008 19:02:42 +0000 (UTC) (envelope-from bitabyss@gmail.com) Received: from cartman.xxiii.com (cartman.xxiii.com [208.62.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 5835E13C442 for ; Wed, 23 Jan 2008 19:02:42 +0000 (UTC) (envelope-from bitabyss@gmail.com) Received: from [172.23.23.190] (lan23.xxiii.com [208.62.177.50]) by cartman.xxiii.com (8.13.8/8.13.8) with ESMTP id m0NJ2fnn069625; Wed, 23 Jan 2008 14:02:41 -0500 (EST) (envelope-from bitabyss@gmail.com) Message-ID: <47978F63.2070107@gmail.com> Date: Wed, 23 Jan 2008 14:02:59 -0500 From: Rob User-Agent: Thunderbird 1.5.0.14 (Windows/20071210) MIME-Version: 1.0 To: Agus References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 19:02:42 -0000 Agus wrote: > 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.... I like to avoid sendmail all together. Install ports/mail/ssmtp Turn off sendmail: sendmail_enable="NONE" # Run the sendmail inbound daemon (YES/NO/NONE). sendmail_outbound_enable="NO" # Dequeue stuck mail (YES/NO). sendmail_submit_enable="NO" # Start a localhost-only MTA for mail submission >From pkg-descr: "A secure, effective and simple way of getting mail off a system to your mail hub. It contains no suid-binaries or other dangerous things - no mail spool to poke around in, and no daemons running in the background. Mail is simply forwarded to the configured mailhost. Extremely easy configuration. WARNING: the above is all it does; it does not receive mail, expand aliases or manage a queue. That belongs on a mail hub with a system administrator. WWW: http://packages.debian.org/testing/mail/ssmtp.html " -rob