On Thu, Mar 19, 2015 at 10:17:20AM +0100, Michael Storz wrote: > >They've replaced the envelope and header "From:" address with the > >gmail account address. Replies and bounces go to the email address > >for the login account, not the envelope sender. This is not a > >multi-user solution (yes it works fine for system accounts on a > >personal machine). > > I checked my logs and I am finding a lot of mails which come from a Google > mail server, where the "Mail From:" contains u...@gmail.com and the > From-Header is user@private_domain. Therefore this mapping is not made for > all mails.
Which merely goes to confirm what I said, the OP's problem is not a Postfix problem, it is a Gmail account provisioning problem, or alternatively a user re-education problem. Choose one. * Gmail Apps domain account setup provisions a server login or other access mechanism that allows the server to send as multiple Gmail users. OR * Users submit directly via Gmail, obviating any need to route via Gmail on the server. OR * Users' outgoing email from the server is not addressed with Gmail sender addresses. Replies go back to the server. -- Viktor.