From owner-freebsd-questions@FreeBSD.ORG Thu Feb 28 13:11:55 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 53CE4106566B for ; Thu, 28 Feb 2008 13:11:55 +0000 (UTC) (envelope-from thichgaisinhnam7x@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id C74218FC13 for ; Thu, 28 Feb 2008 13:11:54 +0000 (UTC) (envelope-from thichgaisinhnam7x@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so311567uge.37 for ; Thu, 28 Feb 2008 05:11:53 -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:references; bh=7v+IbgwpC88qaioIfV6sfW7hNHGcsvcogK3Vl+jh4Mo=; b=bM0Dn0c0zRrfU94gVGN9Y59KuOlJ//9BEYVHZQxmSv21wCn8OOF21tITWJbA+DD3sBEyew/BFiq8lY1tS0TAbOPp1IcKXa5kqr8HmeFURtKv9Bc6tV4GB/OCksWyjtZ9p43Zh8XULK5i38VUgFJi56T6Lx4FZPzzeyIT5lbwoOo= 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:references; b=dPG3Xo0iTgwv2iS0jIzZuKW5S5PXqKoy25x7gQOuRfJS1b9C0xXKZxwp389Fu00FJATJ0cOtH6OPIUo41Kl1x6bmws6ND4Ep94aP0DGkgMKNMBJE7wYxJNc09IMBiwAcruEzTjAPV5OpL+xznacclFH0/IX4x6grFmGaUoCDQqM= Received: by 10.78.190.10 with SMTP id n10mr8171053huf.16.1204204312754; Thu, 28 Feb 2008 05:11:52 -0800 (PST) Received: by 10.78.200.16 with HTTP; Thu, 28 Feb 2008 05:11:52 -0800 (PST) Message-ID: Date: Thu, 28 Feb 2008 20:11:52 +0700 From: "Vu The Cuong" To: "Nicolas KOWALSKI" In-Reply-To: <87ir09wdab.fsf@petole.dyndns.org> MIME-Version: 1.0 References: <15731983.post@talk.nabble.com> <87ir09wdab.fsf@petole.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: 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 13:11:55 -0000 On Thu, Feb 28, 2008 at 6:06 PM, Nicolas KOWALSKI wrote: > cuongvt 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > >First declare your userB@xxx.dyndns.com account as an additional >account in the Gmail interface. How do I declare my userB@xxx.dyndns.com account as an additional account in the Gmail interface. I don't quite understand what you mean. Could you be more specific? I think it is not able to create in Gmail with different domain something like dyndns.com etc Thank you