Date: Thu, 28 Feb 2008 12:06:36 +0100 From: Nicolas KOWALSKI <niko@petole.dyndns.org> To: freebsd-questions@FreeBSD.org Subject: Re: relay through gmail Message-ID: <87ir09wdab.fsf@petole.dyndns.org> In-Reply-To: <15731983.post@talk.nabble.com> References: <15731983.post@talk.nabble.com>
next in thread | previous in thread | raw e-mail | index | archive | help
cuongvt <cuongvt@fpt.vn> writes: > 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? First declare your userB@xxx.dyndns.com account as an additional account in the Gmail interface. Second, configure postfix to send mail from userB@xxx.dyndns.com through gmail smtp server. In /etc/postfix/main.cf: smtp_sender_dependent_authentication = yes smtp_sasl_auth_enable = yes smtp_sasl_security_options = noanonymous sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay smtp_sasl_password_maps = hash:/etc/postfix/sender_relay_auth /etc/postfix/sender_relay: userB@xxx.dyndns.com [smtp.gmail.com]:587 /etc/postfix/sender_relay_auth: userB@xxx.dyndns.com userA:password_of_userA_on_gmail -- Nicolas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ir09wdab.fsf>