From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 20:00:04 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 A9B4116A419 for ; Fri, 7 Dec 2007 20:00:04 +0000 (UTC) (envelope-from noeldude@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 7D4AC13C448 for ; Fri, 7 Dec 2007 20:00:04 +0000 (UTC) (envelope-from noeldude@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so861063rvb for ; Fri, 07 Dec 2007 12:00:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=AOaUyagd1IZNEkYjZG9u0TtyXDchXf7y5vaVA06Rv7g=; b=WrZJG47p2XWuzmMrn/ZQgRCurdgkqGd7jnc3rmaZXP0t2LCi4YBOsuNBQzyANqF0xEpjD+1Cps4FBmDQn1dmj8rWqwuoLKMMZOYJGj1cokIiArpEydjWVkvrl9gnNnDmQM0DbZoflYB7mlDGgkIH05N4r4xftSlqh7eRltkUA/Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fr5TugZrXVkuBqN5tXPPEnZ3Wx18eysHF3LxMHyasYv8Gpx8e/jul2W0W5uPx3XItQAd7RFe2ypaxP91U2SqO1IMTsmjtyDiGzk3sUg+nn7Vs3Vu+xwmlSnNawXLZwENYXvM6uw+1XimDhWJu2/EeEKhMAlG7MIcjX9FDQn2qNQ= Received: by 10.140.142.4 with SMTP id p4mr2880819rvd.1197056005570; Fri, 07 Dec 2007 11:33:25 -0800 (PST) Received: by 10.140.252.12 with HTTP; Fri, 7 Dec 2007 11:33:25 -0800 (PST) Message-ID: Date: Fri, 7 Dec 2007 13:33:25 -0600 From: "Noel Jones" To: "Clint Olsen" In-Reply-To: <20071207182353.GA90102@0lsen.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071207182353.GA90102@0lsen.net> 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 20:00:04 -0000 On Dec 7, 2007 12:23 PM, Clint Olsen wrote: > I essentially want to rewrite all envelope senders of the form: > > @host.my.domain > > to just > > @my.domain 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" -- Noel Jones