cuongvt <[EMAIL PROTECTED]> 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
> [EMAIL PROTECTED], not [EMAIL PROTECTED]
> Is there a way to do that?

First declare your [EMAIL PROTECTED] account as an additional
account in the Gmail interface.

Second, configure postfix to send mail from [EMAIL PROTECTED]
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:

[EMAIL PROTECTED]    [smtp.gmail.com]:587


/etc/postfix/sender_relay_auth:

[EMAIL PROTECTED]    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 "[EMAIL PROTECTED]"

Reply via email to