Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-25-2001, 09:41 AM
|
#1
|
Member
Registered: Dec 2000
Location: Indiana
Distribution: Red Hat 7.3/Mandrake 8.2/9.0
Posts: 154
Rep:
|
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(?)
|
|
|
04-26-2001, 06:57 AM
|
#2
|
Member
Registered: Dec 2000
Location: Indiana
Distribution: Red Hat 7.3/Mandrake 8.2/9.0
Posts: 154
Original Poster
Rep:
|
bump
|
|
|
04-27-2001, 06:49 AM
|
#3
|
Member
Registered: Dec 2000
Location: Indiana
Distribution: Red Hat 7.3/Mandrake 8.2/9.0
Posts: 154
Original Poster
Rep:
|
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.
|
|
|
04-27-2001, 08:04 AM
|
#4
|
root 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,620
|
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?
|
|
|
04-27-2001, 08:14 AM
|
#5
|
Member
Registered: Dec 2000
Location: Indiana
Distribution: Red Hat 7.3/Mandrake 8.2/9.0
Posts: 154
Original Poster
Rep:
|
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?
|
|
|
05-08-2001, 01:48 AM
|
#6
|
LQ Newbie
Registered: May 2001
Posts: 2
Rep:
|
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]
|
|
|
05-17-2001, 08:35 PM
|
#7
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
05-17-2001, 10:29 PM
|
#8
|
Member
Registered: May 2001
Distribution: RedHat 9.1
Posts: 131
Rep:
|
You ppl should try Postfix... very nice smtp mail server 
And easy to set up..
http://www.postfix.org
|
|
|
05-18-2001, 06:40 AM
|
#9
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
05-19-2001, 05:25 AM
|
#10
|
LQ Newbie
Registered: May 2001
Posts: 8
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 05:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|