From owner-freebsd-isp Fri Jan 23 17:24:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA07452 for freebsd-isp-outgoing; Fri, 23 Jan 1998 17:24:16 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from panda.hilink.com.au (panda.hilink.com.au [203.8.15.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA07440 for ; Fri, 23 Jan 1998 17:24:09 -0800 (PST) (envelope-from danny@panda.hilink.com.au) Received: (from danny@localhost) by panda.hilink.com.au (8.8.5/8.8.5) id MAA24085; Sat, 24 Jan 1998 12:23:47 +1100 (EST) Date: Sat, 24 Jan 1998 12:23:46 +1100 (EST) From: "Daniel O'Callaghan" To: Dan Roberts cc: freebsd-isp@FreeBSD.ORG Subject: Re: Using alternate mail server for virtual hosts In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 23 Jan 1998, Dan Roberts wrote: > The problem I'm having is getting mail sent properly from the new vhost > machine to users within domains that are hosted there. For example, let's > say we host www.domain.com on the new vhost machine.. if you try to send > email to anyone@domain.com from that server, it tries to deliver it > locally but fails because there are no mailboxes there. Instead, it > should deliver the message to the mailbox on the other server. > > MX records are set up properly, and I am using sendmail on both machines. > What can I do to force delivery for these domains onto the original > server? >From your description, I would doubt that the MX records are set up properly, but in any case there is an option in sendmail to deliver all "local" mail to a different machine. In sendmail.cf it is DH, but I'm not sure how to describe it in the .mc file. Danny