From owner-freebsd-questions Sun Aug 12 3:37:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-141-144.mmcable.com [24.27.141.144]) by hub.freebsd.org (Postfix) with SMTP id A7F6737B407 for ; Sun, 12 Aug 2001 03:37:09 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 4006 invoked by uid 100); 12 Aug 2001 10:37:08 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15222.23636.187568.435868@guru.mired.org> Date: Sun, 12 Aug 2001 05:37:08 -0500 To: "Marius Kirschner" Cc: questions@freebsd.org Subject: Re: mail server question In-Reply-To: <120931976@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Marius Kirschner types: > I have a little dilemma and I can't seem to figure out how to fix this. > Okay, here's the scenerio. > > I have 2 FreeBSD boxes, one that is acting as the DNS and mail server and > the other as my web server. If somebody sents an e-mail from the outside to > a virtual domain that is being hosted on the web server the mail is > delivered correctly. However, if the web server tries to send an e-mail > (via a web form mail or so) to a virtual domain it tried to deliver it > locally. > > I think I need to set some MX records on the localhost so it knows that it's > not in charge of the mail for those domains, but where? Any pointers are > greatly appreciated. Thanks, Sounds more like the mailer on the web server is misconfigured, so that it thinks the domain name for the mail server is a local domain name. Hard to say what to look at without knowing which MTA you're using. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message