LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-05-2003, 09:59 AM   #31
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31

you have a DNS problem

let us see your /etc/resolv.conf
 
Old 12-05-2003, 10:00 AM   #32
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
what is the line where you put smtp.trantv.mail.yahoo.com?
 
Old 12-05-2003, 10:06 AM   #33
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
in my resolv.conf I have:

nameserver 192.168.0.61
nameserver 192.168.1.112

As for trantv.mail.yahoo.com i put in the line in the sendmail.mc:


divert(-1)dnl
dnl #
dnl # This is the sendmail macro config file for m4. If you make changes to
dnl # /etc/mail/sendmail.mc, you will need to regenerate the
dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf package is
dnl # installed and then performing a
dnl #
dnl # make -C /etc/mail
dnl #
dnl # Changed the line below to match path of where file exists
include(`/usr/sendmail-8.12.10/cf/m4/cf.m4')dnl
VERSIONID(`setup for Red Hat Linux')dnl
OSTYPE(`linux')dnl
dnl #
dnl # Uncomment and edit the following line if your outgoing mail needs to
dnl # be sent out through an external mail server:
dnl #
define(`SMART_HOST',`smtp.trantv.mail.yahoo.com')

blah
blah
blah

r,
TT


 
Old 12-05-2003, 10:09 AM   #34
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
ok, comment out this line of smart host, re-build your sendmail.cf and retry, then, check your logs
 
Old 12-05-2003, 10:17 AM   #35
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
I commented out the smart host line rebuild sendmail.cf and stop and restarted. I tried to send an email and I got look in the maillog file and it
displays:


Dec 5 10:16:46 timedb sendmail[723]: alias database /etc/aliases rebuilt by trantv

Dec 5 10:16:46 timedb sendmail[723]: /etc/aliases: 63 aliases, longest 10 bytes, 625 bytes total

Dec 5 10:16:46 timedb sendmail[736]: starting daemon (8.12.8): SMTP+queueing@01:00:00

Dec 5 10:16:46 timedb sm-msp-queue[745]: starting daemon (8.12.8): queueing@01:00:00

Dec 5 10:16:56 timedb sendmail[749]: hB5GGusN000749: from=root@localhost, size=192, class=0, nrcpts=1, msgid=<200312051616.hB5GGusN000749@localhost.localdomain>,
proto=SMTP, daemon=MTA, relay=timedb [127.0.0.1]

Dec 5 10:16:56 timedb sendmail[751]: hB5GGusN000749: to=trantv826@hotmail.com, ctladdr=root@localhost (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30112, relay=mx4.hotmail.com. [65.54.167.230], dsn=4.0.0, stat=Deferred: mx4.hotmail.com.: Network is unreachable

r,
TT
 
Old 12-05-2003, 10:22 AM   #36
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
you've got a network problem, not a sendmail problem.

your gateway is correctly setted?

maybe look at this tread.
http://www.linuxquestions.org/questi...hreadid=122287
 
Old 12-05-2003, 10:29 AM   #37
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15


Yeah I also originally created that thread, but thanks anyhow

r,
TT
 
Old 12-05-2003, 10:33 AM   #38
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
try to stick with one tread...
 
Old 12-05-2003, 10:36 AM   #39
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
Okay,

I thought you noticed, but thanks ALOT anyhow!

One final question? so you are saying if my server is not under a registered domain it will have not affect when I'm trying to send email
to different mail servers? That I should still be able to send email to the outside(aol,yahoo,hotmail) with or without a registered domain?

r,
TT

Last edited by tt826; 12-05-2003 at 10:42 AM.
 
Old 12-05-2003, 10:39 AM   #40
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
I was working on 4 different treads so no, I didn't.

No prob.
 
Old 12-05-2003, 10:39 AM   #41
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
You should be able to send mail even without a registred domain.
 
Old 12-05-2003, 10:52 AM   #42
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
I was talking to my network admin the other day and he mentioned that since the server is not a registered domain and address by IP that most sites will not accept my email? He said I can try certain sites that may not check for a registered domain and this is where I am currently at, just trying to see if I can send email to other mail servers. I want your input on this?

Last edited by tt826; 12-05-2003 at 10:56 AM.
 
Old 12-05-2003, 11:13 AM   #43
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
well, first thing is to have a reverse dns entry.

Second, make sure the adress you use to send mail has a domain that exist. It should be ok then.
 
  


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
Sendmail - Can receive external, no local mail though macdonalder Linux - Software 2 11-18-2005 03:04 AM
sendmail server unable to receive external mail goonfui_wong Linux - Networking 7 07-01-2005 02:15 AM
Sendmail - problem receiving external mail manudath Linux - Wireless Networking 7 12-21-2004 01:14 PM
sendmail and external mail server levand Linux - Networking 10 12-17-2004 09:45 AM
configure sendmail to use external mail server Drogo Linux - Software 0 09-16-2004 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:30 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