Sendmail- RH8.0- Looking for relay on localhost.com
Installed RH8. When I tr to send mail, (using sendmail -v user@domain.com) the server is looking for "localhost.com" wich, of course, cannot be resolved. The /etc/host is there and references localhost (at 127.0.0.1, the default).
Any Idea? |
maybe it's something to do with your domainname
this is what I see on mine, is that where you are seeing it? Code:
sendmail -v david@hotmail.com |
I get:
david@hotmail.com... Connecting to localhost.com. via relay... I eventually get an error messages that the name does not exist. My domain is defined. This server was running 7.2. Mail worked fine. I formatted a new hard disk using 8.0, and gave it the real host name of my domain. I can ping anywhere and the server is visible. On the old server, I get: rturenne99@hotmail.com... Connecting to mx1.hotmail.com. via esmtp... 220 mc5-f26.law1.hotmail.com Microsoft ESMTP MAIL Service, Version: 5.0.2195.5600 ready at Wed, 25 Dec 2002 07:20:39 -0800 What changed between the two versions? |
It must just be the sendmail.cf that's different
|
Actually, sendmail.cf (although I modify .mc only) is the same on both systems. I will compare the .cf files and try to find what module is different.
'let you know. |
I normally use postfix.
I just remembered that I did have trouble with my sendmail on slack 8.1, not sure if it's installed the same, but it sounds like the same problem here's what I did http://www.linuxquestions.org/questi...892#post182892 |
I am now reinstalling RH8.0
I will try from a fresh install. If it still doesn't work, I will try postfix. I can't beleive I'm the only one with this question!!! I have done the same install on two different computers in two different network environments! |
David, what is the content of linux.smtp.mc in your example in the link you posted?
|
Hey, I don't know how but the .mc files are gone.
the entire /cf/ folder is gone I'm gonna open the package and get them back I guess. Let you know in a few minutes |
ok not much to it. Here it is
must be the always add domain line Code:
include(`../m4/cf.m4') |
I remember now, I uninstalled the sendmail-cf package
:) |
After a fresh install I get:
Dec 26 09:13:25 localhost sendmail[942]: gBQEDPtG000942: from=root, size=58, class=0, nrcpts=1, msgid=<200212261413.gBQEDPtG000942@localhost.localdomain>, relay=root@localhost Dec 26 09:13:25 localhost sendmail[944]: gBQEDPiS000944: from=<root@localhost.localdomain>, size=360, class=0, nrcpts=1, msgid=<200212261413.gBQEDPtG000942@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1] Dec 26 09:13:25 localhost sendmail[942]: gBQEDPtG000942: to=rawbear99@hotmail.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30051, relay=localhost.localdomain. [127.0.0.1], dsn=2.0.0, stat=Sent (gBQEDPiS000944 Message accepted for delivery) but it sits in the mailq... It is still insisting on a relay through localhost. I guess it's the default for this version. Why won't it send directly to the destination address? I will now try your little config file. |
I tried your little config. No change...
the mail sits in the mailq and eventualy I get a :"connection timed out with..." But I can ping the receiving end. The DNS resolves. ??? |
yes, mine still says relay=localhost.mydomainname, but it sends the mail
|
OK. Then I will starrt a new post and ask if ANYBODY has installed vanilla RH8.0 and was able to send mail...
|
All times are GMT -5. The time now is 02:10 PM. |