Hi,
I have setup a postfix relay to allow us t send some of our mail to google
My main.cf looks like this
inet_protocols = ipv4
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
mailbox_size_limit = 0
readme_directory = no
mydomain = blah.com
myorigin = blah.com
mynetworks = /etc/postfix/mynetworks
smtpd_banner = $myhostname ESMTP
sender_dependent_relayhost_maps = hash:/etc/postfix/relay_by_sender
mydestination =
relay_domains = $myhostname /etc/postfix/our_domains
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
compatibility_level = 2
# Is this left blank by design
smtp_sasl_security_options =
# Random choose a account to avoid sender limits
smtp_sasl_password_maps = pipemap:{
inline:{ { [smtp.gmail.com]:587 = [email protected]:password } },
randmap:{ [email protected]:password, [email protected]:password} }
It was done with the Round Robbin to avoid any sending limit of google. but
i am seeing that some email are coming through as from
[email protected]/[email protected]/etc instead of the original from address
I have missed something
Thanks