LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-25-2001, 09:41 AM   #1
ascii2k
Member
 
Registered: Dec 2000
Location: Indiana
Distribution: Red Hat 7.3/Mandrake 8.2/9.0
Posts: 154

Rep: Reputation: 30
Angry


OK, here is my problems and I hope someone has an idea because I have tried everything I can think of. I am in the process of switching from a Windows 2k server to a Linux serv. With Windows everything worked like it should(www,mail,ftp). I have the new Linux server setup. I have security in place with exceptions for the standard services. I have www working fine. The problem is with sendmail. I cannot get it to accept connections even though sendmail says it is "accepting connections". I am using IP chains and I have added a rule to accept all connections for smtp. Still when I try to send a simple message from a different Linux machine using send mail I get "Connecting to mail.doctor-raid.net. via esmtp..."
"Deffered: Connection refused by mail.doctor-raid.net"

Any suggestions would be appreciated!!!
Thanks.

P.S. I am using Redhat 7.1
Sendmail 8.11.3(?)
 
Old 04-26-2001, 06:57 AM   #2
ascii2k
Member
 
Registered: Dec 2000
Location: Indiana
Distribution: Red Hat 7.3/Mandrake 8.2/9.0
Posts: 154

Original Poster
Rep: Reputation: 30
bump
 
Old 04-27-2001, 06:49 AM   #3
ascii2k
Member
 
Registered: Dec 2000
Location: Indiana
Distribution: Red Hat 7.3/Mandrake 8.2/9.0
Posts: 154

Original Poster
Rep: Reputation: 30
Exclamation More mail problems

Hmm...ok..so no one has any ideas about my problems with sendmail. I will ask a different question. There has to be someone around that has a Linux machine acting as an Internet mail server. Can you tell me what you are using and how hard it was to setup? I'm not really a newbie I just haven't setup mail on Linux before. Yes, I have a decent internet connection(Cable Modem) and I have a registered domain. As I said in the first post, I have had everything working fine for over a year on a Win2K server and I already have Apache working on the Linux server. I just REALLY need to get mail working so all the messages I have coming to my domain dont keep bouncing. I have tried sendmail,qmail,and CommuniGate. But have not been able to receive mail with any of them. Any suggestions would be greatly appreciated.
 
Old 04-27-2001, 08:04 AM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,620

Rep: Reputation: 4158Reputation: 4158Reputation: 4158Reputation: 4158Reputation: 4158Reputation: 4158Reputation: 4158Reputation: 4158Reputation: 4158Reputation: 4158Reputation: 4158
Are you absolutely sure that your firewall is allowing port 25 connections? Go to another machine and type
Code:
telnet servername 25
What do you get?
 
Old 04-27-2001, 08:14 AM   #5
ascii2k
Member
 
Registered: Dec 2000
Location: Indiana
Distribution: Red Hat 7.3/Mandrake 8.2/9.0
Posts: 154

Original Poster
Rep: Reputation: 30
Exclamation sendmail

It seems to be accepting connections on port 25. I actually have a server called CommuniGate Pro running right now. Its not really what I wanted but I am desperate. When I telnet to the machine I get a message something like:

220 <hostname> ESMTP CommuniGate Pro 3.4.5


I know this is where you would enter SMTP commands but I don't know any.

Any other ideas?
 
Old 05-08-2001, 01:48 AM   #6
Nova
LQ Newbie
 
Registered: May 2001
Posts: 2

Rep: Reputation: 0
Talking FIX !!!

Check /etc/sendmail.cf for the following entry

O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA

And change to

O DaemonPortOptions=Port=smtp,Addr=0.0.0.0, Name=MTA

This will sort out your problem. The original config causes sendmail to only "listen" to port 25 on localhost loopback(127.0.0.1). Changing the config to 0.0.0.0 means that all interfaces will be used.

Cheers



[Edited by Nova on 05-08-2001 at 03:03 AM]
 
Old 05-17-2001, 08:35 PM   #7
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Question Question about previous fix

My sendmail relays fine without the above option. I've just got my domain setup in /etc/mail/relay-domains and have added an extra Cw line to sendmail.cf so it knows it is the mail server for that domain.

How have others done it?

Jamie...
 
Old 05-17-2001, 10:29 PM   #8
Q25
Member
 
Registered: May 2001
Distribution: RedHat 9.1
Posts: 131

Rep: Reputation: 16
Thumbs up

You ppl should try Postfix... very nice smtp mail server
And easy to set up..

http://www.postfix.org

 
Old 05-18-2001, 06:40 AM   #9
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Smile

From my experience with Sendmail if I were running it as anythings more than an experiement I would either spend a very long time reading up on it or use another relay agent. There seem to be some nice ones out there. While Sendmail appears to be the ultimate in flexibility this can lead to serious problems if you don't understand it all.

I've heard that qmail if supposed to be good too. Probably a mission for the future.

Jamie...
 
Old 05-19-2001, 05:25 AM   #10
hmkias
LQ Newbie
 
Registered: May 2001
Posts: 8

Rep: Reputation: 0
Hi All ,
I feel really comfortable with the sendmail on RH 7.0 in my intranet with the ipop3d & imaps installed.Pls note installation has some problems but its very realiable & stable.Ppl are able to download thir mails thru Outlook etc....


Kias
 
  


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 10:39 PM
Problems with sendmail... @ngelot Linux - Software 4 11-17-2004 03:06 AM
sendmail problems bdoster Linux - Networking 2 10-29-2004 01:24 PM
problems with sendmail baczer Slackware 0 07-23-2004 01:20 PM
problems with sendmail JLDixon Linux - Software 8 03-13-2004 01:57 PM

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

All times are GMT -5. The time now is 05:23 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
Open Source Consulting | Domain Registration