From owner-freebsd-questions@FreeBSD.ORG Mon May 1 18:28:22 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 1B02E16A426 for ; Mon, 1 May 2006 18:28:22 +0000 (UTC) (envelope-from ianchov@gmail.com) Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6916943D45 for ; Mon, 1 May 2006 18:28:21 +0000 (GMT) (envelope-from ianchov@gmail.com) Received: by uproxy.gmail.com with SMTP id m3so1944849ugc for ; Mon, 01 May 2006 11:28:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=F1RQ9E+aZ+vV7zksX8p48xdx+tqnMxjIewBIen31l/q/tYznwE+g8NZE8xyU1HI0dZfupXnjRfzrT8CDxFvSGLOj1qzmy+5Nso77BhxFCjncbpGxN32sjM4wr0AWAK45UihGQq7k4UpU4H0UI4TmJRcVBbsavfnmvOId2Tp74f4= Received: by 10.78.51.9 with SMTP id y9mr175572huy; Mon, 01 May 2006 11:28:20 -0700 (PDT) Received: by 10.78.16.16 with HTTP; Mon, 1 May 2006 11:28:20 -0700 (PDT) Message-ID: <18e02bd30605011128h7c63aeecmc6700a0f7db75efa@mail.gmail.com> Date: Mon, 1 May 2006 21:28:20 +0300 From: "Iantcho Vassilev" To: "FreeBSD Questions" In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: 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:28:22 -0000 Just search for ready to use "contact us" form(there is a php and a perl version). If you don`t have experience with executing system binaries through cgi socket i suggest you leave the programming work because even this is such a simple task it can make you regret. On 5/1/06, Charles Howse wrote: > > 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 > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >