LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-24-2012, 11:22 AM   #1
Registered: May 2009
Distribution: CentOS
Posts: 55

Rep: Reputation: 2
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 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

And when www-data user sends an email it should go from <someemail>, 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



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Using Gmail as a relay server RandomTroll Linux - Software 1 10-31-2011 08:02 PM
Configure sendmail as gmail relay mexx20 Slackware 1 02-14-2009 10:01 AM
postfix relay thru gmail NeptunEz Linux - Networking 17 12-09-2006 09:10 AM
Postfix for Gmail relay Sinedie Linux - Server 1 11-16-2006 11:51 PM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 04:54 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration