From owner-freebsd-questions@FreeBSD.ORG Wed Feb 23 17:30:30 2005 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 B508D16A4CE for ; Wed, 23 Feb 2005 17:30:30 +0000 (GMT) Received: from helium.webpack.hosteurope.de (helium.webpack.hosteurope.de [217.115.142.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0475C43D4C for ; Wed, 23 Feb 2005 17:30:30 +0000 (GMT) (envelope-from me@hexren.net) Received: by helium.webpack.hosteurope.de running Exim 4.34 using asmtp helo=hexren.steenbuck.net) id 1D40LE-0002BQ-D9; Wed, 23 Feb 2005 18:30:28 +0100 Date: Wed, 23 Feb 2005 18:30:27 +0100 From: Hexren X-Mailer: The Bat! (v1.62i) Business X-Priority: 3 (Normal) Message-ID: <124566255.20050223183027@hexren.net> To: "Gerard Meijer" In-Reply-To: <0d6501c519cd$01466d70$9600000a@guus> References: <0d6501c519cd$01466d70$9600000a@guus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: get local sendmail to use MX records X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Hexren List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2005 17:30:30 -0000 GM> Hi, GM> I have the following situation: GM> I have moved my mail services from my dedicated server to another server. The MX records were updated at the DNS host to point to the other server. Email from the outside is being routed GM> correctly to the new server, but now the local scripts on the dedicated server are still being routed to the local accounts and not actually sent to the other server. GM> So sendmail on the first server tries to use localhost as a relay, instead of looking up the MX records for the domain. GM> Anybody knows how to solve this? GM> Thanks! GM> Gerard GM> _______________________________________________ GM> freebsd-questions@freebsd.org mailing list GM> http://lists.freebsd.org/mailman/listinfo/freebsd-questions GM> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" --------------------------------------------- Quick and dirty: /etc/mail/aliases putting in something like "root: root@example.com" should do the trick. Or am I missing something ? Hexren