LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-19-2009, 11:41 PM   #1
shridhar005
Member
 
Registered: Jul 2008
Posts: 90

Rep: Reputation: 17
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
 
Old 01-20-2009, 12:06 AM   #2
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
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
 
Old 01-20-2009, 12:35 AM   #3
shridhar005
Member
 
Registered: Jul 2008
Posts: 90

Original Poster
Rep: Reputation: 17
Im sending mail as follows

#
Quote:
mail -s "hello" littlewizardworld[EMAIL="littlewizardworld@gmail.com"[/EMAIL]
but it wont work .It give connection failure error
 
Old 01-21-2009, 03:22 PM   #4
shridhar005
Member
 
Registered: Jul 2008
Posts: 90

Original Poster
Rep: Reputation: 17
while mail to gmail goes in spam ,however reverse is not happening i.e. mail from gmail to localmail isnt coming.
 
Old 01-21-2009, 03:54 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 25,628

Rep: Reputation: 7641Reputation: 7641Reputation: 7641Reputation: 7641Reputation: 7641Reputation: 7641Reputation: 7641Reputation: 7641Reputation: 7641Reputation: 7641Reputation: 7641
Quote:
Originally Posted by shridhar005 View Post
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...
 
Old 01-22-2009, 05:52 AM   #6
shridhar005
Member
 
Registered: Jul 2008
Posts: 90

Original Poster
Rep: Reputation: 17
Well thanks for advise
 
  


Reply


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
How to configure sendmail only to send mail to external mail account Nivix Linux - Newbie 2 10-23-2008 12:46 AM
how to have sendmail use pop account to send mail xchido Linux - Server 1 03-26-2008 08:14 PM
Can't send e-mail to hotmail, msn but work with yahoo and gmail taydu3000 Linux - Server 3 07-17-2007 10:38 PM
Mail server on vanity domain that forwards to gmail account matt! Linux - Software 1 05-22-2006 12:54 PM
Sendmail Can't Send Mail To My Isp Account paperdiesel Linux - Software 5 04-14-2004 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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