From owner-freebsd-questions@FreeBSD.ORG Thu Feb 28 08:53:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A834106566B for ; Thu, 28 Feb 2008 08:53:42 +0000 (UTC) (envelope-from thichgaisinhnam7x@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id 4C3168FC21 for ; Thu, 28 Feb 2008 08:53:42 +0000 (UTC) (envelope-from thichgaisinhnam7x@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so2982665wfa.7 for ; Thu, 28 Feb 2008 00:53:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:message-id:date:user-agent:mime-version:to:subject:content-type:content-transfer-encoding:from; bh=/YWuUba0o7nqFSWdmYUe1oRk1CsbMhbzceJSrT421qY=; b=VVCtfUKndudspYMAbNfXpKkBXaWnfNaY/Kwp7+MLVvz59qBkjrg1YYdionNuJm9ckR2oGwPJCtdkUFTaZXP0hcabLJC4jjFe6IR2v0jptOcu92ikS++1I27tQSkYn+YSjIHUFwwMBc+soOd0URe0OyPfMzO9i+NxSwY/WrtlVkQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:subject:content-type:content-transfer-encoding:from; b=pRWUg2NRvyKDN98xJy9QUVXApL4/zF/h4ErE9lStm23EMRu+uAX7zRgg2k2+SgPnIAnNJEkXpLIK7TF2sN5AJdSCOpGGAG/QrUPMXD0327+RTrnIIy9uUiXCnvBCDjHkRlu0fE9u+Kt9nKE8BB2IB86mS4jMHRCT8WhpgkevJu8= Received: by 10.142.126.17 with SMTP id y17mr6147789wfc.170.1204187183588; Thu, 28 Feb 2008 00:26:23 -0800 (PST) Received: from blog.dnsdojo.com ( [118.71.102.26]) by mx.google.com with ESMTPS id 30sm15046564wfa.2.2008.02.28.00.26.20 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Feb 2008 00:26:22 -0800 (PST) Received: from [192.168.0.1] (hanhnhu.local [192.168.0.1]) by blog.dnsdojo.com (Postfix) with ESMTP id DF63E3EE081 for ; Thu, 28 Feb 2008 15:26:16 +0700 (ICT) Message-ID: <47C67028.9090109@blog.dnsdojo.com> Date: Thu, 28 Feb 2008 15:26:16 +0700 User-Agent: Thunderbird 1.5.0.12 (X11/20070719) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit From: vuthecuong Subject: relay through gmail 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: Thu, 28 Feb 2008 08:53:42 -0000 I have 1 dynamic IP address at dyndns.com (xxx.dyndns.com) and 1 gmail account (userA@gmail.com) And I successfully setup my postfix so that when I send mail to outside, my postfix will relay through userA@gmail.com. When recipients received my mails and open them, the mail address in "from" of theses mails is userA@gmail.com, not userB@xxx.dyndns.com. So I want to change so that when recipients received my mails and open them, the mail address in "from" of theses mails is userB@xxx.dyndns.com, not userA@gmail.com. Is there a way to do that? Regard, ---------------------------------- Below is my config related to above content: relayhost = smtp.gmail.com smtp_use_tls = yes smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous smtp_tls_CAfile = /etc/postfix/ssl/ThawtePremiumServerCA.pem