From owner-freebsd-isp Mon Jan 26 08:18:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA09117 for freebsd-isp-outgoing; Mon, 26 Jan 1998 08:18:17 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from wopr.inetu.net (wopr.inetu.net [207.18.13.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA09108 for ; Mon, 26 Jan 1998 08:18:14 -0800 (PST) (envelope-from dev@wopr.inetu.net) Received: from localhost (dev@localhost) by wopr.inetu.net (8.8.5/8.8.5) with SMTP id LAA04457; Mon, 26 Jan 1998 11:26:44 -0500 (EST) Date: Mon, 26 Jan 1998 11:26:44 -0500 (EST) From: Dev Chanchani 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 There is a flag for mail.local to check if the mailbox name is valid before attempting delivery. man mail.local and check the flag. You probably want to play with that option. Dev Chanchani - INetU, Inc.(tm) - http://www.INetU.net Electronic commerce - Web development - Web hosting dev@INetU.net - Phone: (610) 266-7441 On Fri, 23 Jan 1998, Dan Roberts wrote: > Up until just last week we've had one machine handling all of our virtual > hosted web customers.. the machine handled all websites and email > accounts. Now I've added a second machine which will serve a new set of > virtual host customers, but I want to keep the email boxes for their > domain on the old machine. > > 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? > > -- > Dan Roberts, http://gwis.com/~droberts Gateway to Internet Services > sysadmin/ircadmin, barovia.oh.us.dal.net for Internet access in NE Ohio > http://barovia.dal.net - Strahd on DALnet http://www.gwis.com >