We recently ditched M$Exchange and went to googleApps. Unfortunately we have
some windows servers that need to send notification emails, but can't use
TLS.

I setup postfix on an ubuntu 10.04 server. It is configured to send all
outbound email to google apps. This works without a problem. And I have the
windows servers using postfix server successfully.

The issue I have is that all mail is sent as one user (the one from the
sasl_password file [googleappu...@mydomain.com]).

For example : server01 is using the postfix server smtp on port 25 (non TLS)
to send emails. Instead of receiving an email from server01u...@mydomain.com,
I'm receiving the email from googleappu...@mydomain.com.

Am I trying to do something I should not? I'm new to postfix, so there must
be a concept that I'm missing here.

#postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
inet_protocols = all
mailbox_size_limit = 0
mydestination = postfix-test01, localhost.localdomain, localhost
myhostname = postfix-test01
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost = [smtp.gmail.com]:587
 smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_password
smtp_sasl_security_options = noanonymous
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes

--
Jean-Francois Cantin

Reply via email to