Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
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.
|
 |
01-10-2002, 01:13 PM
|
#1
|
LQ Newbie
Registered: Jan 2002
Posts: 11
Rep:
|
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.
|
|
|
01-10-2002, 02:40 PM
|
#2
|
Member
Registered: Dec 2001
Distribution: redhat
Posts: 154
Rep:
|
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
|
|
|
01-10-2002, 05:14 PM
|
#3
|
LQ Newbie
Registered: Jan 2002
Posts: 11
Original Poster
Rep:
|
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.

|
|
|
01-10-2002, 06:24 PM
|
#4
|
Member
Registered: Dec 2001
Distribution: redhat
Posts: 154
Rep:
|
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.
|
|
|
01-10-2002, 10:33 PM
|
#5
|
LQ Newbie
Registered: Jan 2002
Posts: 11
Original Poster
Rep:
|
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
|
|
|
01-11-2002, 03:13 PM
|
#6
|
LQ Newbie
Registered: Jan 2002
Posts: 11
Original Poster
Rep:
|
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

|
|
|
01-11-2002, 03:37 PM
|
#7
|
LQ Newbie
Registered: Jan 2002
Posts: 11
Original Poster
Rep:
|
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

|
|
|
01-11-2002, 03:38 PM
|
#8
|
Member
Registered: Dec 2001
Posts: 195
Rep:
|
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
|
|
|
01-11-2002, 03:40 PM
|
#9
|
Moderator
Registered: May 2001
Posts: 29,415
|
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.
|
|
|
All times are GMT -5. The time now is 06:54 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
|
|