From owner-freebsd-questions@FreeBSD.ORG Tue Jul 12 10:13:53 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 708B216A41F for ; Tue, 12 Jul 2005 10:13:53 +0000 (GMT) (envelope-from i.tanusheff@procreditbank.bg) Received: from mail.procreditbank.bg (mail.procreditbank.bg [212.95.179.198]) by mx1.FreeBSD.org (Postfix) with SMTP id 0B5DF43D4C for ; Tue, 12 Jul 2005 10:13:50 +0000 (GMT) (envelope-from i.tanusheff@procreditbank.bg) Received: (qmail 26257 invoked from network); 12 Jul 2005 13:13:49 +0300 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 12 Jul 2005 13:13:49 +0300 Received: from proxy.procreditbank.bg ([127.0.0.1]) by localhost (mail.procreditbank.bg [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 99453-616 for ; Tue, 12 Jul 2005 13:13:48 +0300 (EEST) Received: (qmail 26245 invoked from network); 12 Jul 2005 10:13:48 -0000 Received: from unknown (HELO outmail.procreditbank.bg) (172.16.248.123) by mail.procreditbank.bg with SMTP; 12 Jul 2005 10:13:48 -0000 In-Reply-To: <20050711152504.83053.qmail@web33104.mail.mud.yahoo.com> To: DH MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.1 January 21, 2004 From: Ivailo Tanusheff Message-ID: Date: Tue, 12 Jul 2005 13:13:42 +0300 X-MIMETrack: Serialize by Router on DOMINO_HQ/PROCREDITBANK(Release 6.5.1|January 21, 2004) at 07/12/2005 01:13:48 PM, Serialize complete at 07/12/2005 01:13:48 PM X-Virus-Scanned: by amavisd-new using ClamAV at procreditbank.bg Content-Type: text/plain; charset="US-ASCII" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: 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: Tue, 12 Jul 2005 10:13:53 -0000 Just reroute mail to "$DEFAULT@newdomain.local" This must do the job for you :) Ivailo Tanusheff Senior System administrator ProCredit Bank (Bulgaria) AD tel. +359 2 921 7161 fax +359 2 921 7110 http://www.procreditbank.bg Disclaimer: The information contained in this message is intended solely for the use of individual or entity to whom it is addressed and other authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this message is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. ProCredit Bank is neither liable for the proper and complete transmission of the information contained in this message nor for any delay in its receipt. DH Sent by: owner-freebsd-questions@freebsd.org 07/11/2005 06:25 PM To freebsd-questions@freebsd.org cc Subject Internal vs. External domains and e-mail 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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"