From owner-freebsd-questions@FreeBSD.ORG Wed Oct 20 13:45:32 2004 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 1AF4516A4CE for ; Wed, 20 Oct 2004 13:45:32 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9906443D6D for ; Wed, 20 Oct 2004 13:45:31 +0000 (GMT) (envelope-from john.destefano@gmail.com) Received: by mproxy.gmail.com with SMTP id 78so243740rnl for ; Wed, 20 Oct 2004 06:45:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=RuYrVePDBZ6RBvzZibsCtb2QMyhFuzD9M9idpxN+n/oiGE3W5WB70PTCVgpiLD9zMUI3EdNBjlP7xGT93ZPgxzUC696NbuHmDrB4dffKCame3IicCWt5RED34rEvVpKzZPuVC18CHwKDbyNcVchh6N+WMCQTXDRJwFmOdJwKkpE Received: by 10.38.78.34 with SMTP id a34mr2863185rnb; Wed, 20 Oct 2004 06:45:30 -0700 (PDT) Received: by 10.38.99.34 with HTTP; Wed, 20 Oct 2004 06:45:30 -0700 (PDT) Message-ID: Date: Wed, 20 Oct 2004 09:45:30 -0400 From: John DeStefano To: Gerry Freymann In-Reply-To: <20041019202354.6fed4a61.lists@interpool.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041019202354.6fed4a61.lists@interpool.ca> cc: freebsd-questions@freebsd.org Subject: Re: configuring sendmail for relaying mail form data X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John DeStefano List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2004 13:45:32 -0000 On Tue, 19 Oct 2004 20:23:54 -0400, Gerry Freymann wrote: > >I'm trying to use a PHP form mail script > >(http://www.leveltendesign.com/L10Apps/Fm/) to process data submitted > >by a Web mail form. > >The mail queue is holding these messages with the fillowing error: > >Deferred: 450 ..com>: Sender address rejected: > >Domain not found > > It looks to me like you haven't fully configured the form mail script, > or, have configured it wrong, or are using the wrong syntax in your form. > > It shouldn't be trying to send messages out as ..com> > > I would think you should be seeing a valid email address in their. > > Maybe that will point you in the right direction. LOL... sorry: I replaced the actual host and domain with placeholders in my post. ;) The actual mailq entries look more like this (sorry for the bad wrap): -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient----------- i9JN4oUN030313 173 Tue Oct 19 19:04 (Deferred: 450 : Sender address r) And a sample error from an mqueue entry: MDeferred: 450 : Sender address rejected: Domain not found "zurg" is the host name of the FBSD server, which hosts my apache2 Web server. "thedestefanos.com" is the local domain (but a FQDN). I'm pretty sure it's not the way I've configured the script, because I only replaced the necessary variables, and the messages are making it to the mail server queue (but not any further). However, other mail (such as my daily reports) is getting sent through without a hitch. If you wouldn't mind having a look, the form is here: http://www.thechocolateshack.com/contact.html The script is here: http://www.thechocolateshack.com/cgi/L10FmX.php I can also supply the files as text if needed. Thanks, ~John