LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-10-2002, 01:13 PM   #1
nnadeau
LQ Newbie
 
Registered: Jan 2002
Posts: 11

Rep: Reputation: 0
Anyone know how to enable port 25


Mail server is not accpeting connections. I keep getting "port 25 disabled for security reasons" when I try to connect to the mail server.
 
Old 01-10-2002, 02:40 PM   #2
theFuzzyOne
Member
 
Registered: Dec 2001
Distribution: redhat
Posts: 154

Rep: Reputation: 30
port 25

thats SMTP or POP port... you'll have to check your firewall settings/rules, and enable the port that way. what distro and version are u using? most new distro's have a firewall config tool
 
Old 01-10-2002, 05:14 PM   #3
nnadeau
LQ Newbie
 
Registered: Jan 2002
Posts: 11

Original Poster
Rep: Reputation: 0
I'm using RedHat7.2. I removed all DENY statements from /etc/sysconfig/ipchains. Rebooted. Still getting message that services for port 25 are disabled for security reasons.

 
Old 01-10-2002, 06:24 PM   #4
theFuzzyOne
Member
 
Registered: Dec 2001
Distribution: redhat
Posts: 154

Rep: Reputation: 30
firewall

at the console, type 'setup'. select 'firewall configuration' then select 'no firewalling' then click ok. try it then. if that doesn't work, add an ipchains or iptables rule to allow port 25 (or everything). port 25 is SMTP, so check your OUTPUT rules.
 
Old 01-10-2002, 10:33 PM   #5
nnadeau
LQ Newbie
 
Registered: Jan 2002
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for you help theFuzzyOne,

The solution to my problem was not the firewall. The issue was that I didn't have a email reader daemon running, like imap or pop. Not having an email reader daemon running will make your Netscape Messenger think that port 25 has been disabled for security reasons.

Talk to you later
 
Old 01-11-2002, 03:13 PM   #6
nnadeau
LQ Newbie
 
Registered: Jan 2002
Posts: 11

Original Poster
Rep: Reputation: 0
New Problem

The email server is not accepting connections from outside the network. The firewall is off. When I do a netstat -an, I see that the server is only listening to 127.0.0.1 for port 25. How do I get it to listen to my external IP for port 25. All my other services work fine (ex. ftp,http,ssh). Do you think its something in the sendmail.cf?

Any suggestions?
Thanks
 
Old 01-11-2002, 03:37 PM   #7
nnadeau
LQ Newbie
 
Registered: Jan 2002
Posts: 11

Original Poster
Rep: Reputation: 0
I Got It

I had to had two Cw lines in my sendmail.cf file and allow relaying from my domain in the access file.

Thanks Anyways
 
Old 01-11-2002, 03:38 PM   #8
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Rep: Reputation: 30
Change this line in /etc/mail/sendmail.mc
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

Change the ipaddress to the ip address of you ethernet card. Then recompile. Look at the top of sendmail.mc. The command is m4.........which regenerates sendmail.cf. Then restart and you have mail coming in from the outside.

Hope this helps

PS- If you have manually made changes to sendmail.cf, recompliling using the m4 will lose your changes. Itll only keep the changes that you have made in sendmail.mc
 
Old 01-11-2002, 03:40 PM   #9
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
Btw you have been cross-posting this question here and at the networking forum, where the original question should have staid, since this is *not* a security question.

Please do not cross-post again.
 
  


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
how to enable port forwarding linetnew Linux - Networking 1 05-26-2005 05:20 AM
How to enable a new port hardcorelinux Linux - Security 4 02-03-2005 07:10 AM
Cannot enable USB port RedAhead Linux - Hardware 1 10-06-2004 07:37 PM
enable port inq Robin01 Linux - Newbie 4 01-01-2004 02:57 PM
How to enable a port on Mandrake?? datapulse Linux - Newbie 4 08-31-2003 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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