Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2008 15:35:45 +0700
From:      vuthecuong <thichgaisinhnam7x@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   relay through gmail
Message-ID:  <47C67261.8090406@blog.dnsdojo.com>
In-Reply-To: <47C67028.9090109@blog.dnsdojo.com>
References:  <47C67028.9090109@blog.dnsdojo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I have 1 dynamic IP address at dyndns.com (xxx.dyndns.com)
and 1 gmail account (us...
<http://groups.google.com/groups/unlock?msg=bb475e48f8724b3f&_done=/group/list.postfix.users/browse_thread/thread/4c122b90b1e5b59a>@gmail.com)

And I successfully setup my postfix so that when
I send mail to outside, my postfix will relay through us...
<http://groups.google.com/groups/unlock?msg=bb475e48f8724b3f&_done=/group/list.postfix.users/browse_thread/thread/4c122b90b1e5b59a>@gmail.com.

When recipients received my mails and open them, the mail address
in "from" of theses mails is us...
<http://groups.google.com/groups/unlock?msg=bb475e48f8724b3f&_done=/group/list.postfix.users/browse_thread/thread/4c122b90b1e5b59a>@gmail.com,
not
us...
<http://groups.google.com/groups/unlock?msg=bb475e48f8724b3f&_done=/group/list.postfix.users/browse_thread/thread/4c122b90b1e5b59a>@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...
<http://groups.google.com/groups/unlock?msg=bb475e48f8724b3f&_done=/group/list.postfix.users/browse_thread/thread/4c122b90b1e5b59a>@xxx.dyndns.com,
not us...
<http://groups.google.com/groups/unlock?msg=bb475e48f8724b3f&_done=/group/list.postfix.users/browse_thread/thread/4c122b90b1e5b59a>@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47C67261.8090406>