LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-06-2004, 02:06 PM   #1
JLDixon
LQ Newbie
 
Registered: Sep 2003
Distribution: RedHat 8,9,EL4,Fedora,AIX5,Slackware10
Posts: 10

Rep: Reputation: 0
problems with sendmail


I'm having a problem getting sendmail configured correctly. All I want to use it for is to rely mail from some cgi scripts and forms on a website to an external server. It does not work however and I can't even send a message using the mail command. I also can't telnet to the SMTP server using telnet localhost 25. If anyone can help it would be appreciated. The sendmail.mc file is below:

I got this figured out...
Thanks for the help though...

Last edited by JLDixon; 03-06-2004 at 03:10 PM.
 
Old 03-06-2004, 11:17 PM   #2
jczr2
LQ Newbie
 
Registered: May 2003
Posts: 20

Rep: Reputation: 0
I'm having the same problem, what was the problem?
nevermind, fixed here too. My mail is now sending and recieving acording to outlook express, but I never se the mail anywhere.

Last edited by jczr2; 03-06-2004 at 11:37 PM.
 
Old 03-07-2004, 10:18 AM   #3
jczr2
LQ Newbie
 
Registered: May 2003
Posts: 20

Rep: Reputation: 0
I'm back to the same problem again. I am using red hat 8.0 with sendmail and webmin. My connections to port 25 are being refused. How can I get the port to stay open?

Update: I was missing this line in sendmail.mc
DAEMON_OPTIONS (`Port=smtp,Addr=192.168.1.6, Name=MTA')

Last edited by jczr2; 03-07-2004 at 10:56 AM.
 
Old 03-07-2004, 07:08 PM   #4
DaddyBad
Member
 
Registered: Jan 2004
Location: New Haven
Distribution: rh9, fc2
Posts: 35

Rep: Reputation: 15
Sendmail problems

I think I'm having a similar problem.
Made that change to /etc/mail/sendmail.mc, using my
own local ip address, did the make -C /etc/mail.

I can now do
telnet localhost 25 and I get a response
220 scott.fearandlearning.us ESMTP Sendmail 8.12.8/8.12.8; Sun, 7 Mar 2004 18:48:44 -0500

However... when I telnet from my laptop, which is within my local network,
I get 'connection refused'. I'm using redhat 9 (shrike).

I'm wondering if this is the same problem or a diferent one.

I'm lost. help!

Scott
 
Old 03-07-2004, 07:59 PM   #5
jczr2
LQ Newbie
 
Registered: May 2003
Posts: 20

Rep: Reputation: 0
it sounds like my problem, in the .mc file it is probably set to only accept localhost, add the line that I added and restart sendmail and see if it helps.
 
Old 03-07-2004, 09:04 PM   #6
DaddyBad
Member
 
Registered: Jan 2004
Location: New Haven
Distribution: rh9, fc2
Posts: 35

Rep: Reputation: 15
Ok. I thought I restarted sendmail, but I hadn't. Now I have and
I guess it works ok...

Now I have another problem.... (of course,. that's how it
works. Fix one and then on to the next one...)

I want to send a test message to my e-mail address with
my DSL provider; myname@sbcglobal.net. My sendmail bounces
it because it can't find the host sbcglobal.net.:

'Relaying denied . IP name lookup failed.'

I check via nslookup, and sho'nuff sbcglobal.net is not found,
although smtp.sbcglobal.net is. So... How does this work?

I get lots of e-mail at my sbcglobal.net address.

How does everyone send me e-mail at sbcglobal.net?
Do I need to add an MX record for sbcglobal.net?
That just doesn't seem quite right to me.
 
Old 03-07-2004, 09:41 PM   #7
DaddyBad
Member
 
Registered: Jan 2004
Location: New Haven
Distribution: rh9, fc2
Posts: 35

Rep: Reputation: 15
Apologies for talking to myself out load and in
public here. I hope that this is useful to somebody....

Ok. I may have made some incorrect assumptions in my last post. The error message had the address of te e-mail source (my laptop) appended in square brackets. Perhaps it didn't like that. Here's the entire packet form tcpdump....

21:34:05.240660 scott.workingartistdecorating.com.smtp > 192.168.1.105.1686: P 343:443(100) ack 113 win 5840 (DF)
0x0000 4500 008c e14c 4000 4006 d49c c0a8 01c9 E....L@.@.......
0x0010 c0a8 0169 0019 0696 3cf5 2f4e dada d01b ...i....<./N....
0x0020 5018 16d0 76ab 0000 3535 3020 352e 372e P...v...550.5.7.
0x0030 3120 3c73 636f 7474 4062 6561 6b65 722e 1.<scott@beaker.
0x0040 6c61 626d 6564 2e79 6e68 682e 6f72 673e labmed.ynhh.org>
0x0050 2e2e 2e20 5265 6c61 7969 6e67 2064 656e ....Relaying.den
0x0060 6965 642e 2049 5020 6e61 6d65 206c 6f6f ied..IP.name.loo
0x0070 6b75 7020 6661 696c 6564 205b 3139 322e kup.failed.[192.
0x0080 3136 382e 312e 3130 355d 0d0a 168.1.105]..

My laptop gets a DHCP assigned address from my linksys DSL router/gateway.,
so the address is nowhere to be found in my named.conf files. Perhaps
sendmail doesn't like that. Could that be the problem? How can I tell?

Sendmail didn't say anything about any of this in /var/log/messages.
 
Old 03-09-2004, 12:40 PM   #8
DaddyBad
Member
 
Registered: Jan 2004
Location: New Haven
Distribution: rh9, fc2
Posts: 35

Rep: Reputation: 15
The plot thickens. Someone suggested I see if mailing between users worked.
... and it doesn't. Isn't this supposed to work 'out of the box'. What am I doing wrong?
 
Old 03-13-2004, 02:57 PM   #9
DaddyBad
Member
 
Registered: Jan 2004
Location: New Haven
Distribution: rh9, fc2
Posts: 35

Rep: Reputation: 15
Got that part figured out.
See
http://www.linuxquestions.org/questi...804#post813804
 
  


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 problems stouffej Red Hat 4 02-04-2005 11:39 PM
Problems with sendmail... @ngelot Linux - Software 4 11-17-2004 04:06 AM
sendmail problems bdoster Linux - Networking 2 10-29-2004 02:24 PM
problems with sendmail baczer Slackware 0 07-23-2004 02:20 PM
Sendmail Problems wolfwitch Linux - General 2 11-11-2003 10:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:46 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration