It's like this:
I successfully managed to use sendmail to relay emails using my gmail account, by configuring sendmail.mc to look into authinfo.db file.
But now I want to use two "or more" of my gmail accounts to relay emails from the server "Ubuntu 10.11".
The chose between these two or more gmail accounts, should happen when a specific user in my linux box tries to send email.
I mean, when for example my rancid username tries to send an email it should go from email@example.com
And when www-data user sends an email it should go from <someemail>@example.com, and so forth.
Can you please help me, or direct me to something useful? I tried to google it but I didn't find anything.
Thanks in advance guys