LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to send mail to my gmail account through sendmail (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-send-mail-to-my-gmail-account-through-sendmail-698518/)

shridhar005 01-19-2009 11:41 PM

how to send mail to my gmail account through sendmail
 
I have configured my sendmail server, which works fine in internal domain
however what should I change in configuration file of sendmail to send an email to my gmail account or yahoo, rediff accounts

my domain name is 'localhost.localdomain'
network is class C

duryodhan 01-20-2009 12:06 AM

just send a mail to <whatever>@gmail.com


if you have a connection to the internet (not via some HTTP proxy etc.) then it should work

shridhar005 01-20-2009 12:35 AM

Im sending mail as follows

#
Quote:

mail -s "hello" littlewizardworld[EMAIL="littlewizardworld@gmail.com"[/EMAIL]
but it wont work .It give connection failure error

shridhar005 01-21-2009 03:22 PM

while mail to gmail goes in spam ,however reverse is not happening i.e. mail from gmail to localmail isnt coming.

TB0ne 01-21-2009 03:54 PM

Quote:

Originally Posted by shridhar005 (Post 3416582)
while mail to gmail goes in spam ,however reverse is not happening i.e. mail from gmail to localmail isnt coming.

Why would it, unless you set up your server to be an internet mail host, register the domain, and set up a mail server??? You could set up fetchmail to pull mail from gmail down to your local server, though...

shridhar005 01-22-2009 05:52 AM

Well thanks for advise


All times are GMT -5. The time now is 08:15 AM.