From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 21:38:53 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 852CE16A469 for ; Fri, 7 Dec 2007 21:38:53 +0000 (UTC) (envelope-from clint@0lsen.net) Received: from QMTA03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by mx1.freebsd.org (Postfix) with ESMTP id 2BE3913C46B for ; Fri, 7 Dec 2007 21:38:52 +0000 (UTC) (envelope-from clint@0lsen.net) Received: from OMTA06.westchester.pa.mail.comcast.net ([76.96.62.51]) by QMTA03.westchester.pa.mail.comcast.net with comcast id MtMh1Y00G16LCl0050QK00; Fri, 07 Dec 2007 21:38:51 +0000 Received: from belle.0lsen.net ([24.20.127.157]) by OMTA06.westchester.pa.mail.comcast.net with comcast id Mxer1Y0073Pt6RU0300000; Fri, 07 Dec 2007 21:38:51 +0000 X-Authority-Analysis: v=1.0 c=1 a=z1BcIlB46bYA:10 a=gmDo1nssAAAA:8 a=md0n894v6k5OfAugUfAA:9 a=TNVk3V0yZdFGOu5DnqxRb-isgAYA:4 a=LY0hPdMaydYA:10 Received: by belle.0lsen.net (Postfix, from userid 1001) id D2B6379038; Fri, 7 Dec 2007 13:38:50 -0800 (PST) Date: Fri, 7 Dec 2007 13:38:50 -0800 From: Clint Olsen To: Noel Jones Message-ID: <20071207213850.GC97785@0lsen.net> References: <20071207182353.GA90102@0lsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Organization: NULlsen Network X-Disclaimer: Mutt Bites! Cc: questions@freebsd.org Subject: Re: Hopefully an easy header rewriting problem for Postfix 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: Fri, 07 Dec 2007 21:38:53 -0000 On Dec 07, Noel Jones wrote: > http://www.postfix.org/ADDRESS_REWRITING_README.html#masquerade > > Looks like exactly what you describe. > > Just set in main.cf: masquerade_domains = my.domain and then run > "postfix reload" Yes! This looks like it does what I want! I completely forgot about the masquerade feature in Sendmail. Thanks a lot for this. Incidentally, the reason why I ran into this problem was because I absolutely cannot get GNU Mailman to stop using host.my.domain in the mail dispatch section (yes, I have modified mm_cfg.py), and this was totally messing up Postfix and causing it to trigger all sorts of spam filtering checks that should not have been invoked. I realized I technically had a hole in my config and I didn't want to have to fix every single client that might send mail through my server. Thanks again, -Clint