From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 09:06:24 2003 Return-Path: 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 2609C16A53D for ; Thu, 2 Oct 2003 09:06:23 -0700 (PDT) Received: from mygirlfriday.info (adsl-65-64-145-209.dsl.stlsmo.swbell.net [65.64.145.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AEE843FDD for ; Thu, 2 Oct 2003 09:06:21 -0700 (PDT) (envelope-from gv-list-freebsdquestions@mygirlfriday.info) Received: (qmail 31584 invoked from network); 2 Oct 2003 16:05:48 -0000 Received: from user204.net795.mo.sprint-hsd.net (HELO mygirlfriday.info) (65.41.216.204) by mongo.mygirlfriday.info with DES-CBC3-SHA encrypted SMTP; 2 Oct 2003 16:05:48 -0000 Received: (qmail 5164 invoked from network); 2 Oct 2003 16:06:18 -0000 Received: from localhost (127.0.0.1) by major.mygirlfriday.info with DES-CBC3-SHA encrypted SMTP; 2 Oct 2003 16:06:18 -0000 Date: Thu, 02 Oct 2003 11:06:17 -0500 From: Gary To: freebsd-questions@freebsd.org Message-ID: <1670000.1065110777@[192.168.0.5]> In-Reply-To: <004e01c388f9$6cbbff40$0701a8c0@darryl> References: <004e01c388f9$6cbbff40$0701a8c0@darryl> X-Mailer: Mulberry/3.1.0b8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: Mail Server Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 16:06:24 -0000 Hi Darryl, --On Thursday, October 02, 2003 10:25:33 AM -0500 Darryl Hoar wrote: > 1. I have a LAN behind a freebsd firewall. The firewall is also doing > nat, as my internal LAN is 192.168.1.* > 2. I have dns running on my internal LAN using a dsn name that is > registered by not used outside of our private LAN. > 3. I have a freebsd (4-7 stable) machine running Apache and is > used to host our internal website and also as a test site for > pre-release evaluation of our external website. > > Our pre-release evaluation website has forms with email. I need > to setup email on the apache freebsd server so the email links > work correctly and can be evaluated prior to uploading to the > external webserver. Okay > Is there an easy way to accomplish this ? There are several ways that I can think of, PHP, perl, or CGI scripts. If you use formmail, make sure it is the absolute latest version, all previous versions have security problems, and will make you an open relay for sure. > Headers will have to be valid or the external mail server will reject. Any MTA will reject if the headers are not valid, or they should. > Should I install qmail and configure for this task or should I slog > through sendmail config ? You can use any MTA, the scripts will call the sendmail wrapper, called sendmail if it is qmail, replacing the real sendmail wrapper, or you just could use Sendmail if that is what you are using currently.. -- Gary