From owner-freebsd-questions@FreeBSD.ORG Thu Feb 28 08:43:17 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 8B4A71065680 for ; Thu, 28 Feb 2008 08:43:17 +0000 (UTC) (envelope-from thichgaisinhnam7x@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id 5671B8FC1C for ; Thu, 28 Feb 2008 08:43:11 +0000 (UTC) (envelope-from thichgaisinhnam7x@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so2976432wfa.7 for ; Thu, 28 Feb 2008 00:43:11 -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:references:in-reply-to:content-type:from; bh=DQyAFhk/Ftv4pZMdOGpZFlJbFxukhognUHSxvnEVwA4=; b=ESWufCev+FHLvGQkLzJuqabN3RKa+ZBfEqfERNapLmRXIuJ+RTpvIWvrvZLCYeqwxqardBMCdgzqPwaIJ7KdpHD62gOLKpkvprQY4AbBHUsnp9EzPva85w6gqNlGxS67srkdQa89EzFZvMRgcSeU2qOM6O7iPalfvCLWmPVnUcw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:subject:references:in-reply-to:content-type:from; b=I9xZhWJZMf3f7xpezQx1FU2b0z0ksEsVPW+v56J3F+hiduli4boFrSArJS+QJAQL5HhcSAC0bGC/HI7MZLEdWQW4zsMJETuTocNrIA6AbSsHxhf6+XMtuXJgN7eQIXxLHxBLH2ayyZ6l1pbpW4coDFmwWIzoc4IolrmiXV+N39c= Received: by 10.142.52.9 with SMTP id z9mr6150032wfz.134.1204187752991; Thu, 28 Feb 2008 00:35:52 -0800 (PST) Received: from blog.dnsdojo.com ( [118.71.102.26]) by mx.google.com with ESMTPS id 29sm15097624wfg.9.2008.02.28.00.35.49 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Feb 2008 00:35:51 -0800 (PST) Received: from [192.168.0.1] (hanhnhu.local [192.168.0.1]) by blog.dnsdojo.com (Postfix) with ESMTP id CAA433EE081 for ; Thu, 28 Feb 2008 15:35:45 +0700 (ICT) Message-ID: <47C67261.8090406@blog.dnsdojo.com> Date: Thu, 28 Feb 2008 15:35:45 +0700 User-Agent: Thunderbird 1.5.0.12 (X11/20070719) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <47C67028.9090109@blog.dnsdojo.com> In-Reply-To: <47C67028.9090109@blog.dnsdojo.com> From: vuthecuong Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:43:17 -0000 I have 1 dynamic IP address at dyndns.com (xxx.dyndns.com) and 1 gmail account (us... @gmail.com) And I successfully setup my postfix so that when I send mail to outside, my postfix will relay through us... @gmail.com. When recipients received my mails and open them, the mail address in "from" of theses mails is us... @gmail.com, not us... @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 us... @xxx.dyndns.com, not us... @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