From owner-freebsd-questions@FreeBSD.ORG Mon Sep 24 13:01:18 2007 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 5046F16A41B for ; Mon, 24 Sep 2007 13:01:18 +0000 (UTC) (envelope-from dwinner@dwinner.net) Received: from outbound-mail-35.bluehost.com (outbound-mail-35.bluehost.com [69.89.18.155]) by mx1.freebsd.org (Postfix) with SMTP id 0753E13C480 for ; Mon, 24 Sep 2007 13:01:17 +0000 (UTC) (envelope-from dwinner@dwinner.net) Received: (qmail 20767 invoked by uid 0); 24 Sep 2007 12:34:38 -0000 Received: from unknown (HELO box122.bluehost.com) (69.89.22.122) by mailproxy2.bluehost.com with SMTP; 24 Sep 2007 12:34:38 -0000 Received: from [216.195.215.130] (helo=evenstar.ifqasys.lan) by box122.bluehost.com with esmtpa (Exim 4.66) (envelope-from ) id 1IZn93-0004nY-DU for freebsd-questions@freebsd.org; Mon, 24 Sep 2007 06:34:37 -0600 Message-ID: <46F7AED3.4010305@dwinner.net> Date: Mon, 24 Sep 2007 08:34:27 -0400 From: Duane Winner User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Identified-User: {731:box122.bluehost.com:dwinnern:dwinner.net} {sentby:smtp auth 216.195.215.130 authed with dwinner+dwinner.net} Subject: urgent sendmail question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dwinner@dwinner.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2007 13:01:18 -0000 Hello, I know if I poked around enough, I could find the answer, but am up against the wall here and need a quick solution. I just discovered a major problem with my sendmail configurations. Just recently started consolidating servers by virtual hosting apache, several servers on one box. Problem is that the web app sometimes send automated emails to users, and now they're getting bounced back because the emails are going out with "@fakename.mydomain.org" instead of "@mydomain.org". Since there is no DNS entry for "fakename.mydomain.org", recipient's mail servers are rejecting these emails from my servers. So I have an apache box, "fakename.mydomain.org", hosting 5 virtual hosts with unique domain names that do have public dns records. I need to all outbound mail appear to be coming from "user@mydomain.org" or "user@virtualhostdomainname.org", as long as it can be resolved by the remote mail server. My sendmails are configured to listen on 127.0.0.1 only, since I'm using to send, not receive. Please help! Thanks, DW