From owner-freebsd-questions@FreeBSD.ORG Mon May 1 18:22:32 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 1F6DB16A404 for ; Mon, 1 May 2006 18:22:32 +0000 (UTC) (envelope-from chowse@charter.net) Received: from mxsf41.cluster1.charter.net (mxsf41.cluster1.charter.net [209.225.28.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3BB943D48 for ; Mon, 1 May 2006 18:22:31 +0000 (GMT) (envelope-from chowse@charter.net) Received: from mxip35a.cluster1.charter.net (mxip35a.cluster1.charter.net [209.225.28.250]) by mxsf41.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id k41IMUZe030071 for ; Mon, 1 May 2006 14:22:30 -0400 Received: from 24-176-117-106.dhcp.jcsn.tn.charter.com (HELO [192.168.254.3]) ([24.176.117.106]) by mxip35a.cluster1.charter.net with ESMTP; 01 May 2006 14:22:30 -0400 Mime-Version: 1.0 (Apple Message framework v749.3) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: Charles Howse Date: Mon, 1 May 2006 13:23:14 -0500 X-Mailer: Apple Mail (2.749.3) Subject: cgi email using /usr/bin/mail 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: Mon, 01 May 2006 18:22:32 -0000 Hello, I have a 6.1-PRERELEASE box which is running Apache 2.2 on my home lan. The machine's name is 'moe.local'. I have a DynDNS.com account, with the domain name 'bubbabbq.homeunix.net'. I want to add a form to the website where users can send me an email. I've looked at FormMail.pl and cgiemail (from MIT). It seems that FormMail has too many security holes, and cgiemail won't work because sendmail is only configured to deliver mail to local accounts. I would prefer to write a cgi script using /usr/bin/mail, and I was wondering if anyone had any experience doing this, or could tell me about any security risks. My research didn't turn up much at all. Thanks! -- Tall Tales R Us! - Bubba's Blog - http://bubbabbq.homeunix.net/blog.html