LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Using sendmail to relay emails from two separate gmail accounts? (http://www.linuxquestions.org/questions/linux-software-2/using-sendmail-to-relay-emails-from-two-separate-gmail-accounts-936204/)

Tarikc 03-24-2012 11:22 AM

Using sendmail to relay emails from two separate gmail accounts?
 
Hi everybody,

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 rancid@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


All times are GMT -5. The time now is 08:07 PM.