From owner-freebsd-questions@FreeBSD.ORG Mon Jul 11 15:25:07 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 534AA16A41F for ; Mon, 11 Jul 2005 15:25:07 +0000 (GMT) (envelope-from dhutch9999@yahoo.com) Received: from web33104.mail.mud.yahoo.com (web33104.mail.mud.yahoo.com [68.142.206.85]) by mx1.FreeBSD.org (Postfix) with SMTP id F070043D4C for ; Mon, 11 Jul 2005 15:25:04 +0000 (GMT) (envelope-from dhutch9999@yahoo.com) Received: (qmail 83056 invoked by uid 60001); 11 Jul 2005 15:25:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=N1DF6jtrbi4kPnl54AVpBzvX3osGLgu6pwRAL3tyUfAOj+BzI/uEACAbFDzN73NrjCcM90w49CfCNfxyGCBAtbM4KpzvspyESAagldEx4Y0a9eXnfXs17fxIygjXD7siL4i5Q+5C2xHSHkUXd7xbbIoqzKQjnoCZHp9c+JKoEog= ; Message-ID: <20050711152504.83053.qmail@web33104.mail.mud.yahoo.com> Received: from [12.153.72.219] by web33104.mail.mud.yahoo.com via HTTP; Mon, 11 Jul 2005 08:25:03 PDT Date: Mon, 11 Jul 2005 08:25:03 -0700 (PDT) From: DH To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Internal vs. External domains and e-mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2005 15:25:07 -0000 Hello; We are going to migrate to an Interal Windows 2003 AD structure which will also entail changing our Internal DNS to a "non-routeable" domain. Currently we are using qmail & qmail-scanner to relay mail to an Internal Exchange Server. mydomain.com | |-----------------------| I-Net -> FBSD4.11/qmail/qmail-scanner -> MS Exchange I am looking for a way to rewrite the "From" header on mail originating from the Exchange box to change the non-routeable domain name to that of our External domain. mydomain.com newdomain.local | | I-Net <-> FBSD4.11/qmail/qmail-scanner <-> MS Exchange Any mail originating from the Exchange Server and going to the I-Net should have its "From" header rewritten: From: user@newdomain.local to From: user@mydomain.com I've seen a number of postings at various sites ( qmail.org etc) and very little in the way of answers vis a vie qmail. If anyone has experience with this problem I'd sure appriciate some guidance. If I have to migrate to another e-mail packack such as ProcMail I'm willing to do so but would rather not ( a lot of effort spent on my qmail-attachments.txt file ). Thank you for your time - Please CC any response to my address - I am not a member of this group. David Hutchens III Network Technician DRS Surveillance Support Systems - A division of DRS Technologies. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com