Linux - SecurityThis 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.
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.
for some reason, my smtp port is just not turned on. i can't receive incoming mail as a result. i don't know how to turn it on either. can someone shed the light?
Can you telnet to your smtp port successfully from the localhost? You might also kill your sendmail process and restart it using the command "/usr/bin/sendmail -bd -q this will run it in daemon mode (smtpd) and have it periodically process the queue. Once it's restarted try sending mail to an account on the localhost. If this fails you might try restarting network services and sendmail by running /etc/rc.d/init.d/network(or sendmail) restart. And again try sending mail to an account on the localhost.
I don't know of any more suggestions, but if you go to www.tek-tips.com there is a linux(server) and linux(client) forum which has a lot of extremely technically experienced people willing to help. Check them out and give www.linuxquestions.com a commecial there also.
scratch that. i have a tcp wrappers file that informs me when intruders break into the system, and well, it informed me that tcpd was a break-in attempt. so i'm not exactly sure how it just randomly turned on like that.
Ok forget everything you've been told.
It's a network issue not a security problem.
Your /etc/sendmail.cf file is setup so it only starts the service for localhost.
so do this to get it on your correct ip address interface.
first type:
# netstat -natp
will show you it's only on localhost accept
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 781/sendmail: accep
Then type this to stop the service:
#/etc/rc.d/init.d/sendmail stop
should say stopped.
now edit the sendmail.cf file in /etc
#vi /etc/sendmail.cf
change the line that says
# SMTP daemon options
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
to
# SMTP daemon options
O DaemonPortOptions=Port=smtp,Addr=your_external_ip_address, Name=MTA
# make the bit that says your_external_ip_address your linux servers external ip address.
Save and exit
now type
#/etc/rc.d/init.d/sendmail start
should say started!
now type:
# netstat -natp
should now be working on correct interface
Red Hat changed the way that sendmail is run on version 7.1. They decided that most people need a client-only version of sendmail. So it is listening only on the localhost interface.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.