notsomeone
November 30th, 2008, 03:18 AM
Anybody know how to connect to smtp.gmail.com with multiple email accounts? I have two domains with Google Apps, and I want my web server to be able to send mail from either one, but the smtp server is the same, so I can't list two accounts in the sasl_passwd file. Postfix complains about duplicate entries even though it's like:
smtp.gmail.com:587 oneguy@thisplace.com
smtp.gmail.com:587 someone@example.com
I found this setting "smtp_sender_dependent_authentication" while I was reading the documentation, and I think that could work, but I can't figure it out. I've been at this for three hours and that's enough for one night.
smtp.gmail.com:587 oneguy@thisplace.com
smtp.gmail.com:587 someone@example.com
I found this setting "smtp_sender_dependent_authentication" while I was reading the documentation, and I think that could work, but I can't figure it out. I've been at this for three hours and that's enough for one night.